Skip to main content
Glama
mcp-server-mcpindex

mcp-server-mcpindex

Official
by mcpindex-ai

mcp-server-mcpindex

mcpindex npm npm downloads servers indexed screened last commit Smithery Glama

MCPサーバーを探すためのMCPサーバー。さらに、エージェントフレームワークがツールを呼び出す前に参照できるアドバイザリートラスト判定を提供します。mcpindex.ai から。

エージェントループ内で他のMCPサーバーを発見・比較・インストール・事前チェックできる、そのまま使えるMCPサーバーです。mcpindex.ai をバックエンドとし、公式レジストリのエージェントネイティブなMCPサーバーインデックス(ライブ数は mcpindex.ai/stats で確認)を提供。毎日スクリーニングとドリフト監視を行っています。

ライブサイト · npx mcp-server-mcpindex · リモートMCP · インストールゲート · ドキュメント · 信頼

インストール

npm install -g mcp-server-mcpindex

これはディレクトリ / アドバイザリークライアント(推奨、検索、信頼)です。パス内ドリフトゲートはインストールしません。それは curl -fsSL https://mcpindex.ai/install.sh | sh です。

Node 20+ が必要です。stdio で両方のプロトコル世代に対応しています:2026-07-28 リビジョン(server/discover、リクエストごとの _meta エンベロープ)と、現在のすべてのクライアントが使用する initialize ハンドシェイク(2025-11-25 から 2024-10-07 まで)。接続ごとに選択されます。

またはリモート接続(インストール不要)

何もインストールしたくないですか? mcpindex はホスト型リモートMCPサーバーでもあります。リモートMCPをサポートする任意のクライアント(Claude コネクタ、Cursor など)を次の場所に向けてください:

https://mcpindex.ai/api/mcp

ストリーミングHTTP、認証情報不要。npm パッケージと同じ6つのツールを提供します。

Claude Code

claude mcp add --scope user mcpindex -- npx -y mcp-server-mcpindex@latest

Gemini CLI

gemini mcp add -s user mcpindex npx -y mcp-server-mcpindex@latest

Related MCP server: filesystem-mcp

Claude Desktop から使う

~/Library/Application Support/Claude/claude_desktop_config.json に追加:

{
  "mcpServers": {
    "mcpindex": {
      "command": "npx",
      "args": ["-y", "mcp-server-mcpindex@latest"]
    }
  }
}

@latest で最新を維持:これはアドバイザリー発見サーバー(パス内ドリフトゲートではない)なので、バージョン固定はありません。npx は次回ホスト再起動時に最新版を取得します。手動アップグレードは不要です。

Claude Desktop を再起動します。そして次のように尋ねます:

「PDFを読んでS3に書き込めるMCPサーバーを探して」

Claude は recommend_mcp_for_task を呼び出し、インストールコマンド付きの上位3サーバーを返します。

Cursor から使う

.cursor/mcp.json に追加:

{
  "mcpServers": {
    "mcpindex": {
      "command": "npx",
      "args": ["-y", "mcp-server-mcpindex@latest"]
    }
  }
}

Cline から使う

Cline の設定に追加:

npx -y mcp-server-mcpindex@latest

公開ツール

ツール

説明

recommend_mcp_for_task

自然言語のタスクを渡します。推論、インストールコマンド、品質スコア付きの上位3サーバーを返します。

search_mcp_servers

レジストリ全体のキーワード + セマンティック検索。オプションのカテゴリフィルター。

get_install_command

サーバー + クライアント(Claude Desktop、Claude Code、Cursor、Gemini CLI、Cline、Zed)の正確なインストールJSON/CLIを取得します。

compare_servers

2〜5サーバーの並列比較 - 品質スコア、インストールパス、環境変数。

check_tool_trust

サーバー上の特定ツールに対する呼び出し前のアドバイザリー判定。フェイルクローズド:判定がファイルにない場合は UNVERIFIED を返します。

assess_server

サーバー上の全ツールにわたる集約された事前フライト判定。check_tool_trust と同じ形状。

エージェントフレームワーク統合:アドバイザリー事前呼び出しスクリーニング

check_tool_trust はディレクトリクライアント統合サーフェスです(パス内 mcpindex-gate ではありません)。エージェントフレームワーク(Composio、Mastra、LangChain、DSPy、生のLLMツール呼び出しループ)が、呼び出しをディスパッチする前にアドバイザリースクリーニング判定を要求できるようにします。v1 では REVIEW または UNVERIFIED が表示されます。安全クリアランスではありません。

