mysql-server MCP Server
@MCP-Mirror
About mysql-server MCP Server
Mirror of
Basic information
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.
More Databases MCP servers
Snowflake MCP Server
isaacwassermanMCP MongoDB Server
kiliczshA Model Context Protocol Server for MongoDB
Multi Database MCP Server
FreePeakA powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
MCP Alchemy
runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
MotherDuck's DuckDB MCP Server
motherduckdbLocal MCP server for DuckDB and MotherDuck
Comments