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 |
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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kushgit9842/MCP_MS_SQL'
If you have feedback or need assistance with the MCP directory API, please join our Discord server