MCP Server for MySQL
by zhengyun1008
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_DB | No | Legacy single-database name | |
| MYSQL_HOST | No | Legacy single-database host | |
| MYSQL_PASS | No | Legacy single-database password | |
| MYSQL_PORT | No | Legacy single-database port | |
| MYSQL_USER | No | Legacy single-database user | |
| MYSQL_CONFIG_PATH | No | Custom config file path for multi-database configuration |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mysql_queryA | Run a read-only SELECT query on a MySQL database |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| mysql_usage_guide | Guide for querying MySQL databases |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| MySQL Database Connections | List of available MySQL database connections with access modes |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhengyun1008/mcp-server-mysql'
If you have feedback or need assistance with the MCP directory API, please join our Discord server