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

mcp-patchbay

作者:distronode-corporationバージョン 0.1.2i★ 2iパソコンで動くリポジトリ ↗
レジストリ名io.github.distronode-corporation/mcp-patchbay

インストール方法

What it does

Hosts your MCP servers and switches them on and off mid-session, with a person approving risky ones

  • Connects パソコンで動く
  • Account or key No key needed
  • Category その他

この順位の理由

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

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

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

インストール

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

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

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

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

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

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

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

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

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

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

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

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

このメッセージにあなたのキーは含まれません。キーが必要な場合は、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": {
        "patchbay": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-patchbay"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

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

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

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

ChatGPT はまだ mcp-patchbay につなげません

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

代わりにできること

A · mcp-patchbay につなげるアプリを使う

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

このメッセージにあなたのキーは含まれません。キーが必要な場合は、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 patchbay -- npx -y mcp-patchbay
  4. Claude Code で /mcp と入力

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

  5. 試してみる

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

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

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

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

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

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

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

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

このメッセージにあなたのキーは含まれません。キーが必要な場合は、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 を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

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

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

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

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

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

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

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

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

このメッセージにあなたのキーは含まれません。キーが必要な場合は、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 を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

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

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

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

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

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

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

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

パソコンにインストール

Claude Code

claude mcp add --scope user patchbay -- npx -y mcp-patchbay

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "patchbay": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-patchbay"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "patchbay": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-patchbay"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "patchbay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-patchbay"
      ]
    }
  }
}

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

ひと目でわかる

週あたりのダウンロードi
463/週
接続方法
パソコンで動く
最新バージョンi
0.1.2
カテゴリi
その他
レジストリ公開日i
2026年11月18日
コードの最終更新i
2026年11月17日
作者
distronode-corporation
パッケージ
npm: mcp-patchbay
ウェブサイト
github.com
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。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アカウント distronode-corporation で確認済みです

  • ✓ 合格

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

    コードの最終更新:一昨日

  • ✓ 合格

    ライセンスがある

    Apache-2.0を使用

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

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

まだ確認していません

