SQL Server Express MCP Server
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: MCP SQL 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: テーブルスキーマを表示する
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnables AI assistants to interact with both local SQL Server and Azure SQL Database through natural language, supporting queries, data manipulation, and schema operations with built-in security features.82,621 npm1-
- AlicenseNot gradedqualityDmaintenanceAn MCP server for Microsoft SQL Server integration that enables users to query, monitor, and analyze databases directly through Claude. It supports schema exploration, performance analysis, and optional write operations via natural language commands.9 npm1MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with Microsoft SQL Server instances using Windows or SQL Server authentication via native ODBC drivers. It allows users to execute SQL queries, list tables, and inspect schemas across multiple configured database environments through natural language.-
- AlicenseBqualityDmaintenanceEnables AI agents to interact with Microsoft SQL Server databases via MCP, supporting table listing, schema retrieval, and CRUD operations.31MIT