MySQL MCP Server
by matpb
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| API_KEYS | No | Comma-separated API keys for authentication | |
| MAX_ROWS | No | Maximum rows returned | 1000 |
| MCP_PORT | No | HTTP server port | 8080 |
| MYSQL_HOST | No | MySQL server host | localhost |
| MYSQL_PORT | No | MySQL server port | 3306 |
| MYSQL_USER | Yes | MySQL username | |
| CORS_ORIGIN | No | CORS allowed origin | * |
| MCP_TRANSPORT | No | Transport mode: stdio or http-stream | stdio |
| QUERY_TIMEOUT | No | Query timeout (ms) | 30000 |
| MYSQL_DATABASE | Yes | Database name | |
| MYSQL_PASSWORD | Yes | MySQL password | |
| CLOUD_SQL_INSTANCE | No | Instance connection name (project:region:instance) | |
| CLOUD_SQL_PROXY_PORT | No | Local proxy port | 3307 |
| MYSQL_CONNECT_TIMEOUT | No | Connection timeout (ms) | 60000 |
| MYSQL_CONNECTION_LIMIT | No | Connection pool size | 10 |
| CLOUD_SQL_PROXY_ENABLED | No | Enable Cloud SQL Proxy | false |
| CLOUD_SQL_PROXY_AUTO_DOWNLOAD | No | Auto-download proxy binary | true |
| GOOGLE_APPLICATION_CREDENTIALS | No | Path to service account JSON | |
| CLOUD_SQL_PROXY_STARTUP_TIMEOUT | No | Startup timeout (ms) | 30000 |
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 | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues