MCP Client

Orchestrator

By dev-nolant

Your MCPs don't talk to each other. Discover, connect, chain them, and let your favorite LLM build workflows from chat.

Views
2
Repository stars
3
Platforms
Windows, Linux
Workspace
Web / CLI
Share resource
Capabilities & compatibility

Platforms

Windows, Linux

System requirements

- Node.js (v18+)

Connection & setup

Configuration guide

Copy the example and edit for your setup:

cp porch.config.example.json porch.config.json

Your config is gitignored and never committed. Two MCP types:

For URL MCPs that require a Bearer token, add authorizationToken:

"pieces": {
  "type": "url",
  "url": "http://localhost:39300/.../mcp",
  "authorizationToken": "env:MCP_PIECES_TOKEN"
}

Supported formats:

  • env:VAR_NAME — read from process.env.VAR_NAME (recommended for CI)
  • secret:key — read from porch.secrets.json (stored locally, gitignored)
  • Plain string — avoid in committed config

Store a token via API: PUT /api/secrets/:key with { "value": "your-token" }.

The Connect tab in the Web UI makes it easy to add Porch to your AI client.

  1. Open the UI (npm run ui) → Connect tab
  2. Select your platform (macOS, Windows, Linux — auto-detected)
  3. Select your client (Cursor, Claude Desktop, Windsurf, Continue)
  4. Click Easy Install to write the config into the correct file while keeping your existing MCPs

Or use Copy config to paste the JSON manually. Restart your client after saving.

Client Config path (macOS)
Cursor ~/.cursor/mcp.json
Claude Desktop ~/Library/Application Support/Claude/claude_desktop_config.json
Windsurf ~/.codeium/windsurf/mcp_config.json
Continue ~/.continue/config.json

Claude Desktop note: Claude only supports stdio MCPs, not HTTP. Easy Install uses the built-in stdio bridge (mcp-bridge.js) so Claude can talk to the orchestrator’s HTTP endpoint. Ensure MCP Orchestrator is running before opening Claude.

Run from the mcp-orchestrator directory when using Easy Install so the bridge path resolves correctly (e.g. cd mcp-orchestrator && npm run ui).

Porch is a first-class MCP server. Add it to any MCP client (Cursor, Claude Desktop, Windsurf, Continue, MCP Inspector, or custom apps) and operate workflows, MCPs, the tunnel, and installs—all from chat, no web UI required.

Free, no sign-up. URL changes each start.

  1. Install cloudflared: brew install cloudflared
  2. Open the Public URLs tab → Start tunnel
  3. Creates https://xxx.trycloudflare.com
  4. Generate tokens per MCP; remote clients use URL + Bearer token
README

Porch

⭐ Star us on GitHub — it helps others discover the project!

Your MCPs don't talk to each other. Porch discovers and installs MCPs from npm and PyPI, connects them by URL or stdio, chains their tools in workflows, tunnels any MCP to the internet (quick or named, per-MCP tokens), and lets your favorite LLM add MCPs, build workflows, manage the tunnel, and run it all from chat. Web UI, Easy Install for Cursor, Claude, Windsurf, and Continue, CLI, one-command bootstrap with auto-start.

porch.sh — Site with docs, setup guides, and install instructions.

Setup

cd porch
npm install
npm run build

Config

Copy the example and edit for your setup:

cp porch.config.example.json porch.config.json

Your config is gitignored and never committed. Two MCP types:

URL (HTTP/SSE)

For MCPs that expose an HTTP endpoint (e.g. Pieces):

"pieces": {
  "type": "url",
  "url": "http://localhost:39300/model_context_protocol/2025-03-26/mcp"
}

Stdio (spawn process)

For MCPs that run as a process (e.g. Spotify MCP):

"spotify": {
  "type": "stdio",
  "command": "node",
  "args": ["./spotify-mcp-server/build/index.js"],
  "cwd": "./spotify-mcp-server"
}

Use absolute paths if running from elsewhere. For the filesystem MCP, replace /path/to/your/projects with a directory you want to allow (e.g. your home or a project folder).

Bearer tokens (URL MCPs)

For URL MCPs that require a Bearer token, add authorizationToken:

"pieces": {
  "type": "url",
  "url": "http://localhost:39300/.../mcp",
  "authorizationToken": "env:MCP_PIECES_TOKEN"
}