確認していること → · JSON

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

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

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/distronode-corporation-mcp-patchbay.svg)](https://mcp.popnx.com/en/servers/distronode-corporation-mcp-patchbay)

話し合い

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

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

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

ログインして投稿

ユーザーレビュー

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

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

その他のほかのサーバーとの比較i

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

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

よくある質問

mcp-patchbayは安全ですか?

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

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

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

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

似た働きのほかの候補

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

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

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73広く使われている★ 9.1万3 日前更新

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

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

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

クラウドで動く✓ 提供元 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer広く使われている★ 2.4万 リポジトリ全体のスター30 日前更新

クラウドで動く✓ 提供元 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI成長中★ 582514 か月前更新

クラウドで動くリポジトリはアーカイブ済み✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

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

クラウドで動く✓ 提供元 · jitsu.com
似たものと比べる
これ
mcp-patchbay
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/44/44/41/44/4
ライセンスApache-2.0AGPL-3.0AGPL-3.0MITApache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

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

mcp-patchbay

One MCP server that hosts all your others, and lets the agent switch them on and off mid-session, with a person approving the risky ones.

claude mcp add --scope user patchbay -- npx -y mcp-patchbay@0.1.2

npx -y mcp-patchbay@0.1.2 import --from ~/.claude.json --out ~/.config/mcp-patchbay/servers.json npx -y mcp-patchbay@0.1.2 doctor --all

Register it as patchbay, copy your user-level Claude Code servers into its config with import, and check that each one starts. import replaces the --out file (it backs up the old one first) and prints what it imported and skipped: remove the imported servers from Claude Code, or they run twice. Or write the file by hand as in Quick start.

A real session against the public filesystem server, shortened to one line per step. Full walkthrough in Quick start.

Made by Distronode. More open source from us: github.com/distronode-corporation.

If you allow `mcp__patchbay` as a whole in your client's permissions, you approve every tool of every server it hosts.

Allow individual tools (mcp__patchbay__ __ ) instead. See Policy and safety model.

mcp-patchbay is an MCP server that hosts other MCP servers as child processes, and lets the AI agent switch them on and off in the middle of a session.

  • The agent sees five small tools: servers, enable, disable, restart and info.
  • When the agent enables a server, the patchbay starts it, and its tools appear straight away as __ . The patchbay sends notifications/tools/list_changed, so the client refreshes its tool list.
  • When a server is disabled, its tools disappear the same way.
  • For servers you mark confirm, a person, not the agent, approves each enable, through an MCP elicitation prompt in the client.

Why. Every connected MCP server costs context (its tool definitions) and a running process, whether or not the session needs it. With the patchbay, you configure all your servers once, and only the ones a task needs are running and visible.

Requirements

  • Node.js 22 or later.
  • An MCP client that honours notifications/tools/list_changed and supports elicitation (form mode, and ideally URL mode for sign-ins). For Claude Code, that means 2.1.287 or later.

Without elicitation support, confirm servers cannot be enabled. That is deliberate: the patchbay fails closed.

Contents: Quick start · Config reference · Naming contract · Moving from Claude Code: import and rename-permissions · Policy and safety model · Known limits · Comparison · Uninstall and rollback · Privacy Policy

Quick start

  1. Register the patchbay with Claude Code under the name `patchbay`. The naming contract and the 128-character rule assume that name.
   claude mcp add --scope user patchbay -- npx -y mcp-patchbay@0.1.2

That is all the first run needs. When ~/.config/mcp-patchbay/servers.json does not exist, the patchbay creates it with no servers ({"version": 1, "servers": {}}), says so in one line on stderr, and serves its own tools. Nothing is switched on and the file holds no secrets. On macOS and Linux the file is mode 600, and the directory, if the patchbay has to create it, mode 700; an existing directory is kept as it is, provided nobody else can write it. Windows has no such modes (see Known limits).

  1. Then add your connectors. This example hosts the public filesystem server (@modelcontextprotocol/server-filesystem@2.2.0). Edit ~/.config/mcp-patchbay/servers.json so it reads:
   {

"version": 1, "servers": { "example-files": { "description": "Read and write files in /path/to/project", "policy": "confirm", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem@2.2.0", "/path/to/project"] } } }

Keep the file private. The patchbay refuses to start if the file, or the directory it is in, is group- or world-writable (chmod 600 ~/.config/mcp-patchbay/servers.json fixes the file). Already have servers in Claude Code? import writes this file from them.

  1. Check it. doctor validates the file and briefly starts every allow server. Add --all to also start confirm servers like this one.
   npx -y mcp-patchbay@0.1.2 doctor --all
  1. The config is read once, at startup, so reconnect the patchbay (/mcp, then patchbay). In a session, ask the agent to "enable example-files". Claude Code shows the prompt *"Allow the agent to turn on example-files (Read and write files in /path/to/project)?"*. Once you approve, tools such as mcp__patchbay__example-files__read_text_file are available.

A longer, synthetic example is in examples/servers.json.

--config and $MCP_PATCHBAY_CONFIG stay strict: only the default path is ever created for you, and a missing file anywhere else exits with code 78.

Claude Code plugin

plugins/claude-code is a Claude Code plugin, patchbay, whose MCP server runs npx -y mcp-patchbay@0.1.2. Its tools are named mcp__plugin_patchbay_patchbay__ , not mcp__patchbay__ , so the naming contract, the 128-character rule, doctor and rename-permissions below assume the hand-registered server instead. The warning at the top applies with the plugin prefix too: never allow mcp__plugin_patchbay_patchbay__enable_confirm or the whole plugin server, and doctor does not check rules written with that prefix. Its README has the details.

Claude Desktop

Each release carries mcp-patchbay- .mcpb, a desktop extension bundle with its dependencies included. Double-click it, or use Settings > Extensions > Advanced settings > Install Extension... in Claude Desktop. Its one setting is the config file, ~/.config/mcp-patchbay/servers.json by default, which the first run creates as above. Then add your connectors to it and turn the extension off and on again in Settings > Extensions so it rereads the file. If a confirm server cannot be enabled because the client shows no approval form, set "confirmVia": "host".

Config reference

The config location is --config , else $MCP_PATCHBAY_CONFIG, else ~/.config/mcp-patchbay/servers.json. The file is read once, at startup. To apply changes, restart the patchbay (in Claude Code: /mcp, then reconnect patchbay).

{

"version": 1, "confirmVia": "host", "servers": { "example-files": { "description": "Files in /path/to/project", "policy": "allow", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem@2.2.0", "/path/to/project"], "env": { "EXAMPLE_LOG_LEVEL": "info" }, "cwd": "/path/to", "prefix": "files", "timeoutMs": 0 }, "example-remote": { "description": "A remote MCP server", "policy": "confirm", "url": "https://mcp.example.com/mcp", "headers": { "X-Example-Tenant": "example" } } }, "autostart": { "default": [], "projects": { "/path/to/project": ["example-files"] } }, "oauth": { "configDir": "~/.config/mcp-patchbay/oauth", "authTimeoutSeconds": 300 } }

Validation is strict: an unknown key anywhere is an error that names its path. Any config error exits with code 78 and a message on stderr.

KeyMeaning
versionMust be 1.
confirmViaHow a person approves a confirm server. "elicitation" (the default): enable asks through the client's form elicitation. "host": enable refuses, and the agent calls enable_confirm, which the host's own tool-permission prompt asks the person about. import writes "host". See confirmVia.
servers. The name uses 1–64 characters from [A-Za-z0-9_-], with no __ and no trailing _.
descriptionOne line, at most 300 characters. The agent sees it in servers and in the patchbay's instructions.
policyallow (the agent may enable it), confirm (a person must approve each enable; the default), or deny (it can never be enabled).
command, args, env, cwdA stdio server. cwd must be absolute. The child gets {...the patchbay's env, ...env}, the same as Claude Code gives its own servers.
url, headersA remote server, launched through the bundled mcp-remote 0.15.2. The URL must be https, except for localhost and 127.0.0.1. Header names use [A-Za-z0-9_-]. env is also allowed and is passed to mcp-remote.
prefixA short alias used instead of the name in tool names. Names and prefixes must be unique, ignoring case.
timeoutMsThe cap on one tool call, in milliseconds. 0 (the default) means no cap.
autostart.defaultServers started at launch, with no confirmation. Not allowed for deny servers.
autostart.projectsPer-project lists, keyed by absolute directory. The key is matched against CLAUDE_PROJECT_DIR, or else the current directory. A matching list replaces default.
oauth.configDirWhere mcp-remote keeps OAuth state for url servers. It is created with mode 0700.
oauth.authTimeoutSecondsHow long a sign-in may take (1–86400, default 300).

Each server has exactly one of command or url.

Autostart is your own config choice, so it counts as consent. The instructions of autostarted servers are folded into the patchbay's own instructions, within 4,096 characters in total and shared fairly between servers.

Headers and secrets. Header values are not put on mcp-remote's command line, where other local users could read them. Instead the patchbay passes --header Name:${MCP_PATCHBAY_HEADER_n} and puts the value in mcp-remote's environment, which expands it. A value that already contains a ${VAR} placeholder is passed as it is, and mcp-remote expands it from its own environment (that is, the patchbay's env plus the entry's env).

Other environment variables.

  • MCP_PATCHBAY_DEBUG=1 copies every child's stderr (redacted) into the patchbay's own stderr log.
  • MCP_PATCHBAY_MCP_REMOTE_BIN replaces the mcp-remote script. This is for tests, and you should not normally set it.

The agent's tools

| Tool | Input | What it does |

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