Back to Browse

Mssql MCP Server

Developer ToolsUse Caution4.5MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP server for Microsoft SQL Server using mssql-python

About

MCP server for Microsoft SQL Server using mssql-python

Security Report

4.5
Use Caution4.5High Risk

Valid MCP server (2 strong, 4 medium validity signals). 5 known CVEs in dependencies (1 critical, 3 high severity) Package registry verified. Imported from the Official MCP Registry.

8 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-daedalus-mcp-server-mssql": {
      "args": [
        "mcp-server-mssql"
      ],
      "command": "uvx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

mcp-server-mssql

MCP server for Microsoft SQL Server using mssql-python.

PyPI Python Ruff

mcp-name: io.github.daedalus/mcp-server-mssql

Install

pip install mcp-server-mssql

Usage

Run as MCP Server

mcp-server-mssql

Configure in Claude Desktop

Add to your claude_desktop_config.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
  • get_procedures - List stored procedures
  • get_foreign_keys - List foreign keys
  • get_primary_keys - List primary keys
  • parse_connection_string - Parse connection string
  • build_connection_string - Build connection string
  • set_connection_timeout - Set connection timeout
  • set_login_timeout - Set login timeout
  • set_autocommit - Set autocommit mode
  • get_connection_info - Get connection information

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/

Reviews

No reviews yet

Be the first to review this server!

Mssql MCP Server - MCP server for Microsoft SQL Server using mssql-python | MCP Marketplace