The standard · GMCP+ 1.0 · next

Breathe new life
into text worlds.

MUDs, MUSHes, MOOs — the text worlds people have lived in for decades — are still the deepest games online. To everyone who isn’t already in, they’re a wall of text. GMCP+ is a standard, secure way for a game to communicate state, commands and a real interface — subscriptions, scoped live data, a command catalogue, signed packs — in a client, in a terminal, or over a relay, without giving up the text.

  • Standard
  • Secure
  • Communication
  • Graphical relay
PROTOCOL · NEGOTIATION agreed
  • telnet 201 · gmcp
  • ed25519 · sha256
  • quickjs sandbox
Why GMCP+ exists

Text games aren’t the problem.
The front door is.

MUSHes and MUDs have decades of world, community and depth under the hood. What they don’t have is a front door a new player can walk through. GMCP+ lets a game present a real interface — gauges, panels, maps, art — while the text, the roleplay and the commands stay exactly where veterans expect them. Plain GMCP moved data; it never defined how a client should draw it, or how to trust a package. That gap is why GMCP+ exists.

01

Depth without the wall

A new player meets a character sheet and a clear screen, not forty lines of scrolling prose on turn one.

02

One interface, many clients

A game describes its UI once. The desktop client, a terminal, a screen reader and a relay all draw the same thing.

03

Invite, don’t gatekeep

Modern presentation is not a different game. The text stays, the old clients still connect, nothing breaks.

Plain GMCP

Moves data. Leaves the hard parts unsolved.

  • Each client guesses how to draw the game’s data.
  • Packages like Mudlet .mpackage run unrestricted Lua inside the client.
  • No signatures, sandbox or permissions — installing one trusts its author completely.
  • No subscriptions with ordering or ownership: every game invents its own deltas.
  • No command catalogue or reply routing; UI clicks stay client-specific.
  • No client-side presentation standard, so a UI built for one client doesn’t travel.

GMCP+

A package and presentation standard for the client, too.

  • A declarative presentation layer (cairn.layout) every client can draw or gracefully degrade.
  • Packages declare their language — Lua or JavaScript — and the API version they need.
  • Subscriptions with snapshots, merge patches, sequence and epoch checks, and resync.
  • A command catalogue with typed arguments, replies and the same path as typing.
  • Signed, pinned and sandboxed: a package can never take over the client.
  • Unknown features fall back to text; old clients keep playing.

Clients have had Pueblo and MXP for years — in-band markup for links and simple panels — but neither was built for a live, interactive game state. GMCP carried the data; GMCP+ adds the presentation and package standard those markup layers never gave us.

History

How we got here.

