AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

MCP InspectorでMCPサーバーをテストする方法

MCP Inspector を使うには、Web UI なら npx @modelcontextprotocol/inspector を実行し、スクリプトから操作できるクライアントが欲しい場合は --cli を付けます。あとはサーバー(stdio コマンドまたは HTTP URL)を指定して、ハンドシェイクを確認し、ツール・リソース・プロンプトを一覧表示して、ツールを1つ呼び出します。CLI は JSON と安定した終了コードを返すので、同じチェックをそのまま CI に組み込めます。 今すぐ Apidog を試す 以下では、実際のサーバーに対して各ステップを実行し、そのチェックをコーディングエージェントが保守する自動テストスイートに仕上げていきます。 MCP Inspector とは? MCP Inspector は、Model Context Protocol プロジェクトが提供する公式の開発者ツールで、MCP サーバーのテストとデバッグに使います。実際のクライアントと同じようにサーバーへ接続し、initialize ハンドシェイクを完了したうえで、ツールの一覧表示と実行、リソースの読み取り、プロンプトの取得ができるので、エージェントから見えるものをそのまま確認できます。 現在のリリースは v2 系です(2026年12月1日時点で npm では 2.17.0)。単一のパッケージ @modelcontextprotocol/inspector として提供され、操作方法は次の3つです: モード コマンド 適した用途 Web UI npx @modelcontextprotocol/inspector 手動でサーバーを調査する、スキーマを読む、ツール引数を試す CLI npx @modelcontextprotocol/inspector --cli スクリプト、CI ジョブ、コーディングエージェントへの迅速なフィードバック TUI npx @modelcontextprotocol/inspector --tui ターミナル内や SSH 経由での対話的なテスト 3つとも stdio(Inspector がサーバーを起動)、Streamable HTTP、SSE に対応しています。他のツールについてはベスト MCP インスペクターのまとめを参照してください。本記事では公式のものだけを扱います。 始める前に必要なもの 必要なものは3つです: サポート対象の Node.js。 2.17.0 は ^22.23.4 || ^24.22.1 || >=26.12.1 を宣言しています。古いパッチリリースでは EBADENGINE 警告が出ます(手元では Node 24.15 でも動作しました)。 MCP サーバー。 自作のものでも、公式の Everything リファレンスサーバー(@modelcontextprotocol/server-everything)でもかまいません。後者は17個のツール、4個のプロンプト、8個のリソースを公開しています。 jq(CLI をスクリプト化するため)。 初回接続時に npx がサーバーをダウンロードしている間にタイムアウトしないよう、両方のパッケージをローカルにインストールしておきます: npm i -D @modelcontextprotocol/inspector@2.17.0 @modelcontextprotocol/server-everything ステップ1:サーバーに対して MCP Inspector を起動する Web UI を起動する 対象を指定せずに Inspector を実行すると、Web UI が開きます: npx mcp-inspector 次のようなバナーが表示され、ブラウザが開きます: MCP Inspector Web is up and running at: http://127.0.0.1:6274?MCP_INSPECTOR_API_TOKEN=<token> Sandbox (MCP Apps): http://127.0.0.1:6275/sandbox Secrets: OS keychain ポート 6274 が UI を提供し、6275 は MCP Apps のサンドボックスです。トークンは起動ごとにランダムに生成され、すべての /api/* 呼び出しを保護するので、その URL は共有しないでください。シークレットは OS のキーチェーンに保存されます。キーチェーンのないヘッドレス環

Reference details

Source category
research-report
First reported
Dec 01, 2026 06:03 UTC
Last reported
Dec 01, 2026 06:03 UTC
Catalog updated
Dec 01, 2026 06:11 UTC
Record ID
162faf2e8e1bbd6d878749fdfd0871cc569ccf7213869ee39ce41d95cbc1350a

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_6dc544294b7f21f98a

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Dec 01, 2026 06:03 UTC
Retrieved
Dec 01, 2026 06:11 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_6dc544294b7f21f98aRecent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.