Repository navigation
Description
Problem or use case
Orca can run multiple agents across different terminals/workspaces, but MCP setup is still handled per agent/client. If a user wants the same MCP
server available to Claude Code, Codex, OpenCode, etc., they currently need to configure that MCP separately for each agent.
This gets repetitive quickly, especially for remote HTTP MCP servers that require auth. It also means auth/config state is scattered across agent-
specific files instead of being managed once by Orca.
Feature request
Add an Orca MCP Bridge: a global MCP bridge inside Orca where users connect MCP servers once, and Orca exposes them to launched agents through a
single bridge entry.
Instead of each agent connecting directly to every MCP server:
Claude Code -> Jam MCP
Codex -> Jam MCP
OpenCode -> Jam MCP
the flow would become:
Claude Code -> Orca MCP Bridge -> Jam MCP
Codex -> Orca MCP Bridge -> Jam MCP
OpenCode -> Orca MCP Bridge -> Jam MCP
I've done a quick mockup demo here:

Proposed solution
Proposed solution
Add a global Settings -> MCP Bridge page where users can add MCP servers interactively.
Initial scope could support existing MCP servers only:
- Add local stdio MCP servers with command + args
- Add remote HTTP MCP servers with URL
- Enable/disable individual MCP servers
- Enable/disable the bridge globally
- Generate one Orca bridge config entry that agents can use
- Keep this global rather than per project, so it applies to Orca-launched agents broadly
For HTTP MCP servers, the UI should make auth explicit:
- No auth
- OAuth
- Bearer token
OAuth/token storage should be owned by Orca rather than written into agent config files.
Prototype so far
I have a small demo implementation locally to show the direction:
- Added a standalone MCP Bridge tab under Settings
- Added an interactive MCP Bridge card
- Users can add local or HTTP MCP server rows
- HTTP rows include an auth mode selector: None, OAuth, Bearer
- Global bridge settings are stored in Orca settings
- The current prototype is UI/config only; bridge runtime, agent injection, and real OAuth are not wired yet
The intent is to pitch the smallest useful version first, get maintainer/user feedback, and only expand if this seems valuable.
Suggested phases
Phase 1: MCP Bridge config UI
- Global MCP Bridge settings page
- Add/edit/remove local stdio and HTTP MCP servers
- Generate a single Orca bridge config entry for agents
- No custom OpenAPI/GraphQL conversion yet
Phase 2: Auth
- Orca-owned auth for HTTP MCP servers
- OAuth browser flow where supported
- Secure local token storage
- Disconnect/revoke state in the UI
Phase 3: Runtime bridge
- Orca runs the bridge
- Orca-launched agents connect to one local bridge endpoint/command
- Bridge forwards requests to configured downstream MCP servers
- Logs/errors surfaced in Settings
Phase 4: Optional expansion
- Import existing project MCP configs
- Per-project enable/disable overrides
- More integration-style setup flows if users want them
Why this fits Orca
Orca already manages multiple agents and their launch environment. MCP servers are becoming part of the agent environment too, so having Orca manage
MCP access once and expose it consistently to launched agents seems aligned with Orca’s role as an agent/workspace orchestrator.
Alternatives or additional context
No response
Activity
sanshengai commentedon Aug 24, 2026
I can confirm this has a substantial real-world resource cost on Windows, and there are two distinct problems that a bridge design should separate.
Reproduction / measurement
Environment:
A point-in-time process-tree snapshot showed:
This is materially more than the expected one stdio server instance per top-level Codex client. Some live Codex processes owned 3–4 complete copies of each configured stdio server.
Two separate lifecycle layers
An Orca MCP Bridge would still help both cases: agents and subagents could connect to one long-lived local HTTP endpoint instead of launching the downstream stdio server themselves. However, the bridge must terminate separate MCP client sessions; sharing one raw stdio pipe between unrelated clients is not protocol-safe.
Suggested minimum functional PR boundary
The smallest PR that actually reduces process count should be runtime-first rather than UI-only:
Acceptance test
With five concurrent Codex clients configured for the Orca bridge:
This would turn the bridge from centralized configuration into measurable process and memory deduplication, while keeping the Codex subagent leak tracked at its actual owner.
sanshengai commentedon Aug 24, 2026
Runtime foundation is now proposed in #16221. It is intentionally tools-only and not yet wired to Settings/agent injection, but the integration test covers the key multiplexing boundary: five independent Streamable HTTP sessions, colliding client-side request-ID sequences, one downstream stdio PID, independent disconnect, isolation-key fingerprinting, bounded idle cleanup, and crash restart.
mmarabel commentedon Sep 25, 2026
Closing to declutter. A shared MCP bridge sits beside the agents rather than inside core Orca behavior, and we expect it can be built as a plugin once the plugin API can manage agent launch configuration, so we'll pick it back up then. Related open threads for anyone following: #10132 (first-class MCP configuration), #13079 (Orca as an MCP server) and #14999 (per-session MCP policy). @sanshengai's Windows measurements above (duplicate MCP server processes per agent) are the best data here for whichever of those moves first.