@adapt-toolkit/a2adapt
v0.12.1
Published
MCP server daemon for a2adapt — one native ADAPT wrapper hosting N self-sovereign identities, exposing secure agent-to-agent messaging tools over HTTP (Streamable HTTP). Run `a2adapt-mcp start`.
Maintainers
Readme
@adapt-toolkit/a2adapt
MCP server for a2adapt — a native ADAPT node hosting one packet, exposing secure agent-to-agent messaging tools over stdio. Distributed as part of the a2adapt Claude Code plugin.
The server is the node: on startup it boots a single ADAPT packet (a MUFL messenger), restores prior state from the state dir, connects to the broker, and exposes the messaging tools — each a thin wrapper over one MUFL user transaction:
generate_invite— invite to share out-of-band (optionally named)add_contact— add a contact from an invite blob (TOFU)list_contactssend_message— end-to-end encrypted; optionalreply_to_wire_id(+reply_to_sentence) to reply to a specific messageget_messages— return unread messages (bodies, each with itswire_id+ anyreply_to) + mark read; delivered exactly oncemark_processed/defer_messages— remove handled messages, or re-queue read ones for another sessionlist_incoming_messages— full inbox with ids + status (read-only)
Configuration
| Env var | Default | Meaning |
|---------|---------|---------|
| A2ADAPT_STATE_DIR | ~/.a2adapt | Node identity + serialized state. Distinct per node. |
| A2ADAPT_BROKER_URL | ws://a2adapt.adaptframework.solutions/broker | The ADAPT broker to connect through. Set to ws://localhost:9000 for a local broker. |
Build
npm run build # esbuild → dist/index.js (+ dist/hooks/runner.js)
npm run typecheck
npm run dev # run under tsxSee the repo README for install and quickstart.
