mysql-readonly-mcp
by IBeanCN
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Bind address for SSE transport | 127.0.0.1 |
| MCP_PORT | No | Bind port for SSE | 8000 |
| MYSQL_SSL | No | Enable TLS to MySQL: "true" / "false" | false |
| MYSQL_HOST | No | MySQL hostname or IP | 127.0.0.1 |
| MYSQL_PORT | No | MySQL port | 3306 |
| MYSQL_USER | Yes | MySQL username | |
| MYSQL_SSL_CA | No | Path to CA certificate (when using TLS) | |
| MYSQL_SSL_KEY | No | Path to client private key | |
| MYSQL_DATABASE | Yes | Target database name | |
| MYSQL_PASSWORD | No | MySQL password | |
| MYSQL_SSL_CERT | No | Path to client certificate | |
| MCP_BEARER_TOKEN | No | If non-empty, SSE HTTP requests require Authorization: Bearer <token> | |
| MYSQL_READ_TIMEOUT | No | Socket read timeout (seconds) | 30 |
| MYSQL_WRITE_TIMEOUT | No | Socket write timeout (seconds) | 30 |
| QUERY_DEFAULT_LIMIT | No | Upper bound on rows for SELECT | 100 |
| MYSQL_CONNECT_TIMEOUT | No | TCP connect timeout (seconds) | 10 |
| MYSQL_SSL_VERIFY_CERT | No | Set "false" to skip server cert verification (not recommended) | true |
| QUERY_TABLE_BLACKLIST | No | Comma-separated table names to block from query tool | |
| MYSQL_MAX_EXECUTION_TIME | No | Per-query server limit (milliseconds) | 30000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/IBeanCN/mysql-mcp-only-read'
If you have feedback or need assistance with the MCP directory API, please join our Discord server