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 |
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 |
|---|---|
| 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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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