#83 · of 445 · by weekly downloadsMCP server
MySQL MCP Server
Query MySQL from an MCP client with schema-aware tooling.
Rank
#83
of 445 · by weekly downloads
Weekly downloads
6.6K
npm + PyPI, last 7 days
Add it to your client
CommunityInstall
uvx mysql_mcp_server
mcpServers
{
"mcpServers": {
"mysql-mcp": {
"command": "uvx",
"args": [
"mysql_mcp_server"
]
}
}
}- Transport
- both
- Runtime
- Python
- Auth
- Required
- Tools
- 3
- License
- MIT
Tools
execute_sqlget_schema_infoget_table_sample
Reads its credentials from environment variables and lets the model run single SQL statements, pull table metadata and fetch small data samples. Tables are also published as MCP resources, so a client can browse them before writing any query. Leaving MYSQL_DATABASE unset switches the server into multi-database mode, and SSH tunnelling is available for hosts that are not directly reachable.
Similar MCP servers
MSSQL MCP Server
MCP serverMicrosoft's sample server for SQL Server and Azure SQL — schema browsing plus SQL execution.
Databases
ClickHouse MCP Server
MCP serverRun read-only SQL against ClickHouse and browse its databases and tables.
Data & AnalyticsDatabases
SQLite MCP Server
MCP serverThe reference SQLite server: split read/write tools plus a running insight memo.
Data & AnalyticsDatabases

Comments(0)
Sign in to comment