Skip to main content
Glama

ringbearer

ci release license go version go reference Unax2710/ringbearer MCP server

One MCP to rule them all. A small relay that runs one shared copy of each of your stdio MCP servers and serves it to every client session over Streamable HTTP.

If you run several Claude Code or Codex sessions, each session usually starts its own copy of every MCP server. Five sessions and six servers means thirty processes. ringbearer replaces that with one process per server.

  • One copy per server, shared by every session (Claude Code, Codex, or any MCP client that speaks Streamable HTTP), at http://127.0.0.1:8802/servers/<name>/mcp. Claude Desktop, which only runs stdio servers, reaches the same copies through a small built-in bridge.

  • Crashed servers restart by themselves (with a backoff from 1 s to 1 min), without touching the other servers. Client sessions stay open across the restart.

  • Idle servers can sleep: with idleTimeout, a server starts on first use and stops after a quiet period.

  • A dashboard shows state, RAM, CPU, logs and who calls what (per client), and lets you start, stop, restart, add and edit servers.

  • A single static binary with no runtime dependencies, for Windows, macOS and Linux. It installs as a per-user autostart (no admin rights).

An example (one Windows machine, measured on 2026-11-30; an example, not a benchmark): four stdio servers behind the relay. One awake copy of each uses about 107 MB (Azure DevOps), 82–95 MB (a filesystem server for an Obsidian vault), 58–71 MB (a private .NET database server) and 65 MB (Freshservice, .NET): about 320 MB for the set. The relay itself uses 13–24 MB. Clients connected at the same time: several Claude Code sessions, Claude Desktop (chat and agent mode) and Codex. Without the relay, every client session starts its own copy of every server, so five sessions would need about 5 × 320 MB ≈ 1.6 GB, against about 320 MB plus the relay. With idleTimeout set to 15m, a server nobody calls is stopped (0 MB) until the next call, which waits for it to start (see Saving RAM).

ringbearer dashboard: server card with sessions, calls, RAM and CPU, and the live activity list per client

The dashboard during a CI run: one test server, called by test clients built on the official TypeScript and Python MCP SDKs.

