Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mcpx · code mode for MCP

Every MCP server.
One daemon.
Scripts instead of schemas.

code modeone MCP configshare it on your tailnetreclaim context

mcpx puts every MCP server you already have behind one local daemon, and gives your agent a TypeScript client instead of 43 tool schemas. Write a script once, run it again for free; publish it as a named script when it earns its place.

A one-minute demo will live here. The interactive example below is already real — it needs no video and no install.

Install

The installer downloads a published release tarball, verifies its checksum, and puts mcpx on your PATH. Per-user by default: ~/.local/bin, no sudo.

curl -fsSL https://raw.githubusercontent.com/developing-today/code/main/pkgs/mcpx/scripts/install.sh | sh

System-wide (installs into /usr/local/bin; the script escalates only the copy with sudo):

curl -fsSL https://raw.githubusercontent.com/developing-today/code/main/pkgs/mcpx/scripts/install.sh | sh -s -- --system

Never sudo $(curl … | sh): that runs the installer unprivileged and then executes its stdout as root. Prefer nix or the container? See every channel and its real status.

Or hand it to your agent

One prompt is enough. The button copies the prompt together with the agent entry point, so the agent knows where to read next.

hey please one-shot setup mcpx right now Agent entry point: pkgs/mcpx/AGENTS.md

Try it without installing anything

Simulated — runs in your browser. This example calls a mock demo server in this page, through the real generated mcpx client. No daemon, no install, nothing leaves the tab. To run it for real, copy it as a command below — or run it against your own daemon with "Run on my machine".

const echoed = await tools.demo.echo({ message: "hello from a script" });

console.log("demo.echo:", String(echoed));

How this example works, and what it deliberately cannot do →

Why you would install it

  • Code modeTool calls become one script. The script is shareable, reusable, and costs nothing to run again — keep it as a named script under .mcpx/scripts/ and run it with mcpx run.
  • Reclaim contextSchemas are pulled on demand: mcpx ls over seven namespaces is about 171 tokens, and the story's worked task spends about 4,600 tokens total instead of loading every tool's schema.
  • Tame MCPOne config for CLI, plugin, /v1 and /mcp; bind the daemon to your tailnet address to share it; and declare scripts, APIs and binaries as tools that live in the same daemon.

Where next

The numbers on this page come from the story; the install commands match scripts/install.sh. Nothing here is a mock except the example, which says so on its label.