Skip to main content
Glama

Database Query MCP Server

by xuejike

query_mssql

Execute read-only SQL queries on MSSQL databases to retrieve data safely. Connect using host, port, credentials and database name to run SELECT statements without modification capabilities.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
dbYes数据库名称
hostYes数据库主机地址
portYes数据库端口
pwdYes数据库密码
querySqlYes要执行的SQL查询语句(仅支持SELECT等只读操作)
userYes数据库用户名

Input Schema (JSON Schema)

{ "properties": { "db": { "description": "数据库名称", "type": "string" }, "host": { "description": "数据库主机地址", "type": "string" }, "port": { "description": "数据库端口", "type": "integer" }, "pwd": { "description": "数据库密码", "type": "string" }, "querySql": { "description": "要执行的SQL查询语句(仅支持SELECT等只读操作)", "type": "string" }, "user": { "description": "数据库用户名", "type": "string" } }, "required": [ "host", "port", "user", "pwd", "db", "querySql" ], "type": "object" }

Other Tools from Database Query MCP Server

Related Tools

    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