Mssql MCP server
MCP server for Microsoft SQL Server using mssql-python
0 stars32 downloads/wk
Reviews
Write oneNobody has reviewed Mssql yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Mssql tools (21, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
build_connection_stringBuild a SQL Server connection string from components.
bulk_copyPerform a bulk copy operation to load data into a table.
call_procedureCall a stored procedure.
close_connectionClose an existing database connection.
commitCommit the current transaction.
connect_toolConnect to Microsoft SQL Server using the provided connection string.
execute_querywrite actionExecute a SQL query and return results.
execute_scalarwrite actionExecute a SQL query and return a single value.
fetch_resultsFetch results from an existing cursor.
get_columnsGet list of columns for a table.
get_connection_infoGet information about a connection.
get_foreign_keysGet foreign keys for a table.
get_primary_keysGet primary keys for a table.
get_proceduresGet list of stored procedures from the database.
get_tablesGet list of tables from the database.
list_connectionsList all active connections.
parse_connection_stringParse a SQL Server connection string into components.
rollbackRollback the current transaction.
set_autocommitSet autocommit mode for a connection.
set_connection_timeoutSet the connection timeout for a connection.
set_login_timeoutSet the login timeout for a connection.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 159 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Mssql compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 55% of 802 Databases servers
- Tools
- 21
- the typical Databases server has 8
- Tools that change things
- 10%
- typical: 10%. Fewer write tools means less an agent can break
- Downloads a week
- 32
- more than 19% of 324 Databases servers with a package
What its tools let an agent do: 15 read · 4 change · 2 run or deploy
Install Mssql in Claude Code, Cursor or VS Code
claude mcp add mcp-server-mssql -- uvx mcp-server-mssql
What the publisher says
From the Mssql repository's README, as published. We do not edit it. Read it on GitHub
mcp-server-mssql
MCP server for Microsoft SQL Server using mssql-python.
mcp-name: io.github.daedalus/mcp-server-mssql
Install
pip install mcp-server-mssqlUsage
Run as MCP Server
mcp-server-mssqlConfigure in Claude Desktop
Add to your claudedesktopconfig.json:
{
"mcpServers": {
"mcp-server-mssql": {
"command": "mcp-server-mssql"
}
}
}Available Tools
- connect_tool - Connect to Microsoft SQL Server
- close_connection - Close an existing connection
- list_connections - List all active connections
- execute_query - Execute SQL query and return results
- execute_scalar - Execute SQL and return single value
- fetch_results - Fetch results from a cursor
- call_procedure - Call a stored procedure
- commit - Commit current transaction
- rollback - Rollback current transaction
- bulk_copy - Perform bulk copy operation
- get_tables - List database tables
- get_columns - List table columns
Development
git clone https://github.com/daedalus/mcp-server-mssql.git
cd mcp-server-mssql
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/Nothing above is checked by us. What we check is on the safety report.
Mssql: common questions
- Is Mssql MCP server safe?
- Mostly: it is graded B (82/100). Read the Mssql safety report
- How do I install Mssql?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Mssql need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Mssql maintained?
- The last commit was 195 days ago (2026-04-21). The latest release is v0.1.0.
- What can I use instead of Mssql?
- Servers from other publishers that do the same job: Mssql Reader MCP server, DBHub MCP server and Keboola MCP server.
- How does Mssql compare with other Databases MCP servers?
- safety score 82/100 (higher than 55% of 802 Databases servers); tools 21 (the typical Databases server has 8); tools that change things 10% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Mssql
Same job from other publishers: the closest match first, then the best rated.
- Mssql ReaderRead-only MCP server for Microsoft SQL Server — schema discovery, profiling, safe queryingnot reviewedGrowingA
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- KeboolaConnect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...not reviewedEstablishedA
- GeoLensRead-only access to a self-hosted GeoLens spatial catalog: datasets, features, maps, sandboxed SQL.not reviewedEstablishedB
- FaucetSQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.not reviewedEstablishedA