MySQL MCP Server
by eltonf
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_SSL | No | SSL mode (e.g., 'true' or 'false'). | |
| DB_HOST | No | MySQL host (e.g., localhost). | |
| DB_NAME | No | Database name. | |
| DB_PORT | No | MySQL port (default 3306). | |
| DB_USER | No | MySQL user. | |
| DB_PASSWORD | No | MySQL password. | |
| DATABASE_URL | No | MySQL connection URL (e.g., mysql://user:password@host:port/database). Overridden by individual variables. | |
| SCHEMA_ONLY_MODE | No | If 'true', only schema tools are enabled. Set to 'false' to enable execute_query. | |
| QUERY_ACCESS_CONFIG | No | Path to a JSON file defining query access control policy. |
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/eltonf/mysql-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server