MCP SQL Server
by GK-Leyton
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_LOG_FILE | No | Log file path (default: mcp_sqlserver.log) | mcp_sqlserver.log |
| MCP_MAX_ROWS | No | Maximum number of rows returned (default: 100) | 100 |
| MCP_LOG_LEVEL | No | Log level (default: INFO) | INFO |
| SQLSERVER_HOST | Yes | SQL Server host (e.g., localhost) | |
| SQLSERVER_PORT | No | SQL Server port (default 1433) | 1433 |
| SQLSERVER_USER | Yes | SQL Server login user | |
| SQLSERVER_DRIVER | No | ODBC driver name (default: ODBC Driver 17 for SQL Server) | ODBC Driver 17 for SQL Server |
| SQLSERVER_ENCRYPT | No | Encrypt connection (default: yes) | yes |
| SQLSERVER_DATABASE | Yes | Database name | |
| SQLSERVER_PASSWORD | Yes | SQL Server login password | |
| MCP_QUERY_TIMEOUT_SECONDS | No | Query timeout in seconds (default: 15) | 15 |
| SQLSERVER_TRUST_SERVER_CERT | No | Trust server certificate (default: no) | no |
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/GK-Leyton/MCP_SQLSERVER'
If you have feedback or need assistance with the MCP directory API, please join our Discord server