About Mysqlmcp
Mysqlmcp is an MCP server published by webus in the Data category: mySQL Model Context Protocol server for Cursor IDE.
Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/webus/mysqlmcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Mysqlmcp
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
mysqlmcp
A minimal Model Context Protocol (MCP) server for read-only MySQL queries.
Setup
- Copy the config template and edit it:
cp config.example.toml config.toml
- Ensure
mysql.dsnuses a read-only MySQL account.
Run
go run . -config config.toml
Tool
mysql_query- Input:
{ "query": "SELECT ..." } - Output:
{ "columns": [...], "rows": [...], "rowCount": 3, "truncated": false }
- Input:
Notes
- Only
SELECT,SHOW,DESCRIBE, andEXPLAINstatements are allowed by default. - The server enforces a read-only transaction and rejects queries containing semicolons.
- Use
deny_substringsin TOML to block edge-case write/lock clauses. - Configure row limits and timeouts via TOML.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.