Mastra を使っていますか? 姉妹パッケージ @mcp-index/mastra は、この正確なスクリーニングを既製の beforeToolCall フックとして提供します。npm i @mcp-index/mastra で配線不要です。

判定契約(v1)

{
  "directive": "ALLOW" | "DENY" | "REVIEW" | "UNVERIFIED",
  "status":    "EVALUATED" | "PARTIAL" | "STALE" | "ERROR",
  "granularity": "description-level" | null,  // scope of a PARTIAL screen
  "dimensions": [
    { "id": "tool_safety", "verdict": "PASS", "severity": "INFO" }
  ],
  "expires_at": "2026-06-30T00:00:00Z",
  "honest_limits": [
    "conformance_monitored_not_enforced",
    "calibrated_false_v1",
    "advisory_deployment"
  ],
  "verdict_contract_version": "1.0.0",
  "server_id": "github",
  "tool_name": "create_pull_request",
  "source_url": "https://mcpindex.ai/api/v1/trust/tool/github/create_pull_request",
  "fetched_at": "2026-05-28T18:42:11.118Z"
}

無料層の判定には、ディレクティブ + ディメンション + 鮮度が含まれます。エビデンス引用、LLM の根拠、チェーン履歴は有料層のサーフェスであり、ここでは意図的に省略されています。

正直な限界(ゲートUIに固定してください)

すべての v1 判定には次の3つの注意事項が付属し、ゲートはすべてのディスパッチ決定でこれらを表示するべきです:

  1. conformance_monitored_not_enforced - パブリッシャーは自己申告。mcpindex はドリフトを監視しますが、ネットワーク層でブロックしません。

  2. calibrated_false_v1 - ディメンションの重大度は、実際のインシデントデータに対してまだ較正されていません。

  3. advisory_deployment - 判定はアドバイザリーです。エージェント(またはエージェントをレビューする人間)が意思決定者です。

履歴アンカリング:OTS Bitcoin アンカー履歴。Bitcoin 確定は N=6 確認(約1時間)。約10分で保留。サブウィンドウ精度は主張されており、証明されていません。

統合パターン(LangChain スタイル、直接 LLM ツール呼び出し規約)

import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';

const mcpindex = new Client({ name: 'gate', version: '1.0.0' }, { capabilities: {} });
await mcpindex.connect(new StdioClientTransport({
  command: 'npx', args: ['-y', 'mcp-server-mcpindex@latest'],
}));

// gateToolCall wraps any agent tool dispatch. Plug it in front of
// the LangChain / DSPy / Mastra / Composio tool-call hook.
async function gateToolCall({ serverId, toolName, invoke, askHuman }) {
  const res = await mcpindex.callTool({
    name: 'check_tool_trust',
    arguments: { server_id: serverId, tool_name: toolName },
  });
  const verdict = JSON.parse(res.content[0].text);

  // Pin the v1 caveats in the audit log no matter what.
  audit.log({ verdict, caveats: verdict.honest_limits });

  switch (verdict.directive) {
    case 'REVIEW':
      // Fail-CLOSED to human. Do NOT auto-execute on REVIEW.
      // At v1 this is the common screened outcome (semantic-only).
      return askHuman({ verdict, action: `${serverId}/${toolName}` });

    case 'UNVERIFIED':
      // No verdict on file (or upstream unreachable). Fail-CLOSED.
      // Recommend human review. Do NOT fail-open to invoke().
      return askHuman({
        verdict,
        action: `${serverId}/${toolName}`,
        note: 'No trust verdict on file. Human review required before first use.',
      });

    case 'ALLOW':
      // Reserved in the contract — not produced by the v1 public screen.
      // Keep the branch for future conformance-earned ALLOW; do not expect it today.
      return invoke();

    case 'DENY':
      // Reserved in the contract — not produced by the v1 public screen.
      throw new Error(
        `mcpindex denied ${serverId}/${toolName}: ${JSON.stringify(verdict.dimensions)}`,
      );

    default:
      // Unknown directive. Fail-CLOSED.
      return askHuman({ verdict, action: `${serverId}/${toolName}` });
  }
}

重要なルール:フェイルオープン禁止

判定エンドポイントに到達できない、404 を返す、タイムアウトする、不正な JSON を返す、またはそのサーバーに対する判定がまだファイルにない場合、check_tool_trust は directive: "UNVERIFIED" + status: "ERROR" を返します。決して黙って ALLOW に変換しません。ゲートコードは UNVERIFIED を「人間のレビューが必要」として扱うべきであり、「問題ない、出荷しよう」とは決して扱わないでください。

