Governance MCP server for agent-maintained knowledge bases (OKF): git-backed writes, search, lint.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
MCP governance server in Go for the Agentic Wiki β knowledge that composes, not that you query.
[!WARNING] Beta software. Cartographer is pre-1.0: the MCP tool surface, CLI and configuration may change between minor releases without a deprecation period. Breaking changes bump the minor version (0.x semantics) and are called out in the changelog. Expect rough edges β bug reports are very welcome.
LLM agents forget everything between sessions, and stateless RAG only bolts retrieval onto that amnesia. The alternative is a knowledge base the agent itself builds and maintains over time β but letting an agent loose on a folder of files ends in broken links, lost history, and silent corruption. Cartographer is the governance layer that makes the pattern safe: the agent works the wiki exclusively through MCP tools, and the server enforces every invariant β validation, linking, immutability gates, one git commit per write.
The embedded Atlas on a generated demo KB (web/scripts/demo-kb.mjs): a selected concept in light, the overview in dark.
Cartographer implements the Agentic Wiki: a persistent knowledge base of interlinked Markdown files that an LLM agent grows and curates by talking to the server over the MCP protocol. The agent never touches the files directly.
The wiki is grounded in Karpathy's "LLM Wiki" pattern (operating model: knowledge accretes
over time, it is not stateless RAG) on top of the OKF substrate (Open Knowledge Format v0.1 by
Google Cloud) β each KB is a folder of .md files with YAML frontmatter, self-contained and
version-controlled with git. Zero lock-in: the wiki is readable by any tool, including Obsidian and
any text editor.
One binary, two transports β deployment choices, not separate products: the KB model and the MCP tools are the same on both.
Two consequences are worth stating on their own, because they are what most of the design is for: the KB configures the agents that read it across every client you use, and it does that for a whole team rather than a single laptop.
You need git and an empty git repository you own (GitHub, Gitea, any git host) to be your
first KB's remote: a KB is a git repository, and that remote is what makes it durable and
syncable. sops in PATH is needed only if the KB will hold encrypted values.
setup asks for the remote, shows its plan, and only then runs it: it installs the native
service, creates the KB in an empty repository or mounts the one a repository already holds,
connects every detected agent client and verifies the server. It checks git and the remote's
credentials before changing anything, and a re-run skips what is already done. Unattended:
cartographer setup --remote <url> --agents claude --yes. Each step is also its own command
(service install, kb create/kb clone, connect) β see
docs/configurator.md. Agent sessions that were already open need a
restart to see the new MCP server.
Once connected:
The step-by-step walkthrough is docs/getting-started.md. For a single
KB over stdio with no service (typically development) or a hand-configured HTTP server, see serve
in docs/deployment.md.
The Quick start assumes an interactive operator who answers the prompts and diagnoses a failure as it happens.
If you are an agent and the user has asked you to install Cartographer: fetch https://raw.githubusercontent.com/BeppeTemp/cartographer/main/docs/agent-install.md and follow it command by command. Do not install from the Quick start above: the runbook asks for the KB remote up front, verifies the install and ends with the session restart you cannot perform yourself.
For a human driving an agent, this is the prompt to paste:
A knowledge base is not only what an agent reads β it is also how that agent is set up to work. Cartographer treats skills, subagents, hooks and standing instructions as content of the KB, and materializes them into each client's native format.
The manual alternative is what most setups do today: the same skill hand-copied into
.claude/skills/, .opencode/skills/ and .codex/skills/, each drifting on its own, each config
file edited by hand for every MCP endpoint. Change one thing and you change it in six places, on
every machine, forever.
That single command writes, per client and in the format that client expects:
| claude | opencode | codex | kiro | antigravity | crush | hermes | |
|---|---|---|---|---|---|---|---|
| MCP endpoint | ~/.claude.json | ~/opencode.json | block in ~/.codex/config.toml | ~/.kiro/settings/mcp.json | ~/.gemini/config/mcp_config.json | ~/.config/crush/crush.json | β |
| Instructions | block in ~/.claude/CLAUDE.md | block in ~/.config/opencode/AGENTS.md | block in ~/.codex/AGENTS.md | ~/.kiro/steering/cartographer.md | block in ~/.gemini/GEMINI.md | block in ~/.config/crush/CRUSH.md | β |
| Skills | ~/.claude/skills/ | ~/.opencode/skills/ | ~/.codex/skills/ | ~/.kiro/skills/ | ~/.gemini/config/skills/ | ~/.config/crush/skills/ | delivered to its inbox |
| Subagents | ~/.claude/agents/*.md | ~/.opencode/agent/*.md | ~/.codex/agents/*.toml | ~/.kiro/agents/*.json | ~/.gemini/config/agents/*.md | β | β |
| Hooks | ~/.claude/hooks/, registered in settings.json | ~/.opencode/hooks/, run by a generated JS plugin | ~/.codex/hooks/, registered in hooks.json | β | ~/.gemini/config/hooks/, registered in hooks.json | β | β |
| Re-sync trigger | SessionStart hook | SessionStart hook | SessionStart hook | scheduled timer | scheduled timer | scheduled timer | scheduled timer |
Subagents and hooks are translated, not copied: the same KB artifact becomes a Markdown agent for Claude Code, a TOML one for Codex, Antigravity-native Markdown, and a generated JavaScript plugin where a hook has no declarative equivalent.
Every β is an unsupported cell declared for a stated reason, never a silent omission β and a
cell missing from the table fails a test:
docs/interoperability.md Β§Kiro hooks), so its re-sync
trigger is the scheduled timer. Subagents work: ~/.kiro/agents/<name>.json is discovered
globally and the built-in agent delegates to it by description.SOURCE.md and the
agent's own curator adopts them, because overwriting what that curator owns would destroy its
learning.Where there is no session hook, the scheduled trigger takes over
(cartographer service sync-timer install): opt-in, explicit, and never installed as a side effect
of connecting.
What keeps it true after the first run:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/cartographer)<a href="https://allmcps.com/mcp/cartographer"><img src="https://allmcps.com/api/badge/cartographer?style=directory" alt="Cartographer on AllMCPs" /></a>