MCP Server for MySQL
by zhaoxin34
Verified
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PATH | No | Path to node binaries and other executables | |
MYSQL_DB | No | Target database name | |
MYSQL_SSL | No | Enable SSL/TLS encryption | false |
MYSQL_HOST | Yes | MySQL server host | 127.0.0.1 |
MYSQL_PASS | Yes | MySQL password | |
MYSQL_PORT | No | MySQL server port | 3306 |
MYSQL_USER | Yes | MySQL username | root |
MYSQL_CACHE_TTL | No | Cache time-to-live in milliseconds | 60000 |
MYSQL_LOG_LEVEL | No | Logging level | info |
MYSQL_POOL_SIZE | No | Connection pool size | 10 |
MYSQL_RATE_LIMIT | No | Maximum queries per minute | 100 |
MYSQL_QUERY_TIMEOUT | No | Query timeout in milliseconds | 30000 |
MYSQL_ENABLE_LOGGING | No | Enable query logging | false |
MYSQL_METRICS_ENABLED | No | Enable performance metrics | false |
MYSQL_MAX_QUERY_COMPLEXITY | No | Maximum query complexity score | 1000 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
No tools |