The fleet's shared MCP hub

One roost. Every session.

Roost is one small daemon that serves every MCP server to every Claude Code session, so a new session costs a few URLs instead of a few dozen processes.

Illustration: a rough timber barn beam with a row of weathered wooden perches and empty nesting boxes, one box glowing amber from within.

Internal to Renkara. Roost is a tool Renkara Media Group builds and runs for itself. It is not for sale, and there is nothing to buy or join.

The picture

Sessions in front, servers behind

One daemon sits between every session and every server. Sessions talk to it over HTTP, and it keeps at most one process per server.

How Roost connects sessions to MCP serversThree Claude Code sessions connect over Streamable HTTP to the Roost daemon. The daemon holds a router, catalog snapshots, and a supervisor. The supervisor talks over stdio to one shared child process per server; a server that is not in use has no process.Session 1Session 2Session NClaude CodeClaude CodeClaude CodeStreamable HTTProostd: one daemonRouterCatalogsSupervisorOne path per serverAnswers initializeForwards tool callsSaved snapshotsAnswer tool listswithout wakingany serverStarts on first callStops when idleBreaker per serverRestarts on changestdioServer AServer BServer COne sharedchild processOne sharedchild processIdle:no process
  • Sessions connect to the daemon over HTTP on the loopback interface, one URL per server.
  • The daemon holds a router, saved catalog snapshots, and a supervisor.
  • Servers run as one shared child each, started on the first call. A server nobody is using has no process.
The film · 1:15

A new session costs a few URLs.

Every Claude Code session used to start its own copy of every MCP server. Roost is one daemon that serves each server to every session, starts one on its first real call, and stops it when nobody is using it.

Music and on-screen text, no narration; the captions describe the music and sound. Roost has no screen, so every scene is a drawn illustration, labeled as one. The figures of 22 servers, 4 sessions, and 92 processes are a measurement from when Roost was designed, every behavior shown is read from Roost’s code, the servers carry fleet tool names only, and the example call returns a fictional StrataForge Robotics card.
Read the film’s text version

Title: Roost. One roost. Every session. 2026. A driving electronic score in G major runs under the whole film, with a soft tick or hit on each action.

The hook: “92 processes. Mostly idle.” Marks fill in one per item, labeled as measured at design time: 22 servers, 4 sessions, and 92 processes, with the 5.85 GB they used, all drawn as an illustration.

One hub: The 92 marks fly into a single point and fold away. The Roost mark lands as a hub, four lines connect four sessions to it, and “Internal to Renkara · Not for sale” sits under the name. “One daemon. Every session.”

A URL per server: As the beat drops: “A URL per server.” A configuration card shows a command line struck in red and a URL line added in green under the server’s name, and the tool name mcp__docket__get_card keeps its name. A list request is answered from a saved snapshot of three tool names while four server boxes stay dark: “Started by this list: 0.” “Nothing wakes.”

The first call: “The first real call.” Three sessions, the hub, and one stopped child. A call leaves the first session, passes through Roost, and the child starts. A StrataForge Robotics card comes back: severity 2, open, assigned to Anneke Czarnecki. Two more sessions’ calls reach the same child, and a count steps from one to three. “One child. Shared.”

Idle: A dial of thirty ticks, one per minute, runs to 30:00 on an idle child, marked “time sped up.” The child stops: “30 minutes idle. Stopped.” The next call starts it again, and the clock resets.

The breaker: As the beat drops again: three chips marked “no response” drop into a breaker and three marks turn red. The lever snaps open: “3 failures. Breaker open.” The next call fails at once with “circuit is open” and “retry after 60 s,” above two bars that stand for the child’s last error lines. A 60-second ring turns once, a probe passes, the breaker closes, and the count returns to zero: “60 seconds. Then a probe.”

The way back: A drawn terminal types roostctl verify and prints a table of four servers, each PASS; roostctl flip, which prints “verify: all servers PASS” and “Backed up current config”; and roostctl revert, which prints that servers were restored and 0 failed. Three step cards light in turn: every server, backup first, old configs back. “Verify. Flip. Revert.”

Close: “A new session costs a few URLs.” “Not a few dozen processes.” “One roost. Every session.”

End card: The Roost mark, the name, the tagline, the site address, and “Contact: fleet@renkara.com,” on the final chord.

Features

One daemon in front of every MCP server.

Roost multiplexes sessions onto shared, lazily started MCP servers. It runs as a background process on one Mac, listens on the loopback interface only, and is operated with a small command-line tool. These are the jobs it does today.

Fewer processes, same tools

