# mcpx > mcpx is code mode for MCP: every MCP server behind one daemon, driven by scripts instead of schemas. Every page below links to its agent-markdown twin; llms-full.txt concatenates levels 1–2. ## Docs - [mcpx](index.html.md): mcpx is code mode for MCP: every MCP server behind one daemon, driven - [Archive](archive.html.md): Where retired entries go. - [The binary](binary.html.md): mcpx ships as **one Go binary**, built from cmd/mcpx. This page - [The CLI](cli.html.md): The mcpx command line, in three parts: how a session with it - [The compendium: structure and mapping](compendium.html.md): Status: standard - [Configuration](configuration.html.md): Every number in mcpx is a setting, including the ones nobody will ever - [Modes](modes.html.md): "Mode" is three questions wearing one word, and most confusion about - [mcpx as a consumer](consumer.html.md): > - [Running mcpx in a container](container.html.md): The Nix-built OCI image, what it deliberately does not contain, and the - [Coverage: the book against the binary](coverage.html.md): This chapter is the book's mechanical coverage proof: the whole - [Declared but never read](declared-but-unread.html.md): A knob that does nothing is worse than one that does not exist. A missing flag - [Dependencies](dependencies.html.md): Everything mcpx needs, and why. Nothing here is incidental — if it is listed, - [Deploying this book](deploying.html.md): This book is the root of the repository's single GitHub Pages - [Elicitation: a design](elicitation.html.md): Since: pre-release · Status: partial - [The script environment](environment.html.md): Settings are what a person tells mcpx. This page is the other direction: what - [Examples](examples.html.md): Four scripts you can run as they are. Each one calls the same deterministic - [exec and artifacts](exec.html.md): --- - [FAQ](faq.html.md): --- - [Finding the repository without git](git-discovery.html.md): How the repo and worktree scopes decide which repository a caller is in, - [Glossary](glossary.html.md): The words this book uses in exactly one sense. Where a word is - [The home-page example: copy it or run it in the page](home-example.html.md): The example on the home page is not a picture of code. It is the working - [The /v1 HTTP API](http-api.html.md): /v1 is the daemon's own API — the one surface everything else - [Ideas](ideas.html.md): Unvetted. Everything from a brainstorm lands here first, numbered, so nothing - [In name only](in-name-only.html.md): Status: working - [Install](install.html.md): --- - [Interfaces](interfaces.html.md): Every way into mcpx is one of two kinds. The **abstract interfaces** - [Landing checklist](landing.html.md): My reading of the brief, broken into items. Kept as the working list until the - [mcpx level-2 page map](level-2-page-map.html.md): The map for the level-2 docs: the layer a person reads right after - [MCP](mcp.html.md): mcpx speaks the Model Context Protocol in both directions, and in - [Now what](now-what.html.md): --- - [The opencode v2 plugin — verified API facts and implementation map](opencode-plugin-v2.html.md): Companion to [opencode-plugin.md](opencode-plugin.md), which sketches the v1 - [The opencode plugin](opencode-plugin.html.md): What it is, why each part exists, what is opencode-specific, and what happens - [Overview](overview.html.md): --- - [Parity](parity.html.md): go test ./internal/cli -run TestParityDocumentIsCurrent -update --> - [Finding the daemon without the binary](plugin-discovery.html.md): What the opencode plugin does when there is no mcpx on PATH, why each rung - [Plugins](plugins.html.md): "Plugin" means two different things in this project, and every page in this - [Proposals](proposals.html.md): Open design questions and answers. Nothing here is committed to; the point is - [Protocol: every revision, both directions](protocol.html.md): Since: pre-release · Status: standard - [Public Go client for /v1 (`pkg/client`)](public-client.html.md): pkgs/mcpx/pkg/client is the public Go client for the mcpx daemon's - [Quick start](quick-start.html.md): --- - [Release runbook](release-runbook.html.md): How docs/story.md stays true. README.md is a symlink to it, so this is the - [Reaching a daemon on another machine](remote.html.md): The daemon speaks HTTP on a unix socket, and every client surface — the - [Research and incidental findings](research-and-findings.html.md): Status: draft - [Script runtimes, permission profiles and presets](runtimes.html.md): mcpx run and mcpx exec hand the generated program to a JavaScript runtime. - [Schema validation (`internal/schemaval`)](schema-validation.html.md): mcpx validates tool and elicitation schemas with the internal/schemaval - [MCP tool reference](tool-reference.html.md): API-level reference for the tools mcpx exposes to MCP clients. For the - [Scripts](scripts.html.md): A script is TypeScript (or JavaScript) that calls tools through - [mcpx](story.html.md): --- - [mcpx Development Strategies & Lessons Learned](work-strategies.html.md) - [Testing mcpx](testing.html.md): What to run when you change mcpx, and what you never run. Each section names the - [Catalogue](catalogue/index.html.md): The catalogue chapter: things outside mcpx itself — MCP servers, registries, - [Comparisons](compare/index.html.md): Status: standard - [Decisions](decisions/index.html.md): A decision record exists when two or more issues propose different answers to - [The home-page example component](home-example/index.html.md): Issue #1876, Approach C, stages 1–3. This directory is the example slot of - [docs/spec](spec/index.html.md): Status: standard ## Optional - [mcpx test inventory (deliverable 1 of #1960)](testing/inventory.html.md) - [mcpx fuzz and seed policy (#1960)](testing/fuzz-and-seed-policy.html.md) - [mcpx feature↔integration-test inventory (for #1978)](testing/feature-inventory.html.md) - [Audit: features (end to end)](audit/features.html.md) - [Audit: the MCP specification (area `spec`)](audit/spec.html.md) - [Audit: mcpx's own surface](audit/surface.html.md) - [The comparison chapter](compare/chapter.html.md) - [Communication conflicts](compare/conflicts.html.md) - [Content types through mcpx: did it need them?](compare/content-passthrough.html.md) - [History](compare/history.html.md) - [What `input_required` is](compare/input-required.html.md) - [Code mode capability matrix](compare/matrix-code-mode.html.md) - [mcpx × revisions, both directions](compare/matrix-mcpx.html.md) - [opencode v1 vs v2](compare/matrix-opencode.html.md) - [MCP revisions × features](compare/matrix-revisions.html.md) - [Stateless and every revision: can mcpx do both?](compare/stateless.html.md) - [What each says a server should be](compare/what-a-server-should-be.html.md) - [Authorization](compare/register/auth.html.md) - [Capabilities](compare/register/capabilities.html.md) - [Code mode and script execution](compare/register/code-mode.html.md) - [Completion](compare/register/completion.html.md) - [Content types](compare/register/content-types.html.md) - [Elicitation](compare/register/elicitation.html.md) - [Errors](compare/register/errors.html.md) - [Lifecycle and versioning](compare/register/lifecycle-versioning.html.md) - [Logging](compare/register/logging.html.md) - [`_meta`](compare/register/meta.html.md) - [Multi round-trip requests (the 2026 `input_required` mechanism)](compare/register/mrtr.html.md) - [Subscriptions and notifications](compare/register/notifications.html.md) - [Pagination and caching](compare/register/pagination-caching.html.md) - [Plugin APIs (opencode v1 and v2) and harness integration](compare/register/plugin-apis.html.md) - [Process model and statelessness](compare/register/process-model.html.md) - [Progress and cancellation](compare/register/progress-cancellation.html.md) - [Prompts](compare/register/prompts.html.md) - [Resources](compare/register/resources.html.md) - [Roots](compare/register/roots.html.md) - [Sampling](compare/register/sampling.html.md) - [Tasks](compare/register/tasks.html.md) - [Tools](compare/register/tools.html.md) - [Transports](compare/register/transports.html.md) - [0001 — One hook vocabulary, and where a hook's output goes in the exec stream](decisions/0001-hook-vocabulary.html.md) - [0002 — One autonomy dial, and a ceiling the daemon sets](decisions/0002-autonomy-dial.html.md) - [0003 — What mcpx declares, and what it enforces](decisions/0003-declared-vs-enforced-capabilities.html.md) - [0004 — Scope-resolved roots: spawn cwd, `${mcpx.root}` substitution, initialize workspace](decisions/0004-scope-resolved-roots.html.md) - [0005 — Release pipeline, version single-sourcing, and the module path](decisions/0005-release-pipeline.html.md) - [0006 — TTLs renew by touch-on-read, bounded by a maxAge ceiling](decisions/0006-ttl-touch-on-read.html.md) - [0007 — Elicitation state binds no user identity (refuse-identity)](decisions/0007-elicitation-identity.html.md) - [What the specification asks of a client](spec/client-obligations.html.md) - [mcpx as a client: every revision](spec/client.html.md) - [MCP conformance matrix](spec/conformance-matrix.html.md) - [The conformance matrix](spec/conformance.html.md) - [Upstream era probe](spec/era-probe.html.md) - [Who an MCP request is from](spec/identity.html.md) - [What mcpx sends, per revision](spec/messages.html.md) - [The official conformance suite, run against mcpx](spec/official-suite.html.md) - [MCP normative requirements, every revision, both sides](spec/requirements.html.md) - [Revision conflicts and spec-internal contradictions](spec/revision-conflicts.html.md) - [What the specification asks of a server](spec/server-obligations.html.md) - [mcpx as a server: the transport](spec/transport.html.md) - [The compendium (full text)](llms-compendium.txt)