MCP MySQL Server
by BobLiu1996
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ALLOW_DDL | No | Whether to allow DDL operations | false |
| ALLOW_DROP | No | Whether to allow DROP operations | false |
| MYSQL_HOST | No | MySQL host address | localhost |
| MYSQL_PORT | No | MySQL port | 3306 |
| MYSQL_USER | No | MySQL username | root |
| MCP_LOG_DIR | No | Log directory | ./logs |
| ALLOW_DELETE | No | Whether to allow DELETE operations | false |
| MCP_LOG_FILE | No | Log filename | mcp-mysql.log |
| MYSQL_DATABASE | No | Database name | |
| MYSQL_PASSWORD | No | MySQL password | |
| MCP_DDL_LOG_FILE | No | DDL SQL log filename | ddl.sql |
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 | |
Latest Blog Posts
- 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/BobLiu1996/mcp-server-mysql'
If you have feedback or need assistance with the MCP directory API, please join our Discord server