status はスクリーニングの完全性に関するテレメトリであり、directive の信頼決定とは異なります:EVALUATED(完全なスクリーニング)、PARTIAL(サーフェスの一部のみ、例:説明レベル - granularity を参照)、STALE(鮮度ウィンドウを過ぎた判定)、ERROR(到達不能 / 判定なし)。PARTIAL スクリーニングが EVALUATED として報告されることはありません。

これはテスト済みです。test/trust.test.mjs を参照してください。

ライブラリを直接使う(MCP なし)

トラストクライアントはプレーンな ES モジュールとしてもエクスポートされています:

import { checkToolTrust, assessServer } from 'mcp-server-mcpindex/src/trust.mjs';

const verdict = await checkToolTrust({
  serverId: 'github',
  toolName: 'create_pull_request',
});

if (verdict.directive !== 'ALLOW') {
  // Hand to a human, log, or block.
}

バックエンド

デフォルトでは、呼び出しは https://mcpindex.ai に送信されます。セルフホストする場合は MCPINDEX_API_BASE=... で上書きします。

無料層は 60 req/min/IP にレート制限されています。有料キーは、より高いスループットと完全なエビデンス付き判定(エビデンス引用、LLM の根拠、チェーン履歴)のために近日提供予定です。

関連パッケージ

mcpindex をエージェントに取り込む3つの方法。異なるサーフェス向け:

パッケージ

インストール

説明

mcp-server-mcpindex (このパッケージ)

npm i -g mcp-server-mcpindex

ディレクトリ + アドバイザリースクリーンを MCP サーバーとして提供:タスクでサーバーを検索し、呼び出し前に check_tool_trust を実行。

@mcp-index/mastra

npm i @mcp-index/mastra

同じアドバイザリースクリーンを Mastra の beforeToolCall フック(警告 / 強制)として配線。

@mcp-index/sdk

npm i @mcp-index/sdk

パス内ドリフトゲート:MCP セッションを wrap() し、ツールの契約がピンからドリフトしたときに呼び出しを HOLD します。

アドバイザリースクリーン vs ドリフトゲート: このパッケージと @mcp-index/mastra は mcpindex に「このツールは審査済みか?」(ネットワーク判定)を尋ねます。@mcp-index/sdk はローカルで異なる質問をします:「ピンしたときからこのツールの契約は変わったか?」 補完的であり、どれも他に依存しません。

ライセンス

MIT。

プロジェクト

非公式です。Anthropic とは提携していません。

Available Tools

6 tools
assess_serverA

Aggregated pre-flight trust assessment across all tools on an MCP server. Same verdict shape as check_tool_trust. Use for "is THIS server worth integrating?" decisions. v1 advisory; conformance monitored not enforced; verdicts may be UNVERIFIED if not yet probed.

Inputs: server_id (required).

check_tool_trustA

Pre-invocation advisory screen for a specific tool on an MCP server. Returns an advisory verdict object (directive ALLOW | DENY | REVIEW | UNVERIFIED, dimensions, freshness). At v1 the public screen produces REVIEW or UNVERIFIED only — ALLOW/DENY are reserved. Not the in-path gate (mcpindex-gate). Agents SHOULD treat UNVERIFIED as "human review required", never as ALLOW.

Inputs: server_id (required), tool_name (required).

compare_serversA

Side-by-side comparison of 2-5 MCP servers - quality scores, install paths, transport types, env vars.

Inputs: slugs (required).

get_install_commandA

Get the exact install command for a given MCP server and client. Returns a JSON block ready to paste into the client config.

Inputs: client (required), server_slug (required).

recommend_mcp_for_taskA

Recommend the best MCP servers for a natural-language task. Returns top 3 ranked picks with reasoning, install commands, and quality scores. Use this when the user asks for the right MCP server for a task they want to do.

Inputs: task (required).

search_mcp_serversA

Keyword + semantic search across the full MCP server registry. Use when the user knows what tool category they want but not which server.

Inputs: query (required), limit, category.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a clearly distinct purpose: search, recommend, compare, install, and two levels of trust assessment (server-level and tool-level). Even the trust tools are well-differentiated by scope.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case: assess_server, check_tool_trust, compare_servers, get_install_command, recommend_mcp_for_task, search_mcp_servers.

    Tool Count5/5

    With 6 tools covering search, recommendation, comparison, installation, and trust, the number is well-scoped for a server registry/helper. No tools feel redundant or unnecessary.

    Completeness4/5

    The set covers the core workflow of finding, evaluating, and installing MCP servers. A minor gap is the lack of a tool to retrieve full metadata for a single server (e.g., description, version), but search and comparison partially fill that need.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers