Microtoll Engine

السجل الرسمي أدوات المطورين

Microtoll Engine in your coding tool: docs search and a scaffold for end-to-end-encrypted apps.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @microtoll/mcp
Claude Code
claude mcp add microtoll-engine -- npx -y @microtoll/mcp@0.1.3
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "microtoll-engine": {
            "command": "npx",
            "args": [
                "-y",
                "@microtoll/mcp@0.1.3"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Microtoll Engine
  2. Documents
  3. Examples and deployment
  4. How it was built, and support
  5. Working on it

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.

PackageLicenceWhat it does
@microtoll/crypto-coreApache-2.0primitives, labelled key derivation, versioned wire formats, hybrid post-quantum seal
@microtoll/identityApache-2.0root key, unlock methods, sessions, restore, deletion
@microtoll/accessApache-2.0sealed sharing, capabilities, links, removal and rotation, two-tier disclosure
@microtoll/blind-storeAGPL-3.0-onlythe reference server library and its Postgres schema
@microtoll/mailboxApache-2.0pairwise unlinkable delivery: direct invitations under labels only two people can compute
@microtoll/mcpApache-2.0docs 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.txt and the MCP snapshot (npm run docs).
  • Each package's FORMATS.md or DESIGN.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 for blind-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.

الأسئلة الشائعة

ما هو Microtoll Engine؟

Microtoll Engine in your coding tool: docs search and a scaffold for end-to-end-encrypted apps.

كيف أثبّت Microtoll Engine؟

يعمل على جهازك. في Claude Code: claude mcp add microtoll-engine -- npx -y @microtoll/mcp@0.1.3. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Microtoll Engine إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Microtoll Engine مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون Microtoll Engine؟

ينشره microtoll. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.