Microtoll Engine
Microtoll Engine in your coding tool: docs search and a scaffold for end-to-end-encrypted apps.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
@microtoll/mcpclaude mcp add microtoll-engine -- npx -y @microtoll/mcp@0.1.3
{
"mcpServers": {
"microtoll-engine": {
"command": "npx",
"args": [
"-y",
"@microtoll/mcp@0.1.3"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Microtoll Engine
The security layer of an end-to-end-encrypted app, as packages that give any app the four things AI-generated apps get wrong: sign-in, key handling, access control and revocation. The server stores only what it cannot read.
Status: 0.1.0, the first release (2026-09-27). Pre-1.0: function names
and options may change between minor versions; the bytes it writes never
will. See docs/pages/formats-and-stability.md.
| Package | Licence | What it does |
|---|---|---|
@microtoll/crypto-core | Apache-2.0 | primitives, labelled key derivation, versioned wire formats, hybrid post-quantum seal |
@microtoll/identity | Apache-2.0 | root key, unlock methods, sessions, restore, deletion |
@microtoll/access | Apache-2.0 | sealed sharing, capabilities, links, removal and rotation, two-tier disclosure |
@microtoll/blind-store | AGPL-3.0-only | the reference server library and its Postgres schema |
@microtoll/mailbox | Apache-2.0 | pairwise unlinkable delivery: direct invitations under labels only two people can compute |
@microtoll/mcp | Apache-2.0 | docs search and project scaffolding for AI coding agents (Model Context Protocol) |
Each package carries its own LICENSE. Documentation is CC-BY-4.0.
Documents
THREATMODEL.md— per-package threat models and honest limits.docs/— the source of microtoll.dev,llms.txtand the MCP snapshot (npm run docs).- Each package's
FORMATS.mdorDESIGN.md— its formats, byte for byte. SECURITY.md,CONTRIBUTING.md— how to report a weakness; the rules and the sign-off.
References such as "D-04" in code comments and changelogs are to the maintainer's decision log, which is kept privately.
Examples and deployment
examples/notes-app— end-to-end-encrypted notes with sharing and revocation on the reference server:docker compose up, then http://localhost:8088.examples/identity-demo— the identity package on a page against its in-process server stand-in.deploy/— the hardened Compose file, the Dockerfile and the Nginx sample forblind-store.
How it was built, and support
The engine was written with Claude Code (Anthropic's coding agent) from a
security design the maintainer wrote and decided; the maintainer read and
accepted every change and recorded every decision with its reasons. The
checks are the ones you can run: the published test vectors (RFC 5869, RFC 8032, RFC 5903, RFC 7914, NIST CAVP, the X-Wing
draft) through the public API, the frozen fixtures, the adversarial suite,
and the threat model written down in THREATMODEL.md. An outside security
audit is the next step.
The packages are free and stay free. If they save you work, you can sponsor the work on GitHub.
Working on it
npm install # TypeScript for the declaration check; ws and pg for blind-store
npm run check # typecheck + tests (Node >= 24)
npm run db:up # a throwaway Postgres 17 in Docker for the database-backed suites
Tests use Node's built-in node:test. The browser packages have no runtime
dependencies; blind-store has exactly ws and pg. The suites that need
a database (blind-store's schema, protocol, live and fixture checks, and the
notes example) run when npm run db:up has started one — or a Postgres
answers at BLIND_STORE_TEST_DB — and skip with one line otherwise; CI runs
them.
Frequently asked questions
What is Microtoll Engine?
Microtoll Engine in your coding tool: docs search and a scaffold for end-to-end-encrypted apps.
How do I install Microtoll Engine?
It runs on your machine. In Claude Code: claude mcp add microtoll-engine -- npx -y @microtoll/mcp@0.1.3. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Microtoll Engine need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is Microtoll Engine open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains Microtoll Engine?
It is published by microtoll. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.