A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Is it safe?
No known CVEs for @smithery/cli.
No authentication — any process on your machine can connect to this server.
MIT. View license →
Last scanned 0 days ago.
Is it maintained?
Last commit 301 days ago. 1,199 GitHub stars. 19,929 weekly downloads.
Will it work with my client?
Transport: stdio, sse. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
How much context will it use?
2 tools. Estimated ~100 tokens of your context window (0.0% of 200K).
What if it doesn't work?
Common issues: JSON syntax errors in config, wrong Node.js version, npx cache, network or firewall blocking. Setup guide covers troubleshooting. Or check GitHub issues for known problems.
{
"mcpServers": {
"mysql": {
"env": {
"MYSQL_HOST": "localhost",
"MYSQL_PORT": "3306",
"MYSQL_USER": "your_username",
"MYSQL_DATABASE": "your_database",
"MYSQL_PASSWORD": "your_password"
},
"args": [
"--directory",
"path/to/mysql_mcp_server",
"run",
"mysql_mcp_server"
],
"command": "uv"
}
}
}Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y @smithery/cli 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
read_tableRead table contents from the MySQL database
execute_queryExecute SQL queries with proper error handling
mysql_tablesList available MySQL tables as resources
mysql://tables
Last scanned just now
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.