What dependencies are required?
Python 3.x, the packages `pyodbc>=4.0.39`, `pydantic>=2.0.0`, `mcp>=0.1.0`, and ODBC Driver 17 for SQL Server.
@daobataotie
Basic information
mssql mcp server
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mssql-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/inspector",
"python",
"C:\\mssql-mcp\\src\\server.py"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
MSSQL MCP Server provides database interaction and business intelligence capabilities for Microsoft SQL Server. It enables running SQL queries, analyzing business data, and automatically generating business insight memos. It is designed for AI agents (e.g., Claude Desktop) to interact with MSSQL databases via the Model Context Protocol.
Install Python packages with pip install -r requirements.txt, then create a config.json file with database connection details (driver, server, database, username, password). Configure the server as an MCP tool in Claude Desktop, Windsurf, or Cursor by pointing to server.py with the Python command. Supported tools include read_query, write_query, create_table, list_tables, describe-table, and append_insight.
Python 3.x, the packages `pyodbc>=4.0.39`, `pydantic>=2.0.0`, `mcp>=0.1.0`, and ODBC Driver 17 for SQL Server.
Create a `config.json` file in the same folder as `server.py` with fields: driver (e.g., "ODBC Driver 17 for SQL Server"), server, database, username, password, and trusted_connection (false).
Add an entry to `claude_desktop_config.json` with `"command": "python"` and `"args": ["path/to/server.py"]`.
It supports `read_query`, `write_query`, `create_table`, `list_tables`, `describe-table`, and `append_insight` tools.
No, it connects directly to a local or network-accessible MSSQL database instance via ODBC.

Access millions of official legal and regulatory source documents from 155+ jurisdictions via MCP. Lawstronaut supports AI agents with structured legal research, legal data, laws, regulations, cases, guidance, official s
MCP server for interacting with Neon Management API and databases
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
MCP server for interacting with Neon Management API and databases
Comments