DB MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_SSL | No | Enable SSL (default: true) | |
| DB_HOST | No | Database hostname (required unless using DB_SECRET_ARN) | |
| DB_NAME | No | Database name (required unless using DB_SECRET_ARN) | |
| DB_PORT | No | Database port (default: 5432 for PostgreSQL, 3306 for MySQL) | |
| DB_USER | No | Database username (required unless using DB_SECRET_ARN) | |
| DB_ENGINE | No | Database engine: 'postgresql' or 'mysql' (required unless using DB_SECRET_ARN) | |
| AWS_REGION | No | AWS region (required for AWS features) | |
| AWS_PROFILE | No | AWS credentials profile | |
| DB_PASSWORD | No | Database password (required unless using DB_SECRET_ARN) | |
| DB_SECRET_ARN | No | AWS Secrets Manager ARN (alternative to direct credentials) | |
| DB_WRITE_MODE | No | Write mode: 'disabled' (default), 'enabled', or 'auto' | |
| DB_DEFAULT_LIMIT | No | Default query row limit (default: 1000) | |
| AWS_ACCESS_KEY_ID | No | AWS access key | |
| AWS_SESSION_TOKEN | No | Session token (for temporary credentials) | |
| DB_DEFAULT_TIMEOUT | No | Default query timeout in ms (default: 30000) | |
| DB_IS_READ_REPLICA | No | Set to 'true' to block writes | |
| AWS_SECRET_ACCESS_KEY | No | AWS secret key |
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/nikhilchintawar/db-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server