sql-assistant-mcp
by Benrishty
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAX_ROWS | No | Max rows returned (max 5000) | 1000 |
| POOL_MAX | No | Max connection pool size | 10 |
| POOL_MIN | No | Min connection pool size | 2 |
| READONLY | No | true to restrict to read-only queries (required) | |
| SQL_PORT | No | Server port | 1433 |
| SQL_USER | No | SQL login username | |
| LOG_LEVEL | No | Log level: debug, info, warn, error | info |
| SQL_SERVER | No | SQL Server hostname or IP | |
| SQL_ENCRYPT | No | Encrypt connection | true |
| SQL_DATABASE | No | Database name | |
| SQL_PASSWORD | No | SQL login password | |
| QUERY_TIMEOUT | No | Query timeout in ms (max 120000) | 30000 |
| SQL_AUTH_TYPE | No | Authentication type: sql, azure-default, azure-service-principal, azure-password, azure-access-token, azure-msi | sql |
| SQL_TRUST_CERT | No | Trust self-signed certs | false |
| SQL_ACCESS_TOKEN | No | Pre-fetched Entra access token | |
| SQL_CONNECTION_URL | No | Full connection string (shorthand for SQL login) | |
| SQL_AZURE_CLIENT_ID | No | Azure client ID (for service principal, password, azure-default, or managed identity) | |
| SQL_AZURE_TENANT_ID | No | Azure tenant ID (for service principal or password auth) | |
| SQL_AZURE_CLIENT_SECRET | No | Azure client secret (for service principal) |
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
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/Benrishty/sql-assistant-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server