Skip to main content
Glama
pugltd

mcp-mssql-secure

by pugltd

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MSSQL_HOSTYesDatabase host (required).
MSSQL_PORTNoDatabase port (default: 1433).1433
MSSQL_USERYesSQL authentication login (required).
MSSQL_ENCRYPTNoEnable TLS encryption (default: true). Use 'true' or 'false'.true
MSSQL_DATABASEYesDatabase name (required).
MSSQL_PASSWORDYesSQL authentication password (required).
MSSQL_ACCESS_MODENoAccess mode: 'readonly' (default), 'dml', or 'full'. Can be overridden by --access-mode CLI flag.readonly
MSSQL_LOCK_CONNECTIONNoDisables connect_db at runtime when true (default: true when env config is set). Use 'true' or 'false'.true
MSSQL_TRUST_SERVER_CERTIFICATENoTrust self-signed certificates (default: false). Use 'true' or 'false'. Recommended for on-prem dev with self-signed certs.false

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
connect_dbD

Disabled when MSSQL_LOCK_CONNECTION=true (use environment variables instead)

queryA

Execute a read-only SQL query (SELECT, WITH, EXPLAIN, TABLE, VALUES)

list_schemasA

List all schemas in the database

list_tablesC

List tables in the database

describe_tableC

Get table structure

list_programmable_objectsA

List stored procedures, functions, views, and triggers (read-only metadata)

describe_programmable_objectA

Get full T-SQL definition and parameters for a stored procedure, function, view, or trigger (read-only; does not execute)

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/pugltd/mcp-mssql-secure'

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