MySQL MCP Server
by ttpears
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_SSL | No | Enable SSL connection (default source) | false |
| MYSQL_HOST | No | MySQL server hostname (default source) | localhost |
| MYSQL_PORT | No | MySQL server port (default source) | 3306 |
| MYSQL_USER | No | MySQL username (default source) | root |
| MYSQL_DATABASE | No | MySQL database name (optional - server-wide access if omitted) | |
| MYSQL_PASSWORD | Yes | MySQL password (required for default source) | |
| MCP_MYSQL_CACHE_DIR | No | Custom cache directory path | ~/.mcp-mysql-cache |
| MCP_MYSQL_CACHE_ENABLED | No | Enable/disable intelligent caching system | true |
| MCP_MYSQL_CACHE_MAX_SIZE | No | Maximum cache file size in bytes (50MB) | 52428800 |
| MCP_MYSQL_CACHE_RETENTION_DAYS | No | Days to retain cached files | 30 |
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