Skip to main content
Glama
andychinghk01

db-query-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_QUERY_MCP_CONFIGNoAbsolute path to the configuration file. If not set, the default path is ~/.config/db-query-mcp/config.json.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_dbA

List configured MySQL and PostgreSQL databases with their names, types, and descriptions.

queryA

Execute a read-only SELECT query against a selected MySQL or PostgreSQL database. Supports optional parameterized values. Only SELECT/SHOW/DESCRIBE/EXPLAIN statements are allowed.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/andychinghk01/db-query-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server