MSSQL Read-Only MCP Server for Claude Code
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SQLSERVER_HOST | Yes | Server hostname. | localhost |
| SQLSERVER_PORT | No | Server port. | 1433 |
| SQLSERVER_USER | No | SQL Server username (required for SQL auth; also used by aad-password). | |
| SQLSERVER_ENCRYPT | No | Enable TLS encryption. | true |
| SQLSERVER_DATABASE | No | Default database. | master |
| SQLSERVER_MAX_ROWS | No | Max rows per query (up to 10,000). | 1000 |
| SQLSERVER_PASSWORD | No | SQL Server password (required for SQL auth; also used by aad-password). | |
| SQLSERVER_AUTH_MODE | No | Auth method: sql, aad-default, aad-password, aad-service-principal. | sql |
| SQLSERVER_CLIENT_ID | No | Azure AD application (client) ID. | |
| SQLSERVER_TENANT_ID | No | Azure AD tenant ID. | |
| SQLSERVER_TRUST_CERT | No | Trust server certificate (set false for Azure SQL). | true |
| SQLSERVER_CLIENT_SECRET | No | Azure AD client secret (required for service principal). | |
| SQLSERVER_REQUEST_TIMEOUT | No | Query timeout in ms. | 60000 |
| SQLSERVER_SCHEMA_CACHE_PATH | No | Override schema cache file path. | |
| SQLSERVER_CONNECTION_TIMEOUT | No | Connection timeout in ms. | 30000 |
| SQLSERVER_DOMAIN_SOURCE_PATH | No | Path to C# project root with EF configurations. |
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