プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Test Inventory

作者:Huldoserバージョン 0.10.0i★ 3iパソコンで動く公式サイト ↗
レジストリ名io.github.Huldoser/test-inventory

インストール方法

What it does

Discover tests, skip reasons and affected tests, and compare inventories without running tests.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category ネットショップ・決済

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気26/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア38/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: 64 (「急上昇」タブでのみ使用)

インストール

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

ひとことで AI にインストールしてもらう

Test Inventory をインストールして。https://mcp.popnx.com/i/huldoser-test-inventory.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月17日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Test Inventory を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "test-inventory": { "command": "npx", "args": [ "-y", "test-inventory-mcp", "--root", "your-value" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Test Inventory のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "test-inventory": {
          "command": "npx",
          "args": [
            "-y",
            "test-inventory-mcp",
            "--root",
            "your-value"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Test Inventory を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Test Inventory を使っていると言うか、回答に Test Inventory のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Test Inventory につなげません

Test Inventory はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Test Inventory につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ) · ワンクリックのボタンはありません。設定を貼り付けて値を自分で入力します
  • 先にパソコンへ Node.js を入れてください(1 回だけ) · ワンクリックのボタンはありません。設定を貼り付けて値を自分で入力します

B · ネットショップ・決済 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Test Inventory を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user test-inventory -- npx -y test-inventory-mcp --root your-value 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Test Inventory のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user test-inventory -- npx -y test-inventory-mcp --root your-value
  4. Claude Code で /mcp と入力

    Test Inventory が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Test Inventory を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Test Inventory を使っていると言うか、回答に Test Inventory のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · ワンクリックのボタンはありません。設定を貼り付けて値を自分で入力します

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Test Inventory を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "test-inventory": { "command": "npx", "args": [ "-y", "test-inventory-mcp", "--root", "your-value" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Test Inventory のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. Cursor の MCP 設定ファイルを開く

    ~/.cursor/mcp.json

    この設定を貼り付け、空いている値を入力して保存

    {
      "mcpServers": {
        "test-inventory": {
          "command": "npx",
          "args": [
            "-y",
            "test-inventory-mcp",
            "--root",
            "your-value"
          ]
        }
      }
    }
  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Test Inventory を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Test Inventory を使っていると言うか、回答に Test Inventory のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · ワンクリックのボタンはありません。設定を貼り付けて値を自分で入力します

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Test Inventory を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "test-inventory": { "type": "stdio", "command": "npx", "args": [ "-y", "test-inventory-mcp", "--root", "your-value" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Test Inventory のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. VS Code の MCP 設定ファイルを開く

    MCP: Open User Configuration

    この設定を貼り付け、空いている値を入力して保存

    {
      "servers": {
        "test-inventory": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "test-inventory-mcp",
            "--root",
            "your-value"
          ]
        }
      }
    }
  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Test Inventory を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Test Inventory を使っていると言うか、回答に Test Inventory のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Test Inventory を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user test-inventory -- npx -y test-inventory-mcp --root your-value

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "test-inventory": {
      "command": "npx",
      "args": [
        "-y",
        "test-inventory-mcp",
        "--root",
        "your-value"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "test-inventory": {
      "command": "npx",
      "args": [
        "-y",
        "test-inventory-mcp",
        "--root",
        "your-value"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "test-inventory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "test-inventory-mcp",
        "--root",
        "your-value"
      ]
    }
  }
}

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

ひと目でわかる

週あたりのダウンロードi
1,271/週
接続方法
パソコンで動く
最新バージョンi
0.10.0
レジストリ公開日i
2026年11月17日
コードの最終更新i
2026年11月18日
作者
Huldoser
パッケージ
npm: test-inventory-mcp
ウェブサイト
huldoser.github.io
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • ✓ 合格

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

    コードの最終更新:昨日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

公開済みの脆弱性(OSV.dev)

まだ確認していません

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/huldoser-test-inventory.svg)](https://mcp.popnx.com/en/servers/huldoser-test-inventory)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

ネットショップ・決済のほかのサーバーとの比較i

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

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

よくある質問

Test Inventoryは安全ですか?

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

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

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

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

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

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

GitHubリポジトリの最終更新は昨日、最新バージョン(0.10.0)がレジストリに届いたのは一昨日です。

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

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

代わりに使えるものは?

同じカテゴリには:Stripe MCP, flightclaw, Trade It, Marketplace Ad Pros: Amazon Ads & Seller Central, idealo MCP Server

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

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

Stripe MCP

MCP server integrating with Stripe - tools for customers, products, payments, and more.

作者:stripe広く使われている★ 207213 か月前更新

クラウドで動く✓ 提供元 · stripe.com

flightclaw

Search ~300 airlines and book flights with a checkout link. OAuth sign-in by email code.

作者:flightclaw成長中★ 862 か月前更新

クラウドで動く✓ 提供元 · flightclaw.com

Trade It

Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.

作者:trade-it-inc初期★ 6234 日前更新

クラウドで動く✓ 提供元 · tradeit.app

idealo MCP Server

Search products, compare prices and discover deals across 6 European markets with your AI assistant.

作者:idealo初期★ 286 か月前更新

クラウドで動く✓ 提供元 · mcp.idealo.com
似たものと比べる
これ
Test Inventory
Stripe MCPflightclawTrade ItMarketplace Ad Pros: Amazon Ads & Seller Centralidealo MCP Server
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえはいいいえいいえいいえいいえ
基本チェック3/34/44/45/54/44/4
ライセンスMITMITMITCC0-1.0MITMIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

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

test-inventory-mcp

An MCP server for test-inventory: AI agents ask which tests a project has, which are skipped and why, and which tests a change can affect, without running them.

It reads Playwright, Vitest, Jest, Mocha, Jasmine, Cypress, WebdriverIO, node:test and Bun test files with test-inventory and answers from their source code. The running server executes no project code, writes no files and opens no network connections. Installation through npx may download packages. Answers are passed to the MCP client; its model provider and privacy settings determine what happens to that text next.

Setup

The server requires test-inventory 0.11.0 or a later 0.11 patch, including its support for older runner versions and where each test reaches code the scan can't follow.

Node.js 22.12 or newer. The client starts the server with npx and talks to it over standard input and output. The server scans the test files your test runner's config runs, with the runner --framework names or, without it, the one the project uses. Globs pick the files instead, as on test-inventory's command line.

Claude Code, in the project folder. --scope project writes .mcp.json, for everyone who works on the project:

claude mcp add --scope project test-inventory -- npx -y test-inventory-mcp@0.10 --framework playwright

Cursor, in .cursor/mcp.json:

{

"mcpServers": { "test-inventory": { "command": "npx", "args": ["-y", "test-inventory-mcp@0.10", "--framework", "playwright"] } } }

VS Code, in .vscode/mcp.json:

{

"servers": { "test-inventory": { "type": "stdio", "command": "npx", "args": ["-y", "test-inventory-mcp@0.10", "--framework", "playwright"] } } }

Without --framework, as in a configuration shared by every project, each call scans with the runner the project uses. In a project with several runners the agent passes framework, as the tools tell it, and patterns when it wants other files than the configs run.

The project is the folder given with --root, otherwise the one Claude Code names in CLAUDE_PROJECT_DIR, otherwise the folder the client starts the server in.

Verify the setup
  1. Open your client's MCP server list and confirm that test-inventory is connected. In Claude Code use /mcp; in VS Code run MCP: List Servers from the Command Palette; in Cursor open its MCP settings.
  2. Confirm the five tools below are available, then ask: "Use test-inventory to summarize this project's tests."
  3. Check that test_summary reports the expected framework and file counts. If it reports scanErrors, ask the agent to call scan_diagnostics before trusting the counts.

Try "List tests marked fixme, with their conditions and reasons" or "Which tests may be affected by a change to pages/orders-blotter.ts?" A conditional skip is not proof a test was skipped in a run. Expected-to-fail tests run; their non-active state does not mean they are disabled. See key concepts.

Command line

test-inventory-mcp [--framework <name>] [<glob...>] [--root <dir>]
OptionMeaning
--framework playwright, vitest, jest, mocha, jasmine, cypress, webdriverio, node or bun. Without it, the runner the project uses. A tool call can pass another.
The test files, relative to the project, in place of those the configs run. A tool call can pass others.
--root The project. Tool calls can scan folders inside it, never outside.
-h, --helpPrint the help.
-v, --versionPrint the version.

Tools

The generated tool reference lists each argument's type, default and bounds, response fields, complete request/response examples, pagination and errors. It is checked against the running server in tests.

ToolAnswers
test_summaryCounts by state, tag and annotation, and the configs with their projects; with groupBy, the counts of each file, tag or project.
find_testsThe tests that match states, tags, grep, related, projects, only or withoutReason, with the fields you pick.
get_testsEvery key of up to 20 tests by ids, with the scan's diagnostics about them; ids it can't find come back in notFound.
scan_diagnosticsThe problems the scan found, such as a file that failed to parse, by levels, codes or path.
diff_inventoriesChanges between saved scans named by before and after, including renames, moves and newly declared skip states.

A typical call sequence is test_summary, find_tests, then get_tests for a few returned ids. For example, the arguments to find_tests can be:

{

"states": ["skip", "fixme"], "fields": ["fullName", "state", "condition", "reason"], "limit": 10 }

The answer contains matching tests, their total, scanErrors, nextCursor and hint, plus the framework and its version. The records have selected keys and their id. Pass a non-null nextCursor as cursor with the same other arguments to read another page; a narrow filter returning zero tests is a valid result.

related takes the files a change touches, from the project root as git diff --name-only writes them, and keeps the tests whose dependencies include one of them, and those that reach code the scan can't follow, as test-inventory's --related does. The filter uses the actual scanned folder when directory names an internal link or an absolute path inside the project. It also keeps tests that import a changed helper elsewhere in the project, outside that scanned folder. dependencies can list hundreds of files, so it isn't among the default fields, and get_tests returns as many tests as fit in one answer, with the other ids in remaining. An id stays the same when a test moves to another line, and changes when its title, describes or file change.

Every scan tool also takes directory, a folder inside the project to scan, and framework and patterns, relative to directory, to override the command line, and expandCases, which lists each case of a .each or .for table and each pass of a loop as its own test, with the name the runner gives it, as test-inventory's --expand-cases does. Ids differ with it, so get_tests takes the same expandCases as the find_tests call the ids came from. Records have the keys of test-inventory's output format.

Unknown tool arguments are refused with an error naming the unrecognized key, so misspelled filters are not silently ignored.

Answers are JSON, sent both as structured content and as text. Lists come 50 items at a time (limit takes up to 200), and an answer stays under about 30,000 characters; passing nextCursor back as cursor gets the next page. A single oversized record is returned alone. A final page can fit more records because it needs no next-page cursor or hint. scanErrors counts the problems that may leave tests out, and hint says what to do next when there is something to say.

Compare saved inventories

diff_inventories takes before and after, paths to complete saved JSON inventories inside the project, plus limit and cursor. It returns paged changes with original records and matching evidence, the full summary, total, nextCursor, hashesComparable, warnings and hint. It does not scan or write files. Use the same framework, root, patterns, filters and expandCases setting for both scans. Hash comparisons and rename matching need the exact same core version. Incomplete scans produce warnings. Zero changes returns an empty page and a hint. Each saved file must be a regular file of at most 128 MiB. Save scans with the core CLI, without --fields or --format jsonl; see inventory diffs. If a saved file disappears or becomes unreadable while opening it, the error names the supplied file and suggests checking its existence and readability, without exposing the resolved host path. Cancellation during these operations retains the request's cancellation reason.

Troubleshooting

SymptomNext step
The server is disconnected or tools are missingOpen the client's server logs. Check that the client can find Node.js 22.12 or newer and npx, then restart the server through the client. A client launched by a desktop app may use a different PATH from your terminal.
No files or tests were foundCheck --root, directory, the framework and the config's selected files. Try explicit patterns, such as ["tests/**/*.spec.ts"]. Call scan_diagnostics for details.
Several runners were detectedPass framework on the call, or set --framework in the server configuration. Scan each runner separately.
The answer has scanErrorsCall scan_diagnostics and resolve the errors before treating the inventory as complete.
A path is refusedKeep the scanned files and dependencies inside the configured project. For an intended shared dependency, start the server at the shared parent and use directory to select a package.

| A cursor is refused | Start the query again without cursor; keep filters, directory and case expansion unchanged when requesting later pages. Files may have changed between calls.

冒頭だけを表示しています。続きはリポジトリで読めます