Skip to main content
Glama

MS SQL MCP Server

by akashCF

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost for the server to listen on, e.g., 'localhost' or '0.0.0.0'0.0.0.0
PORTNoPort for the HTTP/SSE server to listen on3333
DEBUGNoSet to 'true' for detailed logging (helpful for troubleshooting)false
DB_USERYesSQL Server username
DB_SERVERYesYour server name or IP
TRANSPORTNoConnection method: 'stdio' (for Claude Desktop) or 'sse' (for network connections)stdio
SERVER_URLNoBase URL when using SSE transporthttp://localhost:3333
DB_DATABASEYesYour database name
DB_PASSWORDYesSQL Server password
QUERY_RESULTS_PATHNoDirectory where query results will be saved as JSON files

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/akashCF/MCPDemo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server