How to install Mysql MCP server in Claude Code
To install Mysql MCP server in Claude Code, run "claude mcp add mysql-mcp-server -- npx -y mcp-mysql-server" in your terminal, then check it with "claude mcp list". It takes about a minute.
Built from the published package · server updated 19 days ago
- 1
Run the install command
Open a terminal in your project and run:
claude mcp add mysql-mcp-server -- npx -y mcp-mysql-server - 2
Choose where it applies (optional)
Add --scope user to use it in every project, or --scope project to share it with your team through a .mcp.json file.
claude mcp add --scope user mysql-mcp-server -- npx -y mcp-mysql-server - 3
Check that it is connected
List your servers, or type /mcp inside a Claude Code session to see its status and tools.
claude mcp list
MCP servers run with your permissions. If Mysql MCP server needs an API key, add it under env in the config. Check its README.
Install Mysql MCP server in another app
Similar servers
Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
Questions
Does Mysql MCP server work in Claude Code?
Yes. Claude Code supports mcp servers (local and remote), skills and plugins, and Mysql MCP server installs with the steps above.
Mysql MCP server does not show up in Claude Code. What now?
Restart Claude Code fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is Mysql MCP server safe?
It scores 70 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
