MySQL MCP Server
by lm203688
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_MCP_HOST | No | MySQL主机地址 | localhost |
| MYSQL_MCP_PORT | No | MySQL端口 | 3306 |
| MYSQL_MCP_USER | No | MySQL用户名 | root |
| MYSQL_MCP_DATABASE | No | 默认数据库 | |
| MYSQL_MCP_MAX_ROWS | No | 查询结果最大行数 | 100 |
| MYSQL_MCP_PASSWORD | No | MySQL密码 | |
| MYSQL_MCP_READ_ONLY | No | 只读模式 | true |
| MYSQL_MCP_QUERY_TIMEOUT | No | 查询超时(秒) | 30 |
| MYSQL_MCP_BLOCKED_TABLES | No | 禁止访问的表列表 | |
| MYSQL_MCP_ALLOWED_DATABASES | No | 允许访问的数据库列表 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lm203688/mysql-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server