MySQL MCP Server
by SaadRiaz99
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_HOST | Yes | MySQL host address. | |
| DB_NAME | Yes | MySQL database name. | |
| DB_PORT | No | MySQL port (default: 3306). | 3306 |
| DB_USER | Yes | MySQL username. | |
| HTTP_PORT | No | HTTP port for HTTP transport (default: 8000). | 8000 |
| TRANSPORT | No | Transport mode: stdio or http. | stdio |
| DB_PASSWORD | Yes | MySQL password. | |
| QUERY_TIMEOUT | No | Query timeout in seconds (default: 30). | 30 |
| READ_ONLY_MODE | No | Disable all write operations. | false |
| BLOCKED_KEYWORDS | No | Additional blocked keywords (CSV). | |
| MAX_RETURNED_ROWS | No | Max rows per query (default: 10000). | 10000 |
| ENABLE_QUERY_VALIDATION | No | Enable all security checks. | true |
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/SaadRiaz99/Mysql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server