Supported formats:

  • env:VAR_NAME — read from process.env.VAR_NAME (recommended for CI)
  • secret:key — read from porch.secrets.json (stored locally, gitignored)
  • Plain string — avoid in committed config

Store a token via API: PUT /api/secrets/:key with { "value": "your-token" }.

When a master key is available, secrets are stored encrypted (AES-256-GCM) in porch.secrets.json. The key is stored in the OS keychain (macOS Keychain, Windows Credential Manager, Linux Secret Service)—no plain-text key file.

Install script prompts for a password and stores the derived key in the OS keychain. No files with secrets.

Manual setup: run npm run setup-encryption and enter a password (min 8 chars). Or use the Settings UI: enter a password and click "Set up encryption". Existing secrets are re-encrypted immediately.

Override: set PORCH_MASTER_KEY (base64 32-byte key or passphrase) in your environment to use a different key than keychain.

Without master key: falls back to legacy plain JSON. Restrict permissions: chmod 600 porch.secrets.json.

Tool routing: gateway vs full

Default: proxyMode: "gateway" — One route per MCP instead of per tool. Keeps tool count low (3 MCPs → 3 gateway tools + native orchestrator tools).

  • Call spotify__call(tool="getNowPlaying", args={}) or P__call(tool="create_pieces_memory", args={})
  • Use list_tools(mcp="spotify") to discover available tools
  • Workflows unchanged — they use mcp + tool in steps

Legacy: proxyMode: "full" — Every MCP tool as its own proxy (spotify__getNowPlaying, Pieces__create_pieces_memory, etc.). Full ergonomics but can exceed 80-tool limits with many MCPs. Use proxyPrefix, toolsInclude, or toolsExclude per MCP to trim.

Easy Install (Mac, Linux, Windows)

One-command installer that runs the server in the background and adds porch.local so you can open the UI with a friendly URL. By default, the server is set to auto-start when you log in.

One-line install (paste into terminal)

Mac & Linux:

bash <(curl -sSL https://raw.githubusercontent.com/dev-nolant/porch/main/scripts/bootstrap.sh)

Skip auto-start:

bash <(curl -sSL https://raw.githubusercontent.com/dev-nolant/porch/main/scripts/bootstrap.sh) --no-startup

Windows PowerShell:

irm https://raw.githubusercontent.com/dev-nolant/porch/main/scripts/bootstrap.ps1 | iex

Windows, skip auto-start: $env:NO_STARTUP=1; irm https://raw.githubusercontent.com/dev-nolant/porch/main/scripts/bootstrap.ps1 | iex

The bootstrap clones the repo to ~/porch, runs npm install and npm run build, registers the porch CLI globally, then starts the server. It will prompt for optional tools (uv, cloudflared) and encrypted secrets setup.

Non-interactive (CI, automation, skip all prompts): curl -sSL https://raw.githubusercontent.com/dev-nolant/porch/main/scripts/bootstrap.sh | bash

Mac & Linux (manual, after clone):

cd porch
chmod +x scripts/*.sh
./scripts/install.sh

Then open http://porch.local:3847 (or http://localhost:3847)

Windows (PowerShell as Administrator for hosts file):

cd porch
.\scripts\install.ps1

Then open http://porch.local:3847

Skip auto-start (install without auto-start on login):

./scripts/install.sh --no-startup
.\scripts\install.ps1 -NoStartup

Cloudflared (for Public URLs / tunnels): The installer prompts to install cloudflared. To skip the prompt:

./scripts/install.sh --cloudflared    # Install cloudflared
./scripts/install.sh --no-cloudflared # Skip (default when non-interactive)
.\scripts\install.ps1 -Cloudflared    # Install cloudflared
.\scripts\install.ps1 -NoCloudflared  # Skip

uv (for Python MCPs from Discover, e.g. fast-mcp-telegram): The installer prompts to install uv. To skip the prompt:

./scripts/install.sh --uv     # Install uv
./scripts/install.sh --no-uv  # Skip (default when non-interactive)
.\scripts\install.ps1 -Uv     # Install uv
.\scripts\install.ps1 -NoUv   # Skip

Control scripts:

  • ./scripts/start.sh / .\scripts\start.ps1 — start server in background
  • ./scripts/stop.sh / .\scripts\stop.ps1 — stop server
  • ./scripts/update.sh / .\scripts\update.ps1 — update (git pull, npm install, build, restart)
  • ./scripts/enable-startup.sh / .\scripts\enable-startup.ps1 — enable auto-start on login
  • ./scripts/disable-startup.sh / .\scripts\disable-startup.ps1 — disable auto-start on login
  • Logs: tail -f .porch.log (Mac/Linux) or Get-Content .porch.log -Wait -Tail 20 (Windows). On Windows, stderr goes to .porch.err.

The installer adds 127.0.0.1 porch.local to your hosts file (requires sudo/admin on first run).

Connect (MCP Client Setup)

The Connect tab in the Web UI makes it easy to add Porch to your AI client.

  1. Open the UI (npm run ui) → Connect tab
  2. Select your platform (macOS, Windows, Linux — auto-detected)
  3. Select your client (Cursor, Claude Desktop, Windsurf, Continue)
  4. Click Easy Install to write the config into the correct file while keeping your existing MCPs

Or use Copy config to paste the JSON manually. Restart your client after saving.

Client Config path (macOS)
Cursor ~/.cursor/mcp.json
Claude Desktop ~/Library/Application Support/Claude/claude_desktop_config.json
Windsurf ~/.codeium/windsurf/mcp_config.json
Continue ~/.continue/config.json

Claude Desktop note: Claude only supports stdio MCPs, not HTTP. Easy Install uses the built-in stdio bridge (mcp-bridge.js) so Claude can talk to the orchestrator’s HTTP endpoint. Ensure MCP Orchestrator is running before opening Claude.

Run from the mcp-orchestrator directory when using Easy Install so the bridge path resolves correctly (e.g. cd mcp-orchestrator &amp;&amp; npm run ui).

Use as an MCP

Porch is a first-class MCP server. Add it to any MCP client (Cursor, Claude Desktop, Windsurf, Continue, MCP Inspector, or custom apps) and operate workflows, MCPs, the tunnel, and installs—all from chat, no web UI required.

Resources (read these for context)

  • orchestrator://glossary — Read first: reference for every tool, args, usage, examples (customize via docs/glossary.md)
  • orchestrator://workflow-guide — Instruction set for creating workflows: manual run, output inspection, placeholders (see docs/creating-workflows.md)
  • orchestrator://config — Full config (mcps, workflows)
  • orchestrator://status — MCP health + tunnel status
  • orchestrator://logs — Recent logs

Tools by category

Category Tools
Workflows list_workflows, run_workflow, get_workflow, add_workflow, update_workflow, delete_workflow, schedule_workflow, unschedule_workflow
MCPs list_mcps, get_mcp_status, add_mcp, remove_mcp, enable_mcp, disable_mcp, call_tool, list_tools
Tunnel get_tunnel_status, start_tunnel, stop_tunnel, set_tunnel_domain, cloudflare_login, generate_tunnel_token, revoke_tunnel_token
Registry search_registry, install_from_registry, install_npm_mcp
Observability get_config, get_logs, clear_logs

Direct MCP access: Each MCP's tools are exposed as mcpName__toolName (e.g. spotify__getNowPlaying, pieces__create_pieces_memory). Call them directly—no workflow required. Use call_tool when you need to specify mcp/tool explicitly.

Setup

Add Porch as a Streamable HTTP MCP with URL http://localhost:3847/mcp (or http://porch.local:3847/mcp if using the hosts entry). Easiest: use the Connect tab → Easy Install.

Cursor, Windsurf, Continue: These clients support HTTP MCPs. Add URL http://localhost:3847/mcp in your client’s MCP settings, or use Connect → Easy Install.

Claude Desktop: Claude only supports stdio MCPs. Use Connect → Easy Install (it adds a stdio bridge config), or add manually to claude_desktop_config.json:

{
  "mcpServers": {
    "porch": {
      "command": "node",
      "args": ["/path/to/porch/build/mcp-bridge.js"],
      "env": {
        "PORCH_URI": "http://localhost:3847/mcp"
      }
    }
  }
}

Replace /path/to/porch with your install path. Ensure the Porch server is running (npm run ui or via the install scripts) before connecting.

Quick tunnel (no config)

Free, no sign-up. URL changes each start.

  1. Install cloudflared: brew install cloudflared
  2. Open the Public URLs tab → Start tunnel
  3. Creates https://xxx.trycloudflare.com
  4. Generate tokens per MCP; remote clients use URL + Bearer token

Prerequisites

  • Node.js (v18+)
Related resources