Skip to main content
Glama
hanweg

SQL Server Express MCP Server

by hanweg

SQL Server Express MCP サーバー

Microsoft SQL Server Express と連携するための MCP サーバー。Windows および SQL Server 認証をサポートします。

前提条件

  • Python 3.10以上

  • SQL Server 用 Microsoft ODBC ドライバー 18

  • 適切な権限を持つ SQL Server インスタンス

Related MCP server: Jewei MSSQL MCP Server

インストール

このリポジトリをクローンする

cd mcp-sqlexpress

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

# Install dependencies
uv pip install --editable .

Claude Desktopでの使用

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"
            ]
        }
    }
}

認証オプション

Windows 認証の場合:

  • --auth windowsを設定する

  • --trusted-connection yes設定する

SQL Server 認証の場合:

  • --auth sqlを設定する

  • --username--passwordを追加する

特徴

ツール

  • get_allowed_databases : アクセスが許可されているデータベースのリストを取得する

  • read_query : SELECTクエリを実行する

  • write_query : INSERT/UPDATE/DELETEクエリを実行する

  • create_table : 新しいテーブルを作成する

  • list_tables : データベース内のすべてのテーブルを一覧表示する

  • describe_table : テーブルスキーマを表示する

-
security - not tested
A
license - permissive license
-
quality - not tested

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/hanweg/mcp-sqlexpress'

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