Loads signed ALTWEB context capsules β refuses unsigned, tampered, or untrusted by default.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Signed context capsules for AI agents β Markdown compiled into self-contained, verifiable, optionally encrypted artifacts + an MCP loader that refuses unsigned or untrusted context. Verify before you inject.
AI agents run on plain-text context: instructions, personas, skills, memory files. None of it has provenance β anything that can write those files can poison them. ALTWEB gives context a chain of custody, and makes the loader refuse anything that lacks one:
.altweb.html file (or URL):
content compressed (deflate), optionally encrypted (AES-256-GCM), optionally
signed (ECDSA P-256). Self-contained β opens in any browser, verifies offline,
needs no server: you hand someone a file, not a database.altweb-context MCP server loads a capsule
into your agent only when the signature is valid and the signer's public
key is in your trust file. Unsigned, tampered, or untrusted capsules are
refused at load time, with an explicit reason. Refusal is the default: an
empty trust file rejects everything, signed or not.| Package | What it is |
|---|---|
altweb | CLI: altweb compile / decode / verify / keygen (packages/cli) |
altweb-context | MCP server: load_capsule, verify_capsule, list_trusted_keys (packages/mcp) |
@altweb/core | Headless engine: content model, codec, crypto, markdown, sanitize (bundled into both; npm release planned) |
@altweb/editor | Notion-style editor (built on Novel) with one-click capsule export |
site/ | Documentation site (Astro + Starlight) |
Both tools are on npm β nothing to clone:
Wire the loader into an MCP client (Claude Code example):
(From source: npm install && npm run build, then use the bundles under
packages/*/dist/.)
Trust a signer by adding its full public key to ~/.altweb/trusted-keys.json
(the UNTRUSTED_KEY refusal message hands you the ready-made entry; the short
fingerprint is a human label, not the trust anchor):
A valid signature proves who authored the capsule and that the bytes are intact. It does not make the content safe or true. The trust file is your policy; keep it short.
Pick a long passphrase. Identities derive deterministically from your passphrase via Argon2id with a fixed protocol salt (that is what makes them portable with nothing stored). Memory-hardness makes mass dictionary attacks economically hostile, but the passphrase's entropy is still the identity's foundation. Use a 16+ character diceware-style phrase; the tooling enforces a minimum strength.
Content is sanitized with DOMPurify on decode; artifacts carry a CSP; the
codec validates structure with zod. See site/ docs β Security model for the
full write-up, including the encrypted-capsule caveat (the signature covers
the decrypted payload, so verification completes after decryption).
Near-term, in rough order:
@altweb/core on npm β the engine as an installable library, for
programmatic use (the CLI and loader already ship it bundled).Built on excellent open source: Novel (Apache-2.0) and Tiptap (MIT) for the editor; DOMPurify, marked, pako, zod, @noble/curves in the engine. See NOTICE.
ALTWEB is dual-licensed:
altweb-context for others),
you must release your modified source under the AGPL.Copyright Β© 2026 Daniel C. ΘOIMU. Bundled third-party components keep their own (permissive) licenses β see NOTICE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/altweb-context-loader)<a href="https://allmcps.com/mcp/altweb-context-loader"><img src="https://allmcps.com/api/badge/altweb-context-loader?style=directory" alt="ALTWEB Context Loader on AllMCPs" /></a>