MySQL Query MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Enable debug logging (default false) | |
| LOCAL_DB_SSL | No | Enable SSL for the local environment (default false) | |
| LOCAL_DB_HOST | No | Database host for the local environment | |
| LOCAL_DB_NAME | No | Database name for the local environment | |
| LOCAL_DB_PASS | No | Database password for the local environment | |
| LOCAL_DB_PORT | No | Database port for the local environment (default 3306) | |
| LOCAL_DB_USER | No | Database username for the local environment | |
| MCP_MYSQL_SSL | No | Enable SSL for all connections (default false) | |
| MYSQL_TIMEZONE | No | Timezone used by mysql2 when sending JavaScript Date values in queries (default Z) | |
| STAGING_DB_SSL | No | Enable SSL for the staging environment (default false) | |
| STAGING_DB_HOST | No | Database host for the staging environment | |
| STAGING_DB_NAME | No | Database name for the staging environment | |
| STAGING_DB_PASS | No | Database password for the staging environment | |
| STAGING_DB_PORT | No | Database port for the staging environment (default 3306) | |
| STAGING_DB_USER | No | Database username for the staging environment | |
| PRODUCTION_DB_SSL | No | Enable SSL for the production environment (default false) | |
| DEVELOPMENT_DB_SSL | No | Enable SSL for the development environment (default false) | |
| PRODUCTION_DB_HOST | No | Database host for the production environment | |
| PRODUCTION_DB_NAME | No | Database name for the production environment | |
| PRODUCTION_DB_PASS | No | Database password for the production environment | |
| PRODUCTION_DB_PORT | No | Database port for the production environment (default 3306) | |
| PRODUCTION_DB_USER | No | Database username for the production environment | |
| DEVELOPMENT_DB_HOST | No | Database host for the development environment | |
| DEVELOPMENT_DB_NAME | No | Database name for the development environment | |
| DEVELOPMENT_DB_PASS | No | Database password for the development environment | |
| DEVELOPMENT_DB_PORT | No | Database port for the development environment (default 3306) | |
| DEVELOPMENT_DB_USER | No | Database username for the development environment | |
| MCP_MYSQL_REJECT_UNAUTHORIZED | No | Verify SSL certificates (default true) |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| queryA | Execute read-only SQL queries against MySQL databases |
| infoC | Get information about MySQL databases |
| environmentsA | List available MySQL database environments |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool serves a distinct purpose: environments lists available databases, info retrieves database metadata, query executes read-only SQL. No overlap in functionality.
All tool names are single lowercase words, which is consistent, but they don't follow a strong verb_noun pattern. Names are clear and unambiguous.
Three tools is ideal for a focused MCP server that provides database environment listing, metadata retrieval, and query execution. No unnecessary tools.
The tool surface covers the core workflow of exploring and querying databases. Missing explicit schema or table listing tools, but info may partially address this.