MySQL MCP Server
@sajithamma
关于 MySQL MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mysql-mcp-server-sajithamma": {
"command": "python",
"args": [
"sqlite_fixture.py"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
数据库 分类下的更多 MCP 服务器
MCP Server for MySQL based on NodeJS
benborlaA Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
MotherDuck's DuckDB MCP Server
motherduckdbLocal MCP server for DuckDB and MotherDuck
MCP MongoDB Server
kiliczshA Model Context Protocol Server for MongoDB
mcp-server-qdrant: A Qdrant MCP server
qdrantAn official Qdrant Model Context Protocol (MCP) server implementation
MCP Server for Milvus
zilliztechModel Context Protocol Servers for Milvus
评论