Command Palette

Search for a command to run...

UnylyUnyly
Browse all

SQL Server Express

FreeNot checked

Integrates with Microsoft SQL Server Express to enable database interactions, supporting query execution, table creation, and schema description with configurab

GitHubEmbed

About

Integrates with Microsoft SQL Server Express to enable database interactions, supporting query execution, table creation, and schema description with configurable authentication and access restrictions.

README

An MCP server for interacting with Microsoft SQL Server Express. Supports Windows and SQL Server authentication.

Prerequisites

  • Python 3.10 or higher
  • Microsoft ODBC Driver 18 for SQL Server
  • SQL Server instance with appropriate permissions

Installation

Clone this repo

cd mcp-sqlexpress

# Create and activate virtual environment
uv venv
.venv\Scripts\activate

# Install dependencies
uv pip install --editable .

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
    "mcpServers": {
        "sqlexpress": {
            "command": "uv",
            "args": [
                "--directory",
                "PATH\\TO\\PROJECT\\mcp-sqlexpress",
                "run",
                "mcp-server-sqlexpress",
                "--server",
                "server\\instance",
                "--auth",
                "windows",
                "--trusted-connection",
                "yes",
                "--trust-server-certificate",
                "yes",
                "--allowed-databases",
                "database1,database2"
            ]
        }
    }
}

Authentication Options

For Windows Authentication:

  • Set --auth windows
  • Set --trusted-connection yes

For SQL Server Authentication:

  • Set --auth sql
  • Add --username and --password

Features

Tools

  • get_allowed_databases: Get list of databases that are allowed to be accessed
  • read_query: Execute SELECT queries
  • write_query: Execute INSERT/UPDATE/DELETE queries
  • create_table: Create new tables
  • list_tables: List all tables in database
  • describe_table: Show table schema

from github.com/hanweg/mcp-sqlexpress

Installing SQL Server Express

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/hanweg/mcp-sqlexpress

FAQ

Is SQL Server Express MCP free?

Yes, SQL Server Express MCP is free — one-click install via Unyly at no cost.

Does SQL Server Express need an API key?

No, SQL Server Express runs without API keys or environment variables.

Is SQL Server Express hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install SQL Server Express in Claude Desktop, Claude Code or Cursor?

Open SQL Server Express on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare SQL Server Express with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All data MCPs