Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

mcp-patchbay

by distronode-corporationversion 0.1.2i★ 2iRuns on your computerRepository ↗
Registry nameio.github.distronode-corporation/mcp-patchbay

How to install

What it does

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

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity17/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score29/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: 16 (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install mcp-patchbay. Follow https://mcp.popnx.com/i/distronode-corporation-mcp-patchbay.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 18, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server mcp-patchbay for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "patchbay": { "command": "npx", "args": [ "-y", "mcp-patchbay" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the mcp-patchbay tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "patchbay": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-patchbay"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use mcp-patchbay and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using mcp-patchbay or shows a mcp-patchbay tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect mcp-patchbay yet

mcp-patchbay runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect mcp-patchbay

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server mcp-patchbay for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user patchbay -- npx -y mcp-patchbay 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the mcp-patchbay tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user patchbay -- npx -y mcp-patchbay
  4. Type /mcp in Claude Code

    You should see mcp-patchbay listed as connected

  5. Try it

    Use mcp-patchbay and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using mcp-patchbay or shows a mcp-patchbay tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server mcp-patchbay for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "patchbay": { "command": "npx", "args": [ "-y", "mcp-patchbay" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the mcp-patchbay tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use mcp-patchbay and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using mcp-patchbay or shows a mcp-patchbay tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server mcp-patchbay for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "patchbay": { "type": "stdio", "command": "npx", "args": [ "-y", "mcp-patchbay" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the mcp-patchbay tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use mcp-patchbay and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using mcp-patchbay or shows a mcp-patchbay tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use mcp-patchbay💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

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"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
463/wk
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
0.1.2
Categoryi
Other
Published to registryi
Nov 18, 2026
Code last changedi
Nov 17, 2026
Maker
distronode-corporation
Packages
npm: mcp-patchbay
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

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

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account distronode-corporation, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 days ago

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

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

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 91% of the other 20613 servers in this category
  • Published to the registry more recently than 97% of the other 20613 servers in this category
  • Basic checks equal to or better than 99% of the other 20613 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is mcp-patchbay safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 days ago, and the latest version (0.1.2) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

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

by koala73Widely used★ 90.9KUpdated 3 days ago

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

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

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

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

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 30 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

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

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

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

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
Compared with similar ones
This one
mcp-patchbay
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/41/44/4
LicenseApache-2.0AGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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 |

Only the beginning is shown; read the rest in the repo