MySQL MCP
by jlcodes99
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_HOST | Yes | 数据库主机地址 | |
| MYSQL_PORT | Yes | 数据库端口号 | |
| MYSQL_DATABASE | Yes | 数据库名称 | |
| MYSQL_PASSWORD | Yes | 数据库密码 | |
| MYSQL_USERNAME | Yes | 数据库用户名 | |
| MYSQL_MAX_RETRIES | No | 最大重试次数 | 3 |
| MYSQL_QUERY_TIMEOUT | No | 查询超时时间(秒) | 60 |
| MYSQL_SECURITY_MODE | No | 安全模式: readonly/limited_write/full_access | readonly |
| MYSQL_ALLOWED_SCHEMAS | No | 允许访问的数据库: * 或 逗号分隔的数据库名 | * |
| MYSQL_CONNECT_TIMEOUT | No | 连接超时时间(秒) | 30 |
| MYSQL_MAX_RESULT_ROWS | No | 最大结果行数限制 | 1000 |
| MYSQL_ENABLE_QUERY_LOG | No | 是否启用查询日志 | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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 | |