MCP Mysql Connector
Connects AI agents to MySQL for SQL execution, schema management, transactions, user privileges, and server status.
Install MCP Mysql Connector
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"mcp-mysql-connector": {
"command": "uvx",
"args": [
"mcp-mysql-connector"
],
"env": {
"MYSQL_HOST": "YOUR_VALUE_HERE",
"MYSQL_PORT": "YOUR_VALUE_HERE",
"MYSQL_USER": "YOUR_VALUE_HERE",
"MYSQL_PASSWORD": "YOUR_VALUE_HERE",
"MYSQL_DATABASE": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
uvx mcp-mysql-connectorProcess exited before answering initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Run SQL queries against a connected MySQL database
- Inspect database, table, column, and index metadata
- Create or modify MySQL databases and tables
- Manage MySQL users and privileges
- Control transactions with commits and rollbacks
Key features
- Raw SQL execution with returned results
- Database and table lifecycle management
- Schema, column, and index inspection
- MySQL user and privilege administration
- Explicit commit and rollback controls
- Dynamic database and table metadata resources
Tools25
What MCP Mysql Connector lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 3d ago via OSV.dev · mcp-mysql-connector (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How MCP Mysql Connector works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about MCP Mysql Connector
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-mysql-connector)<a href="https://allmcps.com/mcp/mcp-mysql-connector"><img src="https://allmcps.com/api/badge/mcp-mysql-connector?style=directory" alt="MCP Mysql Connector on AllMCPs" /></a>