AcademyMCP serversData and reporting

go-mcp-mysql: MySQL access with read-only mode

Data and development teams that want an assistant to query or edit MySQL tables within clear limits.

  • Recommendedour rating
  • 66gitHub stars
  • MITlicence
  • 10 months agolast update
claude mcp add mysql -- go-mcp-mysql --host localhost --user root --pass password --port 3306 --db mydb
README.md

Loading the file...

Custom AI agents

Want this running in your company?

We build AI agents like this around your own processes, connect them to your tools and data, and keep them running. The same team builds and runs them.

  • Free 20-minute call to look at your use case
  • Connected to your systems, with the right permissions
  • Built and run by the same team, in English or Spanish

What it does

An MCP server for MySQL, shipped as a single program with no Node.js or Python needed. It provides CRUD tools for databases and tables, and a read-only mode that prevents unexpected write operations. An optional flag makes the server run EXPLAIN on a query before executing it. The project describes itself as a work in progress and not yet ready for production.

Use cases

  1. 01Query MySQL tables in read-only mode
  2. 02Check a query plan before running a larger query
  3. 03Inspect the schema of a development database

Questions about
go-mcp-mysql: MySQL access with read-only mode.

What is go-mcp-mysql: MySQL access with read-only mode used for?

Data and development teams that want an assistant to query or edit MySQL tables within clear limits. An MCP server for MySQL, shipped as a single program with no Node.js or Python needed. It provides CRUD tools for databases and tables, and a read-only mode that prevents unexpected write operations. An optional flag makes the server run EXPLAIN on a query before executing it. The project describes itself as a work in progress and not yet ready for production.

How do I install go-mcp-mysql: MySQL access with read-only mode?

Run this in your terminal: claude mcp add mysql -- go-mcp-mysql --host localhost --user root --pass password --port 3306 --db mydb

Is go-mcp-mysql: MySQL access with read-only mode open source?

Yes. The code is on GitHub (Zhwt/go-mcp-mysql) under the MIT licence.

Is go-mcp-mysql: MySQL access with read-only mode safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.