
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

An MCP server that connects to Microsoft SQL Server to execute queries and stored procedures and to report database connection information, with stdio and Streamable HTTP transport modes.
MCP server for Microsoft SQL Server database operations is cataloged as an MCP server attributed to stilllovee. An MCP server that connects to Microsoft SQL Server to execute queries and stored procedures and to report database connection information, with stdio and Streamable HTTP transport modes. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for Microsoft SQL Server database operations are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The server supports both Windows Authentication and SQL Server Authentication.
Yes, DB_CONNECTION_STRING takes priority over all other connection settings.
README.md · ae58f740e082 · 采集于 2026-11-13 12:52:32 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Model Context Protocol (MCP) server for Microsoft SQL Server database operations.
The server supports two transport modes:
For use with Claude Desktop and other stdio-based MCP clients.
Add to your Claude Desktop configuration:
{
"mcpServers": {
"mssql": {
"command": "npx",
"args": [
"github:stilllovee/mssql-mcp-server"
],
"env": {
"DB_SERVER": "servername",
"DB_DATABASE": "dbname",
"DB_USER": "username", //optional
"DB_PASSWORD": "password", //optional
"DB_TRUST_SERVER_CERTIFICATE": "true", //optional
"DB_ENCRYPT": "true" //optional
}
}
}
}
Or install in your own PC
npm install
{
"mcpServers": {
"mssql": {
"command": "node",
"args": ["/path/to/folder"],
"env": {
"DB_SERVER": "servername",
"DB_DATABASE": "dbname",
"DB_USER": "username", //optional
"DB_PASSWORD": "password", //optional
"DB_TRUST_SERVER_CERTIFICATE": "true", //optional
"DB_ENCRYPT": "true" //optional
}
}
}
}
Or using a connection string:
{
"mcpServers": {
"mssql": {
"command": "node",
"args": ["/path/to/folder"],
"env": {
"DB_CONNECTION_STRING": "Server=localhost;Database=ecommerce;Trusted_Connection=yes;TrustServerCertificate=yes"
}
}
}
}
For web applications, remote connections, and environments where HTTP is preferred.
Setup .env file with your database configuration:
DB_SERVER=localhost
DB_DATABASE=ecommerce
DB_USE_WINDOWS_AUTH=true
# Or use a full connection string
# DB_CONNECTION_STRING=Server=localhost;Database=ecommerce;Trusted_Connection=yes;TrustServerCertificate=yes
Run the server:
# Using default port 8123
node index-http.js
# Or specify a custom port
node index-http.js --port=3000
The server will be available at http://localhost:8123/mcp (or your custom port).
The HTTP transport supports API key-based connection mapping using Azure Table Storage, allowing different clients to connect to different databases using unique API keys.
Enable API Key Mapping:
# Set environment variables
USE_API_KEY_MAPPING=true
AZURE_STORAGE_CONNECTION_STRING=your_azure_connection_string
# Start the server
node index-http.js
Configure in Claude Desktop:
"mssql": {
"type": "http",
"url": "http://localhost:8123/mcp",
"headers": {
"x-api-key": "your-api-key"
}
},
Making Requests with API Keys:
curl -X POST http://localhost:8123/mcp \
-H "Content-Type: application/json" \
-H "x-api-key: your-api-key" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize",...}'
Managing API Keys:
# List all API keys
node scripts/manage-api-keys.js list
# Add a new API key
node scripts/manage-api-keys.js add my-api-key
# Delete an API key
node scripts/manage-api-keys.js delete my-api-key
For detailed information about Azure Table Storage setup, API key management, and security best practices, see Azure Table Storage Documentation.
POST /mcp - Send MCP requests and receive responsesGET /mcp - Establish SSE connection for receiving notifications (requires mcp-session-id header)| Variable | Description | Default |
|---|---|---|
DB_CONNECTION_STRING | Full connection string (overrides all other settings) | - |
DB_SERVER | SQL Server hostname or IP | localhost |
DB_DATABASE | Database name | ecommerce |
DB_USER | Username for SQL Server Authentication | - |
DB_PASSWORD | Password for SQL Server Authentication | - |
DB_USE_WINDOWS_AUTH | Use Windows Authentication | true (if user/password not set) |
DB_DRIVER | ODBC driver name | ODBC Driver 17 for SQL Server |
DB_ENCRYPT | Enable connection encryption | false |
DB_TRUST_SERVER_CERTIFICATE | Trust server certificate | true |
USE_API_KEY_MAPPING | Enable API key-based connection mapping | false |
AZURE_STORAGE_CONNECTION_STRING | Azure Table Storage connection string (required for API key mapping) | - |
AZURE_TABLE_NAME | Azure Table name for API key mappings | ApiKeyMappings |
sql_execute_query - Execute SQL queries
query (string), params (object, optional)sql_execute_procedure - Execute stored procedures
procedure_name (string), params (object, optional)sql_get_database_info - Get database connection information
And more ...
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for Microsoft SQL Server database operations from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mssql-mcp-server-stilllovee)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.