mssql-readonly-mcp
by kushgit9842
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAX_ROWS | No | Maximum rows returned per query. Prevents accidentally dumping huge tables | 1000 |
| MSSQL_AUTH | No | Authentication type. Only `sql` is supported currently | sql |
| MSSQL_PORT | No | The TCP port SQL Server listens on | 1433 |
| MSSQL_USER | Yes | The read-only SQL login you create in Step 1 | |
| MSSQL_SERVER | Yes | Your server hostname. E.g. `localhost`, `localhost\SQLEXPRESS`, or `myserver.com,1433` | |
| MCP_HTTP_PORT | No | Port to listen on when using HTTP transport | 3000 |
| MCP_TRANSPORT | No | How the server communicates. Use `stdio` for local AI clients, `http` for remote/multi-client setups | stdio |
| MSSQL_ENCRYPT | No | Whether to encrypt the connection (recommended) | true |
| MSSQL_DATABASE | Yes | The default database to connect to | |
| MSSQL_PASSWORD | Yes | Password for the read-only login. **Never use `sa`** | |
| MCP_HTTP_API_KEY | No | Optional API key to restrict access to the HTTP endpoint | |
| QUERY_TIMEOUT_MS | No | How long (in milliseconds) before a query is cancelled. `30000` = 30 seconds | 30000 |
| MSSQL_TRUST_SERVER_CERT | No | Set to `true` for local/dev servers with self-signed certificates | 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 | |