Skip to main content
Glama

Database Query MCP Server

by xuejike

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNo数据库主机地址
DB_NAMENo数据库名称
DB_PORTNo数据库端口
DB_USERNo数据库用户名
DB_PASSWORDNo数据库密码

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
query_mysql

执行MySQL数据库查询(只读模式)

query_postgresql

执行PostgreSQL数据库查询(只读模式)

query_mssql

执行MSSQL数据库查询(只读模式)

query_oracle

执行Oracle数据库查询(只读模式)

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/xuejike/coding-db-mcp'

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