agentprivacy
This server exposes a read-only, reproducible knowledge and identity toolkit over a baked 20-site FedWiki federation — search and traverse the guide, operate on a 64-vertex sovereignty lattice, derive/evolve City Keys and sigils, and verify VTA records and AgentCards without holding any secrets.
Guide search and navigation:
guide_searchruns BM25 over the baked lexical index plus link-graph expansion, returning an ordered walk of pages (site, slug, lattice vertex, PSI element) with limits and optional site restriction.Page retrieval:
guide_pagefetches a page by slug (site optional — slug is the identity), returning text, weave/links, lattice vertex, six-bit posture, PSI element and public URL.Neighbour exploration:
guide_neighbourslists outgoing and backlinks, each labelled with the named lattice move (succ · neg · bnot · flip · jump ×k) from the current page.Lattice operations:
lattice_moveapplies an operator to a vertex 0–63 (succ, neg, bnot, flip a dimension, or name a target vertex) and returns the resulting vertex, its six bits, dimensions, stratum and a derived reading.Key derivation (Law L5):
key_derivere-derives a City Key’s κ from canonical JSON (or a sigil PNG carrying the key) via sha256, compares it to the stamped κ, and returns verdict, derived κ, prior, 64 glyphs, and lit/walked vertices.Key evolution:
key_evolvedeterministically appends a walk (steps, pathway.v1, or star-chart constellation) to a City Key, resolving each step against the bake to its vertex and PSI element; the evolved key gainswalks[],prior, and a fresh κ — or starts from the default key if omitted.Sigil rendering:
sigil_renderdraws a PNG of 64 glyphs lit by the re-derived κ, coloured by stratum with coral/cyan rings for lit/walked vertices, embeds the key in a tEXtcityKeychunk, optionally writes to a file, and is importable on soulbis.com/star, /lattice, /sigil.VTA record verification (public):
key_verifychecks a signed VTA record (kind agentprivacy.vta/1) — bearer public key, κ, prior, at, walks, vrcs, ed25519 signature — and, when a key is given, confirms the record names that key via L5 re-derivation; also supportssince/horizonDaysforevolved_sinceevaluation; holds no secret.AgentCard verification (public):
card_verifyvalidates an AgentCard as signed by the agentprivacy /ceremony (ed25519 over the card payload), returning participantId (ap-<16 hex>), did:key, displayName, trustTier and Drake Orb tier — the identity mages.city admits.Plaintext intersection (development only, hidden under VTA_MODE=1):
compare_plaincomputes the intersection of two City Keys in plaintext; this is a development-only helper slated for replacement by DH-PSI in Rung 3.General guarantees: all tools read the bake, never the live farm, so walks are reproducible; nothing holds secrets, and no tool signs or sends messages on its own.
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., "@agentprivacy Search the privacy guide for data minimization."
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.
agentprivacy-mcp
The privacy guide, the 64-vertex sovereignty lattice and the City Key, exposed as
MCP tools. This is the Mage's half of the Verifiable Trust Agent described in
agentprivacy_master/docs/PLAN_KNOWLEDGE_GRAPH_TO_VTA_2026-09-03.md (Phase 3, read
tools): every tool is a pure function over a City Key or a graph snapshot, so an agent
can compose them and a human can audit the composition. Nothing here holds a secret.
Zero dependencies. Node ≥ 18. MCP over stdio.
claude mcp add agentprivacy -- node C:/Users/mitch/agentprivacy-mcp/server.mjs
node server.mjs --list # what the bake holds + the tool roster
npm test # canon vectors + the scripted agent (bin/walk-demo.mjs)What it reads
The bake, never the live farm, so a walk is reproducible (plan §7):
file | written by | carries |
|
| one row per page: |
| same | title · date · links · vertex · posture |
| same (from | the BM25 search core + per-site lexical indexes |
|
| the page itself |
Point elsewhere with AGENTPRIVACY_GUIDE_SITE=<dir>.
Related MCP server: Member Directory
Tools
tool (plan name) | in | out |
| query, limit?, sites? | an ordered walk: steps with site · slug · vertex · posture · PSI element · url |
| slug, site? | text, weave (links), vertex + six bits, dims, stratum, element, copies across sites |
| slug, site? | out-links and backlinks, each with the named lattice move: succ · neg · bnot · flip dim · jump ×k |
| vertex, op | the resulting vertex, bits, dims, stratum, reading. |
| key (JSON · sigil PNG · path) | Law L5: canonical form → κ → verdict |
| key?, walk, name? | the evolved key: |
| key, out?, size? | a PNG that carries the key (tEXt |
| a, b | the ∩ in the open. Development only; hidden under |
Identity is the slug, never the host: guide_page and key_evolve take a slug and an
optional site; the same page forked across sites is one reference.
The walk, as content
key_evolve appends to the City Key's additive walks field:
{ "chart": "https://guide.agentprivacy.ai/star-chart/", "name": "…",
"steps": [ { "site": "guide", "slug": "the-private-knowledge-network", "vertex": 36,
"element": "sha256:…" } ], // element = sha256("<vertex>|<slug>|<sorted links>")
"digest": "sha256:…", // over the canonical steps
"moves": [ "flip connection", "jump ×2 (memory value)" ] }It is deterministic: no timestamps, no randomness. The same key and the same walk give
the same κ whoever calls, which is what lets a human's constellation on spellweb and an
agent's walk on the guide evolve the same key (Phase 1). Consumers that do not know
walks ignore it (the v1 extensibility clause); prior chains to the key it grew from
(C87: the key accumulates).
The bit canon
d1 protection = 32 · d2 delegation = 16 · d3 memory = 8 · d4 connection = 4 · d5 computation = 2 · d6 value = 1
(game42 axisSpace, soulbis /sigil, agentprivacy_master/src/lib/lattice-vertex.ts,
spellweb's vertex nodes, and agentprivacy.guide/tools/lattice.mjs all agree;
test/canon.test.mjs checks this package against the game42 file when it is present).
The Swordsman ⚔️ (Rung 1) — a second process, no LLM
swordsman/swordsman.mjs holds the bearer's ed25519 seed and signs what it is handed
after a fixed policy check it will not argue about. It is its own MCP server, so a
prompt-injected Mage can request a bad signature and still not get one.
node swordsman/swordsman.mjs init [--seed <ceremony privateKeyHex>] [--card AgentCard.json]
node swordsman/swordsman.mjs status
claude mcp add swordsman -- node C:/Users/mitch/agentprivacy-mcp/swordsman/swordsman.mjsKeystore ~/.agentprivacy/swordsman/ (identity.json 0600 · policy.json · ledger.jsonl).
--seed imports the identity /ceremony minted, so the Swordsman IS the AgentCard that
mages.city admits.
tool | does | policy it enforces |
| signs a City Key evolution → the VTA record | κ must re-derive (L5) · own bearer only · |
| what a VTA publishes: public key · κ · prior · VRC commitments, plus a ready | never the key, never the walk, never the seed |
| writes the record into a sigil PNG as a | record must verify |
| the policy + ledger head | read-only; the seed is never returned |
Public verification lives on the Mage side, holding nothing: key_verify (record ±
key ± PNG, and the liveness predicate evolved_since(t)) and card_verify (an AgentCard
as /ceremony signs it). The signed record travels beside the key, so the κ rule is
unchanged everywhere.
node bin/walk-demo.mjs --sign runs the whole Phase 3 done-when across the two processes.
Not here yet
Rungs 2–5 of agentprivacy_master/docs/PLAN_CITY_KEY_CRYPTO_UPGRADE_2026-09-03.md:
carrier.seal, psi.blind/unblind, proof.predicate, vrc.issue, and the two
human-consent tools. Designed there; not built.
Browser game integration (in progress)
browser_action_prepare creates an exact, short-lived spell/sticker proposal for extension review. It does not dispatch or authorise a browser effect. See browser action boundary for receipt folding, durable effect idempotency and missing live adapters. The server is trusted local stdio software; filesystem-capable tools must not be exposed directly as a public network service.
VTA + Star: agent knowledge spaces (2026-09-08)
MCP task engine records this surface's responsibilities and acceptance gates. The shared design places FedWiki records, browser-carried Star state, first-contact intent, MCP Trust Tasks, VTA permission enforcement and earned Mages City names in one continuing journey. Status is explicitly partial; follow the note's source and deployment distinctions.
City invitation and experience entry
Use experience_route to select arrival, learning, key custody, casting or collaboration. city_invitation_draft prepares a private public-summary candidate in the City's visitor-event shape; publish remains false. See City entry workflow. These tools neither sign nor send messages, and an invitation does not establish membership, credentials or MyTerms agreement validity.
Complete capability overview
Begin with experience_overview: one source inventory covers the key, journey, invitation, game action, Star orb, VTA pair, agreements/tasks/VRCs, City access and core-artefact proposal. lib/experience-overview.json is the source; the City serves its current copy at /experience-overview.json. Keep this copy byte-identical when updating capability status. No status here substitutes for live service discovery.
Available Tools
10 toolscard_verifycard.verify (public)A
Verify an AgentCard as agentprivacy /ceremony signs it (ed25519 over the card payload; participantId = ap-<16 hex of the public key>). Returns participantId, did:key, displayName, trustTier, Drake Orb tier. This is the identity mages.city admits with; the board never re-issues it.
Inputs: card (required).
compare_plaincompare.plain (development only)B
The ∩ of two keys (walked + lit vertices, shared PSI elements) computed IN THE OPEN by reading both keys. Development only: Rung 3 replaces it with DH-PSI, and it is hidden when VTA_MODE=1.
Inputs: a (required), b (required).
guide_neighboursguide.neighboursD
Linked pages (outgoing and backlinks) of a page, each with the NAMED LATTICE MOVE from this page to it: succ · neg · bnot · flip · jump ×k (dimensions), per the 64-vertex sovereignty lattice.
Inputs: slug (required), site.
guide_pageguide.pageA
One page by slug (site optional — identity is the slug, never the host): its text, weave (links), lattice vertex + six-bit posture, PSI element and public URL.
Inputs: slug (required), site.
guide_searchguide.searchA
Search the guide (the baked fedwiki federation, 20 sites). Returns an ORDERED WALK of pages — BM25 over the baked lexical index, then link-graph expansion — each step with its site, slug, lattice vertex and PSI element. The agent reads the bake, never the live farm, so a walk is reproducible.
Inputs: query (required), limit, sites.
key_derivekey.deriveC
Law L5 — a κ is never trusted, only re-derived. Canonical form (keys sorted recursively, no whitespace, kappa excluded) → sha256 → compare with the stamped κ. Accepts a City Key JSON or a sigil PNG (the image carries the key). Returns verdict, derived κ, prior, the 64 glyphs, lit and walked vertices.
Inputs: key (required).
key_evolvekey.evolveA
Append a walk to a City Key — pure and deterministic. Walk = an array of {site?, slug} steps (or slugs), a pathway.v1, or a star-chart constellation. Each step is resolved against the bake to its vertex and PSI element; the evolved key gains walks[], prior = κ of the key it grew from, and a fresh κ. UNSIGNED — a Swordsman signs (Rung 1). Omit key to start from the default key.
Inputs: walk (required), key, name.
key_verifykey.verify (Rung 1, public)A
Verify a signed VTA record (kind agentprivacy.vta/1: bearer public key, κ, prior, at, walks, vrcs, ed25519 sig) — and, when the key is given, that the record names THIS key (L5: κ re-derived from the key equals the signed κ). Accepts the record as JSON or a sigil PNG carrying a cityKeySig chunk. With since, also evaluates the liveness predicate evolved_since(t). Holds no secret.
Inputs: vta (required), key, since, horizonDays.
lattice_movelattice.moveA
Apply a lattice operator to a vertex (0-63): succ (the wheel, +1 mod 64), neg (Swordsman reflection, 64−x), bnot (Mage antipode, 63−x), "flip " (one bit), or "to " (names the move). Returns the resulting vertex, its six bits (d1 protection … d6 value), dimensions, stratum, and a derived reading.
Inputs: op (required), vertex (required).
sigil_rendersigil.renderC
Draw the key's sigil — 64 glyphs, one per vertex, lit by the RE-DERIVED κ (never the stamped claim), coloured by the key's palette by stratum; lit vertices ring coral, walked vertices ring cyan — as a PNG that CARRIES the key (tEXt cityKey), importable on soulbis.com/star, /lattice, /sigil. Returns the image; writes it to out when given.
Inputs: key (required), out, size.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct operation: key derivation, guide search/page/neighbours, lattice moves, key evolution, sigil rendering, key and card verification, and a dev-only comparison. The descriptions clearly separate overlapping functions like key_derive vs key_verify.
Most tools follow noun_verb (key_derive, guide_search, lattice_move), but guide_page and guide_neighbours are noun_noun and compare_plain is verb_adj. The mix is still readable but not uniformly consistent.
10 tools is well-scoped for the domain: 5 key-related, 3 guide-related, 1 lattice, 1 card verification. Each tool earns its place without redundancy.
Covers key lifecycle (derive, evolve, verify, render), guide exploration (search, page, neighbours), and lattice operations. Missing explicit signing, but that is described as an external Swordsman step, and dev-only compare_plain is clearly marked.
Maintenance
Related MCP Connectors
Governed MCP: agent audit, provenance, deterministic checks, and receipt-backed FragGate execution.
Production-grade cryptography toolkit with 31 MCP tools for classical, PQC, and KMS workflows.
Provenance and metadata tools for AI agents. Paid tools use x402 (USDC) at /mcp/<tool>.
Deterministic MCP utilities, validation, evidence verification, and x402 commerce on Base.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides evidence-oriented MCP service for cryptographically identified agents, bounded public contracts, privacy-preserving records, and append-only audit.Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides deterministic MCP tools for managing encrypted member profiles, including self/other lookups, responsible-person contacts, and birthday queries with privacy-focused local encryption.-
- AlicenseAqualityCmaintenanceFree seven-tool proof loop for MCP agents: scoped sessions, bounded authorization, typed outcomes, evidence-bound claims, and tamper-evident local closure. Upgrade to Complete Local for durable memory, recovery, signed traces, release verification, and multi-agent workflows.7Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables agents and gateways to seal each action into a tamper-evident W3C PROV record backed by a signed Merkle transparency log, and to fetch tree heads, inclusion and consistency proofs, verify records, and trace artifact lineage through six typed MCP tools.Apache 2.0