One hub, one address per server
Each configured MCP server is served at its own path on the daemon, over Streamable HTTP. A session's configuration holds a URL per server instead of a command to run.
Tool names stay the same
The client's config key is the server's key in Roost, so every tool keeps its mcp__server__tool name. No session, permission rule, or document that names a tool needs an edit.
At most one process per server
In the default shared mode, one child process per server is multiplexed across every session. Sessions share the child's single connection, whose request IDs cannot collide.
Three modes
Shared is the default. Per-session gives a stateful server its own child for each session, and passthrough relays to a server that already runs somewhere else at a URL.

A server runs only while someone uses it

Starts on the first real call

A child starts when a tool is first called. Listing is answered from a saved snapshot of the server's catalog, so once a snapshot exists, opening a session wakes nothing; a server's very first listing starts it once to take that snapshot.

Stops when idle
A child that has been idle past its time limit (30 minutes by default) is stopped, unless a request is still running on it. A server can be marked keep-warm to be exempt.
Catalogs stay current
Snapshots refresh when a server starts, when its watched files change, and on demand. If a running server's code changed since it started, a refresh restarts it so the catalog matches the code on disk, and says so.
Sessions hear about changes
When a refresh adds, removes, or changes tools, Roost sends a list-changed notice to live sessions on a best-effort basis.
Illustration with example data: three sessions, each showing the call get_card RC-133 and the reply sev2, open, beside a box labeled Roost that holds a snapshot, and a docket box marked running with an idle clock reading 0:00, above gavel and cortex boxes marked stopped.Illustration with example data: three sessions, each showing the call get_card RC-133 and the reply sev2, open, beside a box labeled Roost that holds a snapshot, and a docket box marked running with an idle clock reading 0:00, above gavel and cortex boxes marked stopped.

Illustration of Roost with example data. Three sessions each show "lists tools" beside a box labeled Roost that holds a snapshot, and the docket, gavel, and cortex boxes read stopped. Session 1 shows the call get_card RC-133; the docket box changes to running with an idle clock, and session 1 shows sev2, open. Sessions 2 and 3 show the same call and reply while the gavel and cortex boxes keep reading stopped. The idle clock then counts up to 30:00 and the docket box reads stopped again.

One bad server cannot take down the rest

A circuit breaker per server

After three failures in a row the breaker opens and calls fail fast with the child's last error lines. After 60 seconds calls are let through again, with one start of the child at a time, and only a successful call closes the breaker.

Deliberate stops are not failures
A restart, an idle stop, a reload, or a shutdown that interrupts a request fails that request with a message to retry. It never counts against the server.
Self-healing daemon
Under launchd's keep-alive the daemon is respawned after a crash. A kill -9 test measured about six seconds, and sessions reconnect on their own when the daemon comes back.
A way back that always works
Switching the fleet over saves a backup of every client config first. One command restores the old direct-start configs, so the hub is never a one-way door.
Illustration with example data: a Session box showing get_card RC-133, a breaker drawn open, and a docket box reading child died; below, call 4, get_card RC-133, refused, with the lines circuit is open; retry after 59s, ConnectError: connection refused, and docket-mcp exited with code 1.Illustration with example data: a Session box showing get_card RC-133, a breaker drawn open, and a docket box reading child died; below, call 4, get_card RC-133, refused, with the lines circuit is open; retry after 59s, ConnectError: connection refused, and docket-mcp exited with code 1.

Illustration of Roost with example data. A session sends get_card RC-133 to a docket box three times; each time the box reads child died and a row, call 1, call 2, and call 3, is added. The breaker switch then swings open and reads open. Call 4 turns back at the breaker, and a panel reads circuit is open; retry after 59s, with last error lines from the child. A bar labeled Timer, 60 seconds fills from 0:00 to 1:00. A probe call then reaches the docket box, which reads running; the breaker switch closes and reads closed, and a row reads probe, get_card RC-133, ok.

Ten commands and two endpoints

Prove it before switching

roostctl verify starts each server directly, diffs its tool list against what Roost serves, and must pass for every server before the fleet is switched. A failure names which half failed and the innermost error.

See what it is doing
roostctl status and top show each server's mode, process, memory, warm or cold state, last use, calls, spawns, median latency, tool count, and last restart with its reason.
Change servers without a restart
Edit the config file, run roostctl reload, and servers are added, removed, or changed in the running daemon.
Diagnose in one command
roostctl doctor checks the config, the port, the launchd job, the daemon's own health, snapshot ages, the open-file limit, and whether any server's interpreter sits on a path that package upgrades move.
Illustration with example data, drawn as a terminal: verify: all servers PASS, then Backed up current config, a flipped line for each of cortex, docket, gavel, and lattice, 4 server(s) flipped, 0 failed, and the line Revert with: roostctl revert --project, shortened.Illustration with example data, drawn as a terminal: verify: all servers PASS, then Backed up current config, a flipped line for each of cortex, docket, gavel, and lattice, 4 server(s) flipped, 0 failed, and the line Revert with: roostctl revert --project, shortened.

