mysql-server MCP Server
@MCP-Mirror
About mysql-server MCP Server
Mirror of
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
1Execute SQL queries
Overview
What is mysql-server MCP Server?
An MCP server that provides tools for querying MySQL databases. It connects to MySQL databases via environment variables and executes SQL queries. Designed for use with MCP clients like Claude Desktop.
How to use mysql-server MCP Server?
Set MySQL connection details as environment variables (MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE) and configure the server in your MCP client's configuration file. The server exposes a single tool called query that takes a SQL string parameter and returns query results.
Key features of mysql-server MCP Server
- Executes SQL queries against MySQL databases
- Single
querytool with required SQL string parameter - Configured via environment variables
- Supports debugging with MCP Inspector
- Written in TypeScript
Use cases of mysql-server MCP Server
- Query a MySQL database through an MCP client like Claude Desktop
- Run ad-hoc SELECT or write queries on demand
- Explore database schema and content interactively
FAQ from mysql-server MCP Server
What environment variables does the server require?
MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE must be set.
How do I configure the server for Claude Desktop?
Add a mysql entry to the mcpServers object in the Claude Desktop config file, specifying the server path and all environment variables.
How can I debug the server?
Use the MCP Inspector by running npm run inspector, which provides a URL with debugging tools.
What transport does the server use?
The README indicates the server communicates over stdio.
Does the server support any authentication method?
It uses password-based MySQL authentication via the MYSQL_PASSWORD environment variable.
Frequently asked questions
What environment variables does the server require?
MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE must be set.
How do I configure the server for Claude Desktop?
Add a `mysql` entry to the `mcpServers` object in the Claude Desktop config file, specifying the server path and all environment variables.
How can I debug the server?
Use the MCP Inspector by running `npm run inspector`, which provides a URL with debugging tools.
What transport does the server use?
The README indicates the server communicates over stdio.
Does the server support any authentication method?
It uses password-based MySQL authentication via the MYSQL_PASSWORD environment variable.
Basic information
More Databases MCP servers
mcp-server-qdrant: A Qdrant MCP server
qdrantAn official Qdrant Model Context Protocol (MCP) server implementation
Neon MCP Server
neondatabaseMCP server for interacting with Neon Management API and databases
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
Database Gateway
centralmindUniversal MCP-Server for your Databases optimized for LLMs and AI-Agents.
Neon MCP Server
neondatabase-labsMCP server for interacting with Neon Management API and databases
Comments