Database MCP Server
by tomtomjskim
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_TYPE | No | Explicit database type (mysql or postgresql). Optional, auto-detected if not provided. | |
| MYSQL_DB | No | MySQL database name | |
| LOG_LEVEL | No | Logging level (e.g., info, debug) | |
| MYSQL_HOST | No | MySQL host (e.g., localhost or RDS endpoint) | |
| MYSQL_PORT | No | MySQL port (default 3306) | |
| MYSQL_USER | No | MySQL user | |
| POSTGRES_DB | No | PostgreSQL database name | |
| MYSQL_SSL_CA | No | Path to MySQL SSL CA certificate | |
| POSTGRES_HOST | No | PostgreSQL host | |
| POSTGRES_PORT | No | PostgreSQL port (default 5432) | |
| POSTGRES_USER | No | PostgreSQL user | |
| DB_CONFIG_FILE | No | Path to multi-DB configuration JSON file | |
| MYSQL_PASSWORD | No | MySQL password | |
| MYSQL_SSL_MODE | No | MySQL SSL mode (e.g., REQUIRED) | |
| MAX_RESULT_ROWS | No | Maximum number of result rows (default 10000) | |
| MCP_SERVER_NAME | No | Name of the MCP server | |
| POSTGRES_SSL_CA | No | Path to PostgreSQL SSL CA certificate | |
| POSTGRES_PASSWORD | No | PostgreSQL password | |
| POSTGRES_SSL_MODE | No | PostgreSQL SSL mode (e.g., REQUIRED) | |
| ENABLE_QUERY_LOGGING | No | Enable query logging (true/false) | |
| DB_DEFAULT_CONNECTION | No | Default connection name for multi-DB mode | |
| MAX_QUERY_EXECUTION_TIME | No | Maximum query execution time in ms (default 30000) | |
| MYSQL_CONNECTION_TIMEOUT | No | MySQL connection timeout in ms | |
| POSTGRES_CONNECTION_TIMEOUT | No | PostgreSQL connection timeout in ms | |
| MYSQL_ACQUIRECONNECTION_TIMEOUT | No | MySQL acquire connection timeout in ms |
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/tomtomjskim/db-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server