Illustration of Roost with example data, drawn as a terminal. The command roostctl verify prints a table of four servers, cortex, docket, gavel, and lattice, each marked PASS with a tool count of 7, 12, 9, and 14. The command roostctl flip prints the table again, then verify: all servers PASS, Backed up current config, a flipped line for each server, 4 server(s) flipped, 0 failed, and the line Revert with: roostctl revert --project. The caption then reads revert is the way back.

How it works

From a session's first call to an idle child

  1. Connect

    A session opens a server's URL on the loopback interface. Roost answers the initialize and the tool list from its saved snapshot. No child starts, unless the server has never been listed and has no snapshot yet.

  2. Call

    On the first tool call, the supervisor starts that server's one shared child and sends the call through its connection.

  3. Share

    Every other session's calls to the same server use the same child. The breaker watches each call.

  4. Reap

    When no one has used the child for its idle limit, Roost stops it. The next call starts it again.

Accessibility

Built so everyone can use Roost.

Roost has no screen to look at: it is a background daemon, a command-line tool, and two plain-text status endpoints. Here is what that means for access today, read from its code, and what nobody has checked. We do not claim a conformance level for Roost.

  • Supported

    Keyboard operation

    Everything is done from the keyboard. The ten roostctl commands are typed in a terminal, and the health and status endpoints answer ordinary requests. Nothing needs a pointer.

  • Not yet tested

    Screen reader landmarks and labels

    roostctl prints plain text, one row or one line per item, which a terminal screen reader can read. Nobody has tried one. The live view, roostctl top, redraws the whole screen on a timer, and how that reads aloud has not been checked.

  • Not yet tested

    Contrast in light and dark

    roostctl sets no colors of its own, so contrast is whatever the terminal theme provides. No measurement exists.

  • Partly supported

    Reduced motion

    roostctl status, doctor, and verify print once and stop. Only roostctl top redraws, on an interval you choose with a flag, and it does not animate anything.

  • Not yet tested

    Text resize and zoom

    Text size is the terminal's own setting, so a larger font works as it does for any command. Roost itself has no layout to break, but no one has tested it at a larger size.

  • Not supported

    Mobile and touch

    Roost is a macOS background process. It has no phone or tablet version and no remote interface: it listens on the local machine only.

Tech specs

Under the hood

Roost technical specification
Daemon
  • Python 3.12 with the MCP Python SDK, Starlette, and uvicorn; about 3,950 lines in 15 files
  • Streamable HTTP per server, bound to the loopback interface only
  • Stdio children supervised with a lazy start, an idle stop, and a circuit breaker per server
  • Persisted catalog snapshots written atomically and stamped for staleness
  • JSON-lines log with an INFO line for every spawn, stop, refresh, and breaker change
Command-line tool
  • roostctl, with ten commands: init, status, top, refresh, restart, reload, verify, flip, revert, doctor
  • Plain HTTP against the daemon's loopback endpoints: /healthz, /status, and /admin refresh, restart, and reload
  • verify compares tool names and schemas between a direct start and Roost, per server
  • flip and revert switch client configs with a backup
Configuration
  • One YAML file with per-server command, arguments, environment, working directory, and mode
  • Per-server idle limit (30 minutes by default), concurrency limit (8 by default), timeout, keep-warm, and watched paths
  • Secrets stay in the config file, which is kept readable by one user and is never checked in
Running and testing
  • A macOS background process under launchd with keep-alive, not a container
  • 172 automated tests, including a soak test and a live-fleet check
  • A pre-commit hook runs the tests that match the staged files within 30 seconds
Stands in for

A private copy of every MCP server in every session, Restarting a session to pick up a changed tool list

Works with

Part of the Renkara fleet

FAQ

Questions people ask

Is Roost available to other teams?

No. Roost is internal to Renkara and is not offered for sale. This site describes what it does and how it is built. Write to fleet@renkara.com with questions.

Why does this site have no screenshots?

Roost has no screen. It is a background daemon with a command-line tool and plain-text status endpoints, so there is no interface to capture. The diagram on the home page is drawn from the code and design notes.

What does the saving actually look like?

When Roost was designed, 22 servers were configured and four sessions were open, and the machine was running 92 server processes using 5.85 GB of memory. That was projected to about 17 GB at a dozen sessions. Roost's requirement is under 1 GB across ten or more sessions, with the daemon itself measured at 59 to 83 MB.

What happens if Roost stops?

New sessions cannot reach their servers until it is back. Under launchd it respawns in about six seconds, and sessions reconnect by themselves. If it cannot come back, roostctl revert restores every client's old direct-start configuration from the backup made before the switch.

Can anything on the network reach it?

No. The daemon binds the loopback interface only, and the admin endpoints are loopback-only too. Secrets for the servers live in a configuration file readable by one user.

Contact

Questions about this tool?

Write to Renkara Media Group and a person will answer.