MySQL MCP Server
by iamdylanngo
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_HOST | No | MySQL host | localhost |
| DB_NAME | No | Database name | mydb |
| DB_PORT | No | MySQL port | 3306 |
| DB_USER | No | MySQL user | root |
| DB_PASSWORD | No | MySQL password | |
| DB_POOL_LIMIT | No | Connection pool size | 10 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| select_mysql_versionD | MySQL version. |
| list_tablesB | Listing all table, that connected to the database. |
| describe_tableC | Show columns, types, and constraints for a table. |
| queryB | Run a read-only SELECT query with optional params (? placeholders). |
| mutateC | Run an INSERT, UPDATE, or DELETE statement with optional params |
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/iamdylanngo/mysql-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server