Connects Claude to Microsoft SQL Server databases with a comprehensive set of operations beyond basic queries. You get the usual execute_query and fetch_results, but also transaction controls (commit, rollback), stored procedure calls, bulk copy operations, and schema introspection tools to list tables, columns, primary keys, and foreign keys. It handles multiple simultaneous connections and lets you configure timeouts and autocommit behavior. Built on pymssql, so it works with SQL Server and Azure SQL. Reach for this when you need Claude to interact with enterprise SQL Server databases, whether you're doing data analysis, running reports, or managing database operations through conversation.
MCP server for Microsoft SQL Server using mssql-python.
mcp-name: io.github.daedalus/mcp-server-mssql
pip install mcp-server-mssql
mcp-server-mssql
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-server-mssql": {
"command": "mcp-server-mssql"
}
}
}
connect_tool - Connect to Microsoft SQL Serverclose_connection - Close an existing connectionlist_connections - List all active connectionsexecute_query - Execute SQL query and return resultsexecute_scalar - Execute SQL and return single valuefetch_results - Fetch results from a cursorcall_procedure - Call a stored procedurecommit - Commit current transactionrollback - Rollback current transactionbulk_copy - Perform bulk copy operationget_tables - List database tablesget_columns - List table columnsget_procedures - List stored proceduresget_foreign_keys - List foreign keysget_primary_keys - List primary keysparse_connection_string - Parse connection stringbuild_connection_string - Build connection stringset_connection_timeout - Set connection timeoutset_login_timeout - Set login timeoutset_autocommit - Set autocommit modeget_connection_info - Get connection informationgit 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/
hovecapital/read-only-local-postgres-mcp-server
cocaxcode/database-mcp
io.github.infoinlet-marketplace/mcp-mysql
io.github.cybeleri/database-admin
io.github.yash-0620/postgres-mcp-secured