mysql-readonly-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_HOST | No | MySQL host (default: 127.0.0.1) | |
| MYSQL_PORT | No | MySQL port | 3306 |
| MYSQL_USER | No | MySQL user | |
| MYSQL_DATABASE | No | MySQL database name | |
| MYSQL_PASSWORD | No | MySQL password | |
| MYSQL_CONFIG_FILE | No | Path to a .env file containing MySQL credentials and options. | |
| MYSQL_MCP_MAX_LIMIT | No | Maximum number of rows for sample queries (default: 500) | |
| MYSQL_MCP_CONNECTION_LIMIT | No | Database connection pool limit (default: 5) | |
| MYSQL_MCP_QUERY_TIMEOUT_MS | No | Query timeout in milliseconds (default: 10000) |
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
- 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/a1030307996-hash/mysql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server