CM

connorbritain/mssql-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

38 stars 12 forks 品質 76 トレンド 4MIT

スキーマの検出、データ操作および管理のための20の用具が付いているSQLサーバーのための企業MCPサーバー.

概要

実際のデータベースワークのために構築されたプロダクション・レディ MCP サーバー: 比類のないスキーマを探索し、データ形状をプロファイリングし、UATのパイプラインを検証し、自信を持って生産に移行します。 SQL Server と連携し、エンタープライズデータベースのワークフローを理解した AI ツーリングを望むなら、これはあなたのためのものです。 セキュリティ要件に合ったティアを選択します。 すべての層は、同じガバナンス制御、監査ロギング、およびマルチ環境サポートを共有します。 ほとんどのSQL + AI デモは "クエリを生成する" で停止します。 それはテーブルのステークです。 実際のデータベースの作業手段: - あなたは、多くの場合、暗号化されたネーミング条約で設計しませんでした - 何かを書く前に - 悪いUPDATEがインシデントをトリガーすることができます調整された環境で - ので、彼らは生産に当たる前に変更を検証することができます このサーバーは、その現実性を中心に構築されています。 デフォルトで安定してセキュアで、AI アシスタントをエンタープライズ SQL Server インスタンスで本当に便利です.

概要(AI 翻訳)

Microsoft SQL Server 用の Enterprise グレードのモデルコンテキスト プロトコル サーバー。**

実際のデータベースワークのために構築されたプロダクション・レディ MCP サーバー: 比類のないスキーマを探索し、データ形状をプロファイリングし、UATのパイプラインを検証し、自信を持って生産に移行します。 SQL Server と連携し、エンタープライズデータベースのワークフローを理解した AI ツーリングを望むなら、これはあなたのためのものです。

パッケージティア

| パッケージ | npm | ツール | ユースケース | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |mssql-mcp-reader | 【[T0] | 14 読み込み専用 | アナリスト・監査役・安全探査 | |mssql-mcp-writer | 【[T1] | 17(読者+データオプス) | データエンジニア、ETL開発者 | | mssql-mcp-server**(this) | [[@connorbritain/mssql-mcp-server | 20(all tools) | DBAs 完全管理者アクセス |

セキュリティ要件に合ったティアを選択します。 すべての層は、同じガバナンス制御、監査ロギング、およびマルチ環境サポートを共有します。

お問い合わせ

なぜこの例

ほとんどのSQL + AI デモは “クエリを生成する” で停止します。 それはテーブルのステークです。 実際のデータベースの作業手段:

  • 大規模なスキーマをナビゲートあなたは、多くの場合、暗号化ネーミング条約で設計しませんでした

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MSSQL MCP Server

Enterprise-grade Model Context Protocol server for Microsoft SQL Server.

A production-ready MCP server built for real-world database work: exploring unfamiliar schemas, profiling data shape, validating pipelines in UAT, and moving confidently to production. If you work with SQL Server and want AI tooling that understands enterprise database workflows, this is for you.

Package Tiers

Package npm Tools Use Case
mssql-mcp-reader @connorbritain/mssql-mcp-reader 14 read-only Analysts, auditors, safe exploration
mssql-mcp-writer @connorbritain/mssql-mcp-writer 17 (reader + data ops) Data engineers, ETL developers
mssql-mcp-server (this) @connorbritain/mssql-mcp-server 20 (all tools) DBAs, full admin access

Choose the tier that matches your security requirements. All tiers share the same governance controls, audit logging, and multi-environment support.


Why This Exists

Most SQL + AI demos stop at “generate a query.” That’s table stakes. Real database work means:

  • Navigating massive schemas you didn’t design, often with cryptic naming conventions
  • Understanding data shape before writing anything
  • Working safely in regulated environments where one bad UPDATE can trigger an incident
  • Moving fast in UAT so you can validate changes before they hit production

This server is built around those realities. It’s stable, secure by default, and designed to make AI assistants genuinely useful on enterprise SQL Server instances.


What’s here today

  • Semantic schema discovery – search_schema finds tables/columns via wildcards with fuzzy matching and paginated results so large databases don’t blow up your context window.
  • Table profiling – profile_table summarizes column shape (null %, cardinality, min/max/avg/median/p90) and can return a capped sample of rows.
  • Relationship mapping – inspect_relationships enumerates inbound/outbound FKs with column mappings, so you can follow dependencies before touching data.
  • Flexible authentication – SQL auth, Windows auth, and Azure AD are supported; pick what matches your infra.
  • Safe data operations – read_data, describe_table, list_table, plus write tools (insert_data, update_data, delete_data, create_table, create_index, drop_table) when you need full agent-mode workflows.
  • Preview + Confirm for mutations – update_data and delete_data show affected rows before execution; require explicit confirmation to proceed.
GitHub で README 全文を見る

インストール

npx @connorbritain/mssql-mcp-server@latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "mssql": { "command": "npx", "args": ["@connorbritain/mssql-mcp-server@latest"], "env": { "SERVER_NAME": "localhost", "DATABASE_NAME": "mydb", "READONLY": "true" } } } }