Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_SERVER_NAME | No | Server metadata - name of the MCP server | mysql-mcp-server |
| MYSQL_DATABASES | Yes | JSON array of database configurations containing name, host, user, password, and database | |
| MCP_SERVER_VERSION | No | Server metadata - version of the MCP server | 1.0.0 |
| MYSQL_ALLOWED_COMMANDS | No | Security level - options: default (not set), extended, all, or custom comma-separated list | default |
| MYSQL_CONNECTION_LIMIT | No | Maximum connections per pool | 4 |
| MYSQL_WAIT_FOR_CONNECTIONS | No | Wait for available connections | true |
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 | |