readonly-db-mcp
by mir-shakir
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RODB_HOST | No | Server host (enables the zero-file path when set with RODB_USER) | |
| RODB_PORT | No | Server port (default 3306) | |
| RODB_USER | No | Username for the single env connection | |
| RODB_CONFIG | No | Path to config.toml (default ~/.config/readonly-db-mcp/config.toml) | |
| RODB_LOG_DIR | No | Audit-log directory (default <config dir>/logs/) | |
| RODB_DATABASE | No | Default schema for the single env connection | |
| RODB_ENV_FILE | No | Path to a .env file (default beside config.toml) | |
| RODB_PASSWORD | No | Password for the single env connection | |
| RODB_DISABLE_LOG | No | Set to '1' to disable the audit log | 0 |
| RODB_ENABLE_GATED | No | Allowlist of gated connections to enable, e.g. 'warehouse' or 'all' |
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/mir-shakir/readonly-db-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server