MCP SQL Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SQLSERVER_HOST | No | Server hostname | localhost |
| SQLSERVER_PORT | No | Port number | 1433 |
| SQLSERVER_USER | Yes | SQL Server username | |
| SQLSERVER_ENCRYPT | No | Enable encryption | true |
| SQLSERVER_DATABASE | No | Default database name | |
| SQLSERVER_MAX_ROWS | No | Maximum rows per query | 1000 |
| SQLSERVER_PASSWORD | Yes | SQL Server password | |
| SQLSERVER_TRUST_CERT | No | Trust server certificate | true |
| SQLSERVER_REQUEST_TIMEOUT | No | Request timeout in ms | 60000 |
| SQLSERVER_SESSION_CONTEXT | No | JSON object applied to every query as SESSION_CONTEXT for Row-Level Security | |
| SQLSERVER_CONNECTION_TIMEOUT | No | Connection timeout in ms | 30000 |
| SQLSERVER_SESSION_CONTEXT_READONLY | No | Lock session context keys against modification | true |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues