Databases
Trust: 44/100 (Fair)MySQL MCP Guide
Connect AI agents to MySQL databases. Execute queries, manage schemas, and perform data operations.
412 stars 15,800 downloadsby MCP Community
Quick Start
Install
npx @mcp/mysqlClaude Desktop Configuration
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"mysql-mcp": {
"command": "npx",
"args": [
"@mcp/mysql"
]
}
}
}What MySQL MCP Can Do
execute_query
Run SQL queries
inspect_schema
View database schema
Permissions Required
MySQL MCP requires the following permissions. Review the risk levels before granting access.
| Permission | Description | Risk |
|---|---|---|
database.read | Read database data | low |
database.write | Write database data | high |
Platform Compatibility
| Platform | Status |
|---|---|
| Claude Desktop | Supported |
| Cursor | Supported |
| LangChain | Supported |