db-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_MAX_ROWS | No | Max rows returned per query call | 500 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_connectionsA | List all database connections available via DB_ environment variables. |
| list_tablesC | List all tables and views in the specified database connection. |
| describe_tableA | Describe columns, primary key, foreign keys, and indexes for a table. |
| queryB | Execute a read-only SQL query on the specified connection. |
| preview_mutationB | Preview a write or destructive SQL statement and get a one-time confirmation token. |
| execute_mutationC | Execute a confirmed write or destructive SQL statement. |
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
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/paulushcgcj/db-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server