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

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

TDQS

A3.7/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a distinct purpose: listing tables, describing a table's schema, executing a SELECT query, and testing connectivity. No overlap in functionality.

Naming Consistency4/5

Most tools follow a verb_noun snake_case pattern (describe_table, list_tables, test_connection). The 'query' tool is a single verb but still clear and fits the general pattern.

Tool Count4/5

With 4 tools, the server covers essential read-only database operations. The count is slightly thin but appropriate for the focused scope of querying and exploring a MSSQL database.

Completeness3/5

The set covers connection testing, table listing, schema description, and querying. Missing tools for exploring views, stored procedures, or other metadata, which are minor gaps for a read-only server.

Maintenance

ActivityInactive
ResponsivenessNo issues