Every step solved one problem and left the next one behind. GMCP+ is the first designed as a neutral standard — one that any game and any client can adopt.

  1. 1970s–90s

    Text worlds

    SolvedPersistent shared worlds over telnet, in pure text.

    Left unsolvedEvery client had to infer structure from prose — no data, no interface contract.

  2. mid–late 90s

    MCP

    SolvedOut-of-band messages beside the text (#$#), session keys, a first structured channel.

    Left unsolvedLine-based 7-bit text, little reach outside MOO/MUCK, and no shared UI or package model.

  3. late 1990s

    Pueblo

    SolvedIn-band markup for links, images and sounds — the first real client-side presentation attempt.

    Left unsolvedMarkup inside the text stream, not live state; no panels, controls, subscriptions or trust.

  4. 2000

    MXP

    SolvedA standard markup extension for rich text, links and media, adopted by MUSHclient and CMUD.

    Left unsolvedStill markup, not an interactive UI contract; no ownership, ordering, packages or sandbox.

  5. 2000s

    ATCP → GMCP

    SolvedStructured out-of-band data (telnet 201), JSON packages, versioned modules, broad client support.

    Left unsolvedData only: no presentation standard, no command catalogue, no signed packages, no ownership model.

  6. 2010s

    Client.GUI & .mpackage

    SolvedClients could auto-install a game’s interface.

    Left unsolvedLocked to one client’s Lua; packages run with the client’s full reach, unsigned and unsandboxed.

  7. 2026

    CMCP

    SolvedScopes and epochs, contexts, subscriptions, a command catalogue, content packs, themes, audio, security and two renderer classes.

    Left unsolvedOne reference game and client; the neutral standard and cross-client package format still to define.

  8. Next

    GMCP+ 1.0

    SolvedAn open, vendor-neutral standard: declarative UI (cairn.layout), portable .gpk/.wpk, Lua/JS sandbox, reference client and server.

    Open nowAdoption and the final 1.0 spec — that is the work now.

How it works

One protocol. Three jobs.

Communication, security and presentation, kept in separate layers so a game never has to trust a client and a client never has to reverse-engineer a game.

Communicate

Scopes, contexts and subscriptions; verbs the game lists; merge-patched live data; sound events. The game sends meaning; the client draws it.

Secure

Game JavaScript runs in a per-world sandbox. Packages are signed and pinned, and the text port and input bar can never be covered.

Draw

One declarative interface. cairn.ui renders it in the desktop client, a 24-bit terminal, a screen reader, or a relay — from the same description.

Built on what servers already speak.

  • GMCP — the telnet carrier games already run (option 201). Nothing new on the wire to negotiate.
  • GMCP+ — scopes and epochs, subscriptions, contexts, a command catalogue, a declarative UI contract, package lifecycle and fallbacks.
  • Packages — .gpk portable, .wpk with cairn extras; one archive, one manifest, signed and pinned. A package declares Lua or JavaScript and the API it needs.
  • cairn.ui — the reference renderer: windows, layouts and themes in JS and Lua, over a Go core.
Under the hood

What GMCP+ adds
over plain GMCP.

GMCP moves data. GMCP+ adds what a modern client and a modern game actually need: ownership and ordering, subscriptions, a command catalogue, signed content, and a presentation standard both ends can agree on.

01 · Handshake

Negotiation & gating

GMCPCore.Hello and Core.Supports.

GMCP+A full handshake, edition negotiation, capability declaration (render class, widgets, themes, audio, pack cache) and a gate so stock clients never see a byte.

02 · Ownership

Scopes, owners & epochs

GMCPNo ownership or freshness model.

GMCP+Every message belongs to a scope and an epoch; stale data and clicks are dropped, with a no-ship sentinel and a full reset on a ship hop.

03 · Screens

Contexts & screens

GMCPNo way to control the UI.

GMCP+A context stack (console, room, away, dock, event) with priorities, TTLs, push/pop/set/clear and server-approved close requests.

04 · Data

Subscriptions

GMCPAd-hoc JSON, no ordering.

GMCP+Implicit, explicit and always-on subscriptions; snapshots then merge patches; sequence, owner and epoch checks; resync; rate limits.

05 · Commands

A command catalogue

GMCPClient-specific messages.

GMCP+Verbs with typed args, allowed consoles/contexts, rate limits, idempotent ids and replies with hints — the same path as typing.

06 · Results

Results as data

GMCPScans print text.

GMCP+Read-only verbs declare a result document and text:none, so a scan becomes a screen the client draws.

07 · Content

Content packs

GMCPNothing standard.

GMCP+Layout, art, theme, sound and script packs; identity (id, version, sha256); inline or content-addressed HTTPS; lazy fetch and a per-host cache.

08 · Trust

Trust & consent

GMCPTrust the server.

GMCP+Origin pinning, hash-before-use, optional ed25519 signatures with pinned keys/TOFU, consent modes, auto-update, rollback and built-in fallbacks.

09 · Presentation

A client-side standard

GMCPEvery client redraws its own way.

GMCP+A widget vocabulary, bindings with a total expression language, actions, fallback chains, theme tokens and two renderer classes (cell, gpu).

10 · Art & audio

One art and sound model

GMCPAd-hoc or client-specific.

GMCP+One SVG-subset sprite format for both renderers with data-bound damage zones; semantic sound events with per-ship maps, stages and synth recipes.

11 · Relay

Multi-display & relay

GMCPNot specified.

GMCP+A squatter/peers model: union capabilities, per-peer subscriptions, id rewriting, late-attach replay and a transport extension for remote heads.

12 · Scripting

Script packages (0.3)

GMCPNo remote code.

GMCP+JS packages in a per-world QuickJS sandbox, views and declarative cairn.layout, sandboxed install, rollback, permissions and a kill switch.

Live data

Subscriptions, snapshots and patches.

  • Three sources: implicit (the console or context), explicit (the client) and always-on (ship status).
  • A subscription starts with a full snapshot; every update after is an RFC 7386 JSON merge patch — a null deletes a key.
  • Each package has a sequence number; a gap triggers Cobra.Resync and a fresh snapshot.
  • Every message carries its owner and epoch; stale ones are dropped, so a click racing a ship change cannot act on the wrong ship.
  • rate_ms paces updates (100–60000 ms), reference-counted across contexts, up to 24 subscriptions.
  • State is built from keyed maps, not arrays — contacts by CID, teams by number — so single entries patch and delete cleanly.
{"seq":12,"ship":"ss-booty-king","epoch":1,
 "full":false,
 "d":{"systems":{"Port_Nacelle":{"cur":84.8}}},
 "t":1794674002000,"tick":4413}
Commands

Clicks are verbs, not text.

  • A game advertises a command catalogue: verb, who may use it, typed form, argument types, rate and whether it mutates.
  • A click sends Cobra.Cmd with typed arguments; the server re-validates everything and answers with one Cobra.Reply.
  • Every verb runs the same code path as typing it — same permissions, same side effects, same text.
  • Idempotent ids, epoch checks and rate limits; errors carry a code and a player-facing hint (often the typed fix).
  • Read-only verbs can return their result as a document (text:none), so a scan becomes a screen, not a paragraph.
  • Continuous controls stream at most 10/s and settle on release — a helm stick with no command flood.
→ {"id":17,"cmd":"dmg.assign",
   "args":{"team":3,"system":"Port_Nacelle"},"epoch":1}
← {"id":17,"ok":false,"err":"not_available",
   "hint":"That function is not available from this console.",
   "hint_cmd":"man opera"}
Abilities

What the standard gives a game.

A small, boring wire layer; a rich, careful layer above it; and a package format that travels. Everything a modern MU* needs to look alive again.

Standard, not a fork

Rides GMCP (Telnet option 201) and Core.Supports. Existing clients and proxies pass it through untouched.

Secure by construction

Unlike a Mudlet .mpackage, which runs with the client’s full reach, GMCP+ packages are sandboxed, signed and pinned.

Talks and listens

Scopes, contexts, subscriptions and merge-patched data; verbs instead of free text; sound events the client can voice.

Graphical relay

A client-side presentation standard: one declarative interface, drawn as GUI panels, a 24-bit TUI, a reader, or over a relay.

Packages that travel

.gpk is portable; .wpk adds cairn.ui. A package declares its language — Lua or JavaScript — and its API version.

Graceful by design

Unknown packages and old clients fall back to the text game. Nothing is ever a hard requirement.

Security

A game can drive the screen.
It can never drive the machine.

The old way — a Mudlet .mpackage of unrestricted Lua — could reach deep into the client. GMCP+ closes that hole: GMCP+ treats a game like a website treats its publisher, trusted to describe its own world, never trusted with your computer. The rules are written down, not implied.

Read the security model
  • Only the package’s own source — Lua or JavaScript — runs, compiled locally inside its world’s sandbox.
  • No bytecode, WebAssembly, native code, shaders or plugins.
  • No other world, other package, clipboard or client extension.
  • Never sees passwords or no-echo input; never reads the input bar.
  • Can’t cover, clip, imitate or steal focus from the text and the input.
  • No programs, no files outside its folder without a grant, no hosts beyond the announced routes.
  • A stop switch per world; errors are reported, and the session always falls back to text.
Who it’s for

Players, admins and builders —
all on the same wire.

Players

Keep your setup: drop in Mudlet .mpackage and TinyFugue scripts, then get modern panels in a 24-bit terminal with wpmu.

Download

Game admins

Design the interface once and reach every client. CobraMUSH is the reference server; portable packages mean no per-client rewrite.

The registry

Client & package devs

Implement the open primitives or build on the reference. wpmupkg builds and signs; cairn.ui gives the full runtime.

The CMCP spec
Status, honestly

CMCP 0.2 ships today. GMCP+ 1.0 is the next release; cairn.ui and cairn.layout are in progress. WaypointMU is the reference client, CobraMUSH the reference server — and the spec is meant to be implemented by anyone.

See the compatibility matrix
  • SupportedCMCP 0.2
  • Next releaseGMCP+ 1.0
  • In progresscairn.ui
  • Planned.gpk

Help make MU* inviting again.

Text has never been the problem. Give it a front door worth walking through, and the next generation can fall in love with these worlds too.