MySQL MCP Server
@sajithamma
About MySQL MCP Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mysql-mcp-server-sajithamma": {
"command": "python",
"args": [
"sqlite_fixture.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MySQL MCP Server?
MySQL MCP Server is a database management tool built with FastMCP that provides an interactive interface for managing SQLite databases. It includes both a server component and a client interface, enabling users to list tables, inspect schema, and execute SQL queries through natural language commands.
How to use MySQL MCP Server?
Set up a Python 3.8+ environment, clone the repository, install dependencies, and run the fixture to create the database. Start the server with fastmcp run mcpserver.py:mcp --transport sse --host 127.0.0.1 --port 8000, then run the client with python mcpclient.py. Use natural language commands like "Show me all tables in the database" or "Describe the structure of the users table".
Key features of MySQL MCP Server
- List all tables in the SQLite database.
- Get detailed schema information for any table.
- Execute SQL queries with formatted results.
- Interactive client interface for database operations.
Use cases of MySQL MCP Server
- Quick exploration of database schema and tables.
- Running ad-hoc SQL queries without a separate client.
- Managing database content through conversational prompts.
FAQ from MySQL MCP Server
What are the prerequisites?
Python 3.8 or higher and pip (Python package installer) are required.
How do I install dependencies?
Run pip install -r requirements.txt inside a virtual environment.
Where is the database stored?
The database is created by running python sqlite_fixture.py; it is a local SQLite file (not specified further in the README).
What transport does the server use?
The server uses SSE (Server-Sent Events) on HTTP, started with --transport sse and default port 8000.
Is authentication required?
The README does not mention any authentication mechanism.
More Databases MCP servers
ClickHouse MCP Server
ClickHouseConnect ClickHouse to your AI assistants.
Multi Database MCP Server
FreePeakA powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
Chroma MCP Server
chroma-coreA Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
Postgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
Comments