Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
I

ian-cowley/MCPSqlServer

Query Microsoft SQL Server

Before you install: no copy-paste command · no license recorded · link reachable

First step: nothing runnable here yet - start from the repository: https://github.com/ian-cowley/MCPSqlServer

View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site

We have neither an install command nor a public remote endpoint from this repository, so we do not print a config. A made-up one is worse than none. How each client wires MCP up →

Source
collected from the abordage/awesome-mcp list · type: MCP server
Harvest history
first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
Score
score 1,003 · 10 sources · mcp
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# SQL Server MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A standalone MCP (Model Context Protocol) server written in C# that provides SQL Server integration capabilities for any MCP-compliant IDE or client.
## Features
SQL Server connectivity
Database schema exploration
Table and view inspection
Column metadata retrieval
Stored procedure enumeration
SQL query execution
Stored procedure execution
Debug mode for troubleshooting
Configurable logging path
Dynamic Project Connection Resolver: Automatically resolves and overrides database connection strings dynamically based on the active file in the editor
## Prerequisites
.NET 10.0 SDK or higher
SQL Server instance (local or remote)
SQL Server client tools
## Setup
1. Build the project:
cmd
dotnet build
2. Configure the application:
Copy appsettings.example.json to appsettings.json
Update the connection string and other settings in appsettings.json with your SQL Server details
json
"ConnectionStrings": {
"DefaultConnection": "Server=your-server;Database=master;User ID=your-username;Password=your-password;TrustServerCertificate=True"
},
"LogPath": "C:\\Path\\To\\Your\\LogDirectory\\",
"DebugMode": "false"
3. Configure the MCP server in your IDE / client:
Add the server configuration to your IDE's MCP config file (e.g., Windsurf, Claude Desktop config, or Cline/Cursor settings).
Point the command to the path of your built executable:
json
"mcpServers": {
"sqlMcpService": {
"command": "path/to/your/MCPSqlServer.exe",
"args": [],
"description": "SQL Server MCP Service"
4. Set up GitHub integration:
Create a new GitHub repository for your project
Initialize a new Git repository in your project directory using git init
Add your GitHub repository as a remote using git remote add origin
Push your changes to the remote repository using git push -u origin master
## Configuration Options
The appsettings.json file contains the following configuration options:
ConnectionStrings:DefaultConnection: The SQL Server connection string
LogPath: Directory where log files will be stored
DebugMode: Set to "true" to enable detailed debug logging
AllowWorkspaceOverride: Set to "false" to disable dynamic project connection overrides (defaults to "true")
## Dynamic Project Connection Resolver
In multi-project workspaces where different folders or subprojects connect to different databases, you can avoid updating the main configuration constantly:
1. All database tools accept an optional currentFilePath parameter (typically automatically populated by the IDE client with the active file's path).
2. The server walks up the directory tree from the file's parent folder looking for the nearest appsettings.json.
3. If found, it dynamically extracts and uses that file's ConnectionStrings:DefaultConnection for the query execution.
4. If no config file is found, or if AllowWorkspaceOverride is set to "false", it falls back to the primary connection string loaded at startup.
## Publishing
You can publish the application as a self-contained executable:
cmd
dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true
This will create a single executable file that includes all dependencies.
## Protocol
The MCP server communicates through standard input/output using the standard JSON-RPC 2.0 Model Context Protocol.
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/ian-cowley-mcpsqlserver/)
Source
awesome · https://github.com/ian-cowley/MCPSqlServer
Browse by field
MCP servers
Listed by
10 independent sources
added
today

More like this

All 6,229 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index