Skip to main content
Glama
daedalus

mcp-server-mssql

by daedalus

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

Related MCP server: mcp-sqlserver

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/
A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    An MCP server that enables connection to Microsoft SQL Server databases, providing tools for schema inspection and querying through standardized interfaces.
    Last updated
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    An MCP server for Microsoft SQL Server that enables executing read-only queries, listing tables, and describing database schemas. It offers specialized support for custom ports and multiple authentication methods including SQL credentials, NTLM, and Windows Integrated Auth.
    Last updated
    3
  • A
    license
    B
    quality
    C
    maintenance
    Enables AI agents to interact with Microsoft SQL Server databases via MCP, supporting table listing, schema retrieval, and CRUD operations.
    Last updated
    3
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A comprehensive MCP server for SQL Server database operations, enabling CRUD operations, schema exploration, and stored procedure execution through natural language.
    Last updated
    7
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for managing Prisma Postgres.

  • MCP server for interacting with the Supabase platform

  • The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-server-mssql'

If you have feedback or need assistance with the MCP directory API, please join our Discord server