About
一个连接MySQL数据库的MCP服务器,支持列出表、描述表结构和执行SQL语句。
README
一个 MCP (Model Context Protocol) 服务器,用于连接 MySQL 数据库并执行常用操作。
功能
list_tables- 查询数据库中的所有表describe_table- 查询指定表的结构execute_sql- 执行 SQL 语句
使用方法
1. 安装 uv
# Windows (PowerShell)
irm https://astral.sh/uv/install.ps1 | iex
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
2. 配置 MCP
在 AI 工具的 MCP 配置文件中添加:
{
"mcpServers": {
"keevor-mysql-mcp-server": {
"command": "uvx",
"args": ["keevor-mysql-mcp-server"],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "3306",
"DB_USER": "root",
"DB_PASSWORD": "your_password",
"DB_NAME": "your_database"
}
}
}
}
3. 开始使用
配置完成后,AI 助手即可使用以下工具:
- 查询所有表:调用
list_tables - 查询表结构:调用
describe_table,传入表名 - 执行 SQL:调用
execute_sql,传入 SQL 语句
环境变量
| 变量 | 说明 | 默认值 |
|---|---|---|
| DB_HOST | 数据库主机地址 | localhost |
| DB_PORT | 数据库端口 | 3306 |
| DB_USER | 数据库用户名 | root |
| DB_PASSWORD | 数据库密码 | - |
| DB_NAME | 数据库名称 | - |
License
MIT
Install Keevor Mysql Server in Claude Desktop, Claude Code & Cursor
unyly install keevor-mysql-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add keevor-mysql-mcp-server -- uvx keevor-mysql-mcp-serverFAQ
Is Keevor Mysql Server MCP free?
Yes, Keevor Mysql Server MCP is free — one-click install via Unyly at no cost.
Does Keevor Mysql Server need an API key?
No, Keevor Mysql Server runs without API keys or environment variables.
Is Keevor Mysql Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Keevor Mysql Server in Claude Desktop, Claude Code or Cursor?
Open Keevor Mysql Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolCompare Keevor Mysql Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
