Does MySQL have an MCP server?
MySQL maintains an official MCP server.
Oracle's MySQL MCP server lives in the oracle/mcp monorepo and its README labels it a proof of concept — the community server benborla/mcp-server-mysql (~2k stars) is the production workhorse.
- Access
- Local server
- Repository
- oracle/mcp
- Maintainer
- Oracle
- License
- UPL-1.0
- Language
- Python
- Stars
- 422
- Last commit
- 6d ago
- Category
- Databases
Repository containing MCP (Model Context Protocol) servers that provides a suite of tools for managing and interacting with Oracle products.
Repository containing MCP (Model Context Protocol) servers that provides a suite of tools for managing and interacting with Oracle products.
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
Runs on your machine over stdio, launched by your MCP client.
Add it from the terminal, then restart your session:
claude mcp add mysql -- npx -y <package-from-readme>Swap in the exact package and flags from the repo README — most servers need an API key passed as an environment variable.
Add --scope user to make it available in every project.
Open Settings → Developer → Edit Config and add the server to claude_desktop_config.json:
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}Restart Claude Desktop after saving.
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}A green dot in Settings → MCP means it connected.
Add to .vscode/mcp.json:
{
"servers": {
"mysql": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
]
}
}
}Then pick the server from the tools menu in Copilot's agent mode.
Does MySQL have an official MCP server?
Yes. MySQL maintains an official MCP server. The source lives at oracle/mcp on GitHub.
How do I connect MySQL to Claude?
Run the server locally and register it in Claude's MCP config. In Claude Code that's a single "claude mcp add" command; in Claude Desktop you add it to claude_desktop_config.json.
How is this verdict verified?
Oracle ships an official MySQL MCP server in oracle/mcp (announced with MySQL AI on blogs.oracle.com). Seed said COMMUNITY-ONLY. GitHub metadata is refreshed every six hours.
Oracle ships an official MySQL MCP server in oracle/mcp (announced with MySQL AI on blogs.oracle.com). Seed said COMMUNITY-ONLY.
- github data refreshed 2026-08-11, then every 6 hours
- vendor docs verified on 2026-08-10
Spotted something out of date? Tell us — corrections ship same-day.