Skip to main content
Glama
tsod

mssql-pyodbc-mcp

by tsod

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MSSQL_PORTNoThe SQL Server port.1433
MSSQL_USERYesThe SQL Server username.
MSSQL_DRIVERNoThe ODBC driver name.ODBC Driver 18 for SQL Server
MSSQL_SERVERYesThe SQL Server hostname or IP address.
MSSQL_DATABASEYesThe database name.
MSSQL_PASSWORDYesThe SQL Server password.
MSSQL_TRUST_SERVER_CERTIFICATENoWhether to trust the server certificate.yes

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
test_connectionA

Validate MSSQL environment configuration and test database connectivity.

list_tablesA

List accessible user tables in the configured MSSQL database.

describe_tableA

Return column_name, data_type, and nullable for a table.

queryA

Execute a read-only SELECT query and return at most 100 rows.

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/tsod/mssql-pyodbc-mcp'

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