How it works

 Claude Code ----+
 Claude Code ----+   HTTP    +-------------------------------+  stdio   +---------------------+
 Codex ----------+---------->| ringbearer     127.0.0.1:8802 |--------->| filesystem (1 copy) |
 Claude Desktop  |           |  /servers/<name>/mcp          |--------->| postgres   (1 copy) |
   > bridge -----+           |  /         dashboard          |--------->| fetch      (1 copy) |
                             |  /admin/*  admin API          |          +---------------------+
                             +-------------------------------+
  • Each server in the config gets one child process, started with its command, args and env.

  • The child is initialized once, with the first client's initialize parameters. Later sessions get the cached result, and their requests are multiplexed onto the same child: ringbearer rewrites request ids and progress tokens so sessions never see each other's traffic.

  • ringbearer relays raw JSON-RPC and has no MCP SDK inside: unknown methods and extensions pass through. Supported protocol revisions: Protocol versions.

  • Each server's stderr goes to its own log file. Relay events (starts, exits, restarts, config changes) go to relay.log.

Related MCP server: MCP Proxy Server

Install

Linux / macOS (installs into ~/.local/bin, no sudo, checks the SHA-256 checksum):

curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/Unax2710/ringbearer/main/install.sh | sh

Windows (PowerShell 5.1 or later; installs into %LOCALAPPDATA%\Programs\ringbearer, no admin):

irm https://raw.githubusercontent.com/Unax2710/ringbearer/main/install.ps1 | iex

Windows with Scoop (update it with Scoop, not with ringbearer update: see install.md):

scoop bucket add ringbearer https://github.com/Unax2710/ringbearer
scoop install ringbearer/ringbearer

Managed or corporate machines: security software often flags a script piped into a shell. Download the archive and checksums.txt from the releases page instead, check the SHA-256 and the build attestation (how), and put ringbearer on your PATH. Release binaries are not code-signed yet.

Then register it to start at logon, for the current user (systemd user unit, LaunchAgent, or a scheduled task on Windows):

ringbearer install

It prints the dashboard URL (http://127.0.0.1:8802/) and the config and log paths. Other install methods, autostart details, updating and uninstalling: docs/install.md.

Add your servers

Open the dashboard and press Add server, or edit relay.json (path printed by install). The relay picks up changes within a few seconds. A minimal config:

{
  "mcpServers": {
    "fetch": { "command": "uvx", "args": ["mcp-server-fetch"] }
  }
}

All fields (env, ${VAR} secrets, enabled, idleTimeout): docs/configuration.md.

Connect your clients

Claude Code and Codex:

ringbearer connect claude
ringbearer connect codex

This registers every enabled server at user scope through the client's own CLI; it never edits the clients' config files. connect claude replaces a user-scope entry with the same name without asking (try -dry-run first). Then restart your sessions, and remove the per-session copies of these servers from your client config.

Claude Desktop only runs stdio servers, so it goes through ringbearer bridge. Quit it completely first (from the tray or menu bar), then:

ringbearer import desktop    # copy Desktop's own stdio servers into relay.json
ringbearer connect desktop   # point Desktop's entries at the relay

Other clients (Cursor, VS Code, Windsurf, Gemini CLI, Zed, Cline and more): the dashboard's Connect a client button shows the snippet for each. Details, tokens and the full list: docs/clients.md.

Documentation

ringbearer MCP server – quality and maintenance score on Glama

Security

ringbearer runs the commands in its config, so whoever can change the config can run programs as you. By default it listens on 127.0.0.1:8802, refuses any other address without a token, and blocks DNS rebinding and cross-site requests from web pages; on loopback without a token, local programs are trusted. One relay is one identity: every client shares the same server processes and credentials. Details: Security model. To report a vulnerability: SECURITY.md.

License

MIT

Available Tools

16 tools
echoEcho ToolB
Read-onlyIdempotent

Echoes back the input string

Inputs: message (required).

get-annotated-messageGet Annotated Message ToolC
Read-onlyIdempotent

Demonstrates how annotations can be used to provide metadata about content.

Inputs: messageType (required), includeImage.

get-envPrint Environment ToolA
Read-onlyIdempotent

Returns all environment variables, helpful for debugging MCP server configuration. Values of credential-like names (a KEY, TOKEN, SECRET, PASSWORD, PASSWD, CREDENTIAL, AUTH or COOKIE name segment) are masked as "" unless GET_ENV_INCLUDE_SECRETS is set to 1 or true in the server's environment.

Inputs: no named parameters.

get-header-paramsGet Header Params ToolA
Read-onlyIdempotent

Returns its region argument and the Mcp-Param-Region HTTP header it arrived in. Demonstrates x-mcp-header (a 2026-07-28 Streamable HTTP client mirrors the argument into the header) and JSON Schema 2020-12 input and output schemas.

Inputs: region (required), repeat. Returns: region, repeated, regionHeader

get-resource-referenceGet Resource Reference ToolC
Read-onlyIdempotent

Returns a resource reference that can be used by MCP clients

Inputs: resourceId, resourceType.

get-structured-contentGet Structured Content ToolC
Read-onlyIdempotent

Returns structured content along with an output schema for client data validation

Inputs: location (required). Returns: humidity, conditions, temperature

get-sumGet Sum ToolB
Read-onlyIdempotent

Returns the sum of two numbers

Inputs: a (required), b (required).

get-tiny-imageGet Tiny Image ToolA
Read-onlyIdempotent

Returns a tiny MCP logo image.

Inputs: no named parameters.

gzip-file-as-resourceGZip File as Resource ToolA
Idempotent

Compresses a single file using gzip compression. Depending upon the selected output type, returns either the compressed data as a gzipped resource or a resource link, allowing it to be downloaded in a subsequent request: during the current session for a 2025-era client, or for ten minutes at a minted URI on protocol version 2026-07-28.

Inputs: data, name, outputType.

toggle-simulated-loggingToggle Simulated LoggingA

Toggles simulated, random-leveled logging on or off. Deprecated: 2025-era clients only, since protocol version 2026-07-28 removes logging/setLevel; use trigger-log-messages with a per-request log level instead.

Inputs: no named parameters.

toggle-subscriber-updatesToggle Subscriber UpdatesA

Toggles simulated resource subscription updates on or off. Deprecated: 2025-era clients only, since protocol version 2026-07-28 removes resources/subscribe; use trigger-resource-update with a subscriptions/listen stream instead.

Inputs: no named parameters.

trigger-list-changedTrigger List Changed ToolA
Read-only

Sends a notifications//list_changed for the tool, prompt or resource list. On protocol version 2026-07-28 it is delivered on each subscriptions/listen stream that asked for that list; a 2025-era client receives it unsolicited.

Inputs: list (required).

trigger-log-messagesTrigger Log Messages ToolA
Read-onlyIdempotent

Sends one log message at each logging level during the call. On protocol version 2026-07-28 only the messages at or above the level the request names in _meta (io.modelcontextprotocol/logLevel) are sent, and none if it names no level; a 2025-era client gets those at or above the level it set with logging/setLevel. Deprecated: logging is deprecated as of protocol version 2026-07-28.

Inputs: no named parameters.

trigger-long-running-operationTrigger Long Running Operation ToolC
Read-onlyIdempotent

Demonstrates a long running operation with progress updates.

Inputs: steps, duration.

trigger-resource-updateTrigger Resource Update ToolA
Read-only

Sends a notifications/resources/updated for a resource URI. On protocol version 2026-07-28 it is delivered on each subscriptions/listen stream whose resourceSubscriptions name the URI; a 2025-era client receives it once it has called resources/subscribe for the URI.

Inputs: uri (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools target clearly distinct MCP features or demo actions. A few pairs overlap conceptually, especially the deprecated logging toggles versus trigger-log-messages and the subscription toggles versus trigger-resource-update, but the descriptions clarify the intended distinction.

    Naming Consistency4/5

    Names consistently use lowercase kebab-case with action-oriented prefixes such as get-, trigger-, and toggle-. The bare 'echo' and the longer 'gzip-file-as-resource' are minor deviations but still readable and predictable.

    Tool Count4/5

    Sixteen tools is slightly on the heavy side, but this appears to be a protocol/demo server where each tool showcases a distinct MCP capability. The count is reasonable for that purpose, though a few legacy/deprecated tools could be trimmed.

    Completeness4/5

    The surface covers a broad range of MCP protocol features: echo, annotations, env, headers, resources, resource links/references, structured content, progress, list changes, logging, and subscriptions. Some protocol areas such as sampling, elicitation, or prompt-specific operations are not represented, but the core demo surface is strong.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Runs every configured MCP server once in a shared background engine and exposes them over a single HTTP endpoint, so Claude Code, Codex, Cursor, VS Code, Gemini CLI and SSH-connected remote machines all connect through one entry and pick up added, removed, or disabled servers and tools immediately. Also provides per-tool hiding, runtime supervision with logs and auto-restart, and secret storage isolated from the API.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects to and aggregates multiple backend MCP servers (Stdio, SSE, and Streamable HTTP), exposing their combined tools and resources through a single unified SSE or Streamable HTTP endpoint, or as a standalone Stdio server. Handles request routing to the correct backend, supports optional API key/bearer token authentication, concurrent client connections, and a web admin UI for managing servers and individually enabling or renaming tools.
      120 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Aggregates multiple backend MCP servers (Stdio, SSE, and Streamable HTTP) into a single hub, exposing their combined tools and resources through unified SSE or Streamable HTTP endpoints, or as a Stdio server, while routing requests to the correct backend. Adds API-key/bearer-token endpoint security, per-tool enable/disable and renaming, and an optional web admin UI with live config reload, install monitoring, and a web terminal.
      120 npm
      MIT