MySQL
● Activeio.github.marcelo-ochoa/mysql
An MCP server for MySQL databases.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@marcelo-ochoa/server-mysql@1.0.7"
],
"env": {
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>"
}
}
}
}claude mcp add --env MYSQL_PASSWORD='<your MYSQL_PASSWORD>' --transport stdio mysql -- npx -y @marcelo-ochoa/server-mysql@1.0.7codex mcp add mysql --env MYSQL_PASSWORD='<your MYSQL_PASSWORD>' -- npx -y @marcelo-ochoa/server-mysql@1.0.7code --add-mcp '{"name":"mysql","type":"stdio","command":"npx","args":["-y","@marcelo-ochoa/server-mysql@1.0.7"],"env":{"MYSQL_PASSWORD":"<your MYSQL_PASSWORD>"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
- MYSQL_PASSWORDsecretMySQL password
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Databases
- Version
- 1.0.7
- Registry
- active
- Published
- 3/11/2026
On GitHub
read Nov 17, 2026- Stars
- 2
- Forks
- 0
- Last push
- Aug 21, 2026
- License
- Other
TypeScript
From the README
Model Context Protocol servers This repository is a collection of reference implementations for the Model Context Protocol (MCP), as well as references to community-built servers and additional resources. [!IMPORTANT] If you are looking for a list of MCP servers, you can browse published servers on the MCP Registry. The repository served by this README is dedicated to housing just the small number of reference servers maintained by the MCP steering group. [!WARNING] The servers in this repository are intended as reference implementations to demonstrate MCP features and SDK usage. They are meant to serve as educational examples for developers building their own MCP servers, not as production-ready solutions. Developers should evaluate their own security requirements and implement appropriate safeguards based on their specific threat model and use case. The servers in this repository showcase the versatility and extensibility of MCP, demonstrating how it can be used to give Large Language Models (LLMs) secure, controlled access to tools and data sources. Typically, each MCP server is implemented with an MCP SDK: • C# MCP SDK • Go MCP SDK • Java MCP SDK • Kotlin MCP SDK • PHP MCP SDK • Python MCP SDK • Ruby MCP SDK • Rust MCP SDK • Swift MCP SDK • TypeScript MCP SDK 🌟 Reference Servers These servers aim to demonstrate MCP features and the official SDKs. • Everything - Reference / test server with prompts, resources, and tools.…
Read the full README on GitHub →Alternatives to MySQL
Best Databases servers →The most-starred Databases servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Dbx | 30,677 | Nov 2026 | Local / not checked |
| MCP Toolbox for Databases | 16,897 | Nov 2026 | Local / not checked |
| MCP Toolbox for Databases | 16,897 | Nov 2026 | Local / not checked |
| Finance Database | 9,627 | Nov 2026 | Working |
| DBHub | 3,868 | Nov 2026 | Local / not checked |
MySQL: questions people ask
- Is MySQL a remote or a local MCP server?
- According to its entry in the official MCP registry, MySQL ships as a local package (npm) that your client starts on your machine.
- Does MySQL need an API key?
- Its registry entry declares one required environment variable: MYSQL_PASSWORD. The config on this page shows where each goes.
- Is MySQL still maintained?
- Active: the repository's last commit 3 months ago. Last push Aug 21, 2026, 2 GitHub stars, Other licence. Read from GitHub on Nov 17, 2026.
- How do I add MySQL to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Databases servers
Browse all Databases →Postgres
marcelo-ochoa
MCP server for interacting with PostgreSQL databases
NeKo Biological Network Builder
marcorusc
MCP server for biological network construction and analysis using pathway databases
JavaBytes
markymakes-dev
80 Java-focused tools for files, MySQL, JavaFX, Spring Boot and JS-to-Java migration, over stdio.
Extracto MCP
massanaRoger
Turn any URL plus a schema into validated, typed JSON via the Extracto API.
Mushroomdb
MatthewSherlin
Embedded graph database for agents: declare association rules once, edges maintain themselves.
mayankmahavar1mg MCP
tata1mg
Developer-workflow MCP server for catalyst-core: migration guidance, debugging, and task planning.
Add the badge to your site
Show visitors that MySQL is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-marcelo-ochoa-mysql?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="MySQL — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-marcelo-ochoa-mysql?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.