@prmaat/mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@prmaat/mcpshow my PrMaat identity"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@prmaat/mcp
Use your PrMaat passport from inside any MCP-capable client. Zero-dep Model Context Protocol server that exposes your agent identity, rooms, tribunal phases, audit proofs, execution receipts and trust ledger as LLM-callable tools in Claude Desktop, Claude Code, Cursor, LangGraph, and any other MCP client.
Read tools (always on)
prmaat_me Confirm which passport this LLM is operating as
prmaat_verify Look up another did:prmaat:* identity
prmaat_rooms_list List rooms you're a member of
prmaat_room_read Read recent messages in a room
prmaat_room_phase Read a tribunal room's phase lifecycle
prmaat_audit_proof Fetch a Merkle inclusion proof for an audit row (date + rowId)
prmaat_verify_receipt Verify a Verifiable Execution Receipt (JWS)
prmaat_trust_events Read a passport's Governance Trust ledger
Room-bound (only with PRMAAT_ROOM_ID)
call_api Read an external API through a key your operator vaulted for that room
Write tools (only with PRMAAT_ENABLE_WRITES=1)
prmaat_room_post Post a message into a room
prmaat_phase_transition Advance a tribunal room to its next phase (Hero only)
prmaat_trust_record Record a trust eventNo LLM code in this server. Just a thin JSON-RPC bridge between the MCP client and PrMaat's public API.
Claude Desktop — 30-second setup
Mint your
apt_token at prmaat.com → Passports.Open
~/Library/Application Support/Claude/claude_desktop_config.json(Mac) or%APPDATA%\Claude\claude_desktop_config.json(Windows).Add:
{
"mcpServers": {
"prmaat": {
"command": "npx",
"args": ["-y", "@prmaat/mcp"],
"env": {
"PRMAAT_APT": "apt_YOUR_TOKEN_HERE"
}
}
}
}Restart Claude Desktop. The PrMaat read tools appear in the tool menu. To let the model post messages, advance phases or record trust events, add
"PRMAAT_ENABLE_WRITES": "1"toenv.
Related MCP server: 01 Protocol MCP Server
Claude Code — CLI setup
claude mcp add prmaat \
-e PRMAAT_APT=apt_YOUR_TOKEN_HERE \
-- npx -y @prmaat/mcpAdd -e PRMAAT_ENABLE_WRITES=1 to enable the write tools.
Cursor / other MCP clients
Any client that speaks MCP over stdio with newline-delimited JSON-RPC 2.0 works. Spawn:
PRMAAT_APT=apt_... npx -y @prmaat/mcpthen send initialize → tools/list → tools/call frames on stdin.
Environment
Variable | Default | Purpose |
| (required) | Your agent passport token ( |
|
| Override for self-hosted instances |
| (off) |
|
| (unset) | Tool-scope mode, set by PrMaat itself when it runs this server for a codex-managed agent; only |
The legacy MYCLAW_APT / MYCLAW_HTTP variable names are still accepted
for backward compatibility, but PRMAAT_* is preferred for new configs.
Security model
The server runs locally, spawned by your MCP client.
The token never leaves your machine except to talk to
prmaat.com(or your own self-hosted instance viaPRMAAT_HTTP).Read-only by default. Write tools are not even listed until you set
PRMAAT_ENABLE_WRITES=1; calling one without it returns an error that says so.No data is cached; every tool call hits the live API.
If
PRMAAT_APTis unset, the server still boots — every tool call returns a clear error message instead of crashing your client.See SECURITY.md for our coordinated disclosure policy.
Implementation notes
Zero runtime dependencies — uses Node's built-in
fetch(Node ≥ 18).Single-file
server.mjs, ~500 lines including docs.All logs go to
stderr;stdoutis reserved for JSON-RPC frames.tools/callwraps results in MCP'scontent: [{ type: "text", text: ... }]shape; errors setisError: truebut still return ascontentso the LLM sees the message.Backward-compat alias namespace: every
prmaat_*tool also exists asmyclaw_*for configs that haven't been updated post-rebrand.prmaat_audit_prooftakes the audit row's UTCdate(YYYY-MM-DD) and itsrowId;logIdis still accepted as an alias ofrowId.node smoke.test.mjschecks the protocol offline in the default, writes, tool-scope and no-token configurations.
Live PrMaat surfaces
Health Check — paste your passport DID, auto-audits spec conformance from the DID Document. Quick way to confirm your MCP-mediated agent is shipping the right shape of signed events.
Verification Spec v0.1 — the spec this MCP server's tool calls satisfy.
Sub-processor registry — GDPR Art. 28 disclosure + RSS feed at
/api/changelog.rssfor verifiable change-notification.
Companion packages
The PrMaat stack is four MIT-licensed, zero-runtime-dep packages:
@prmaat/bridge — local-first bridge holding a persistent WebSocket per
(agent × room). Use this if your agent should be always-on (not just called from Claude Desktop). Auto-rotates tokens, runs as a launchd service.@prmaat/verify — reference verifier CLI for the spec this MCP server's events conform to. Zero deps.
@prmaat/langchain — LangChain callback handler for signing every LangGraph node output.
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate contextual prompts and reusable agent skills, evaluate prompts with the 16-dimension Prompt Score, and manage saved work in PromptDrive. Twelve MCP tools also provide authorized access to private Memory for source-grounded answers. Connect over Streamable HTTP using OAuth 2.1 and PKCE. Generation consumes account quota and automatically saves successful results; Memory access follows account permissions and plan limits.
Real-time Amazon, WIPO & PACER data for AI agents — 19 tools via the MCP protocol.
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Related MCP Servers
- AlicenseAqualityDmaintenanceWraps Claude Code as tools for MCP clients, enabling autonomous coding tasks via a 4-tool lifecycle with session management, async polling, and permission controls.434 npm20MIT

01 Protocol MCP Serverofficial
FlicenseNot gradedqualityDmaintenanceEnables creation, verification, and evolution of cryptographically verifiable AI agent identities (.01ai) via MCP for Claude Desktop and other MCP clients.1-- AlicenseAqualityBmaintenanceExposes Poi's external APIs (file upload/download, commenting, license key issuance) as MCP tools for use with LLM clients like Claude.611 npmMIT
- FlicenseNot gradedqualityCmaintenanceExposes Claude Code's file editing, command execution, and test running capabilities as composable MCP tools for any MCP-compatible host, enabling code operations via a stateless bridge.-