Skip to main content
Glama

Enhanced MCP MSSQL Server

by michaelyuwh

mssql_query

Execute read-only SELECT queries on Microsoft SQL Server databases to retrieve data with secure authentication and connection options.

Instructions

Execute a read-only SELECT query

Input Schema

NameRequiredDescriptionDefault
databaseYesDatabase name
encryptNoUse encrypted connection (default: true)
limitNoMaximum number of rows to return (default: 100)
passwordYesPassword for authentication
portNoPort number (default: 1433)
queryYesSQL SELECT query to execute
serverYesMSSQL Server hostname or IP address
trustServerCertificateNoTrust server certificate (default: true)
userYesUsername for authentication

Input Schema (JSON Schema)

{ "properties": { "database": { "description": "Database name", "type": "string" }, "encrypt": { "default": true, "description": "Use encrypted connection (default: true)", "type": "boolean" }, "limit": { "default": 100, "description": "Maximum number of rows to return (default: 100)", "type": "number" }, "password": { "description": "Password for authentication", "type": "string" }, "port": { "default": 1433, "description": "Port number (default: 1433)", "type": "number" }, "query": { "description": "SQL SELECT query to execute", "type": "string" }, "server": { "description": "MSSQL Server hostname or IP address", "type": "string" }, "trustServerCertificate": { "default": true, "description": "Trust server certificate (default: true)", "type": "boolean" }, "user": { "description": "Username for authentication", "type": "string" } }, "required": [ "server", "user", "password", "database", "query" ], "type": "object" }

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/michaelyuwh/mcp-mssql-connector'

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