mssql-pyodbc-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MSSQL_PORT | No | The SQL Server port. | 1433 |
| MSSQL_USER | Yes | The SQL Server username. | |
| MSSQL_DRIVER | No | The ODBC driver name. | ODBC Driver 18 for SQL Server |
| MSSQL_SERVER | Yes | The SQL Server hostname or IP address. | |
| MSSQL_DATABASE | Yes | The database name. | |
| MSSQL_PASSWORD | Yes | The SQL Server password. | |
| MSSQL_TRUST_SERVER_CERTIFICATE | No | Whether 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a distinct purpose: listing tables, describing a table's schema, executing a SELECT query, and testing connectivity. No overlap in functionality.
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.
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.
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.