プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

SqlServerMcp

作者:Nithish1206バージョン 1.0.6i★ –iパソコンで動く
レジストリ名io.github.Nithish1206/SqlServerMcp

インストール

概要

作者による説明(英語の原文)

MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: データベース・データセット

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: ConnectionStrings__MyDb, Query__DefaultTop, Query__MaxTop

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "sqlservermcp": {
      "command": "dnx",
      "args": [
        "SqlServerMcp",
        "--yes"
      ],
      "env": {
        "ConnectionStrings__MyDb": "your-value",
        "Query__DefaultTop": "your-value",
        "Query__MaxTop": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add sqlservermcp --env ConnectionStrings__MyDb=your-value --env Query__DefaultTop=your-value --env Query__MaxTop=your-value -- dnx SqlServerMcp --yes

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "sqlservermcp": {
      "command": "dnx",
      "args": [
        "SqlServerMcp",
        "--yes"
      ],
      "env": {
        "ConnectionStrings__MyDb": "your-value",
        "Query__DefaultTop": "your-value",
        "Query__MaxTop": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "sqlservermcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "SqlServerMcp",
        "--yes"
      ],
      "env": {
        "ConnectionStrings__MyDb": "your-value",
        "Query__DefaultTop": "your-value",
        "Query__MaxTop": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • ConnectionStrings__MyDb env
  • Query__DefaultTop env
  • Query__MaxTop env

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Nithish1206 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

データベース・データセットのほかのサーバーとの比較i

  • このカテゴリのほかの953件のうち0%よりスターが多い
  • このカテゴリのほかの953件のうち17%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの953件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

SqlServerMcpは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.6)がレジストリに届いたのは4 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンに.NETも必要です。

代わりに使えるものは?

同じカテゴリには:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

パソコンでもクラウドでも★ 2,993Apache-2.0昨日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

SqlServerMcp

A Model Context Protocol (MCP) server for SQL Server. Exposes schema inspection, safe read-only queries, and query plan analysis as MCP tools.

How it works: This server does not accept natural-language questions. Instead, the connected AI tool (the MCP client) decides and generates the SQL query based on the user's intent and the schema it inspects via the tools below. The server only executes the SQL the AI produces, under the safety rules described in Safety.

Install

dotnet tool install -g SqlServerMcp

Configure

Configuration is done entirely through environment variables in your MCP client config. No need to edit any files — just add your connection strings and query settings directly in the env block.

Add the following to your MCP client configuration (e.g. Claude Desktop claude_desktop_config.json):

{

"mcpServers": { "sqlserver": { "command": "sqlservermcp", "env": { "ConnectionStrings__MyDb": "Server=localhost;Database=MyDatabase;Trusted_Connection=True;TrustServerCertificate=True;", "QueryDefaultTop": "1000", "QueryMaxTop": "500000" } } } }

Environment Variable Format
VariableDescription
ConnectionStrings__ SQL Server connection string. Add multiple with different names.
Query__DefaultTopDefault row limit for queries (default: 1000)
Query__MaxTopMaximum allowed row limit (default: 500000)

Note: Use double underscores (__) as the separator — this is the .NET configuration convention for environment variables.

Multiple Databases

You can configure multiple databases by adding multiple connection string variables:

{

"env": { "ConnectionStringsProduction": "Server=prod-server;Database=ProdDb;...", "ConnectionStringsStaging": "Server=staging-server;Database=StagingDb;..." } }

Then use the ListDatabases tool to see available names, and pass the database name to any query tool.

Available Tools

ToolDescription
ListDatabasesList available database names configured in this server
ListTablesList all user tables in a database
DescribeTableDescribe columns of a specific table (schema.table format)
GetDatabaseSchemaReturn full database schema: tables, columns, PKs, FKs
SearchSchemaSearch tables and columns by keyword
RunQueryExecute a safe read-only SELECT query with auto row-limiting
ExplainQueryExplain a SELECT query using estimated execution plan

Example

Prompt:

*"Using the MyDb database, show me the top 5 customers by total order amount in 2025."*

The AI generates and executes the query by calling SearchSchema / DescribeTable to discover the tables, then passing this SQL to RunQuery:

SELECT TOP 5 c.CustomerId, c.Name, SUM(o.TotalAmount) AS TotalSpent

FROM dbo.Customers c JOIN dbo.Orders o ON o.CustomerId = c.CustomerId WHERE YEAR(o.OrderDate) = 2025 GROUP BY c.CustomerId, c.Name ORDER BY TotalSpent DESC;

Expected output:

CustomerIdNameTotalSpent
1042Acme Corp184500.00
778Globex Ltd162300.50
2310Initech149875.25
915Soylent Inc138420.00
604Umbrella Co121990.75

Disclaimer: The accuracy of the generated SQL and the final output depends on the AI model you select in your MCP client. More capable models produce more reliable queries; weaker models may misinterpret the schema or the intent of the prompt.

Safety

  • Only SELECT queries are allowed — all write operations are blocked
  • Queries are automatically row-limited to prevent runaway results
  • Connection strings are configured server-side, never exposed to the AI client

License

MIT

PopNxに聞く