
A Simple MCP Server for MSSQL Database Queries
A Simple MCP Server for MSSQL Database Queries
DBMCP is a MCP (Model-Client-Protocol) server that allows you to execute queries on databases. This server communicates with clients through SSE (Server-Sent Events), executes queries on databases, and returns the results.
Set environment variables in the .env file such as:
MSSQL_HOST=MSSQL_server_address
MSSQL_USER=username
MSSQL_PASSWORD=password
MSSQL_PORT=1433docker-compose up -d # or
docker-compose up --watch # Hot Reloading for Devuv sync # or
pip install -r requirements.txt(dbmcp) python server.pyAdd following json to your MCP client (Claude Desktop, Cursor, ...)
{
"mcpServers": {
"dbmcp": {
"url": "http://localhost:8080/sse"
}
}
}Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add dbmcp --transport http http://localhost:8080/sse{
"mcpServers": {
"dbmcp": {
"url": "http://localhost:8080/sse"
}
}
}code --add-mcp '{"name":"dbmcp","url":"http://localhost:8080/sse"}'Runs as a hosted service. Your client connects over the network and nothing is installed locally.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/dbmcp-database-mcp-server to learn what the "DBMCP (Database MCP Server)" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
This server doesn't publish a machine-readable tool manifest, and it doesn't expose a public endpoint we could ask. Connect the server locally to see what it exposes.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/dbmcp-database-mcp-server)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "dbmcp-database-mcp-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.