What dependencies are required?
Python 3.12.2+, uv (recommended), and a MySQL server.
@alexcc4
基本信息
A lightweight MCP server for MySQL, built with python
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-mysql-server-alexcc4": {
"command": "uv",
"args": [
"sync"
]
}
}
}Execute read-only SQL queries and return results
A lightweight Model Context Protocol (MCP) server that enables secure interaction with MySQL databases, allowing AI assistants like Claude to list tables, read data, and execute read-only SQL queries through a controlled interface.
Clone the repository and run uv sync to install dependencies. Set the five environment variables (DB_HOST, DB_PORT, DB_USER, DB_PASSWORD, DB_NAME). Start manually with uv run main.py or integrate with Claude Desktop by adding the server configuration to claude_desktop_config.json. Then ask natural language queries like “Show me all tables” or “Top 10 rows from users table”.
Python 3.12.2+, uv (recommended), and a MySQL server.
Use a database user with minimal
A 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.
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
A Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
MCP server for interacting with Neon Management API and databases
A 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.
评论