klypix-mcp
Allows importing Obsidian .canvas files directly into KLYPIX for use as project brains.
Click on "Install 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., "@klypix-mcpsummarize the canvas roadmap"
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.
Every project gets a brain.
Not a second brain. A shared one.
You've seen the setup: point an AI at a folder of notes, watch the graph fill up, call it a brain. Look closer — the human never touches anything. Even the pattern's inventor says it: "you never write the wiki yourself… I browse the results in real time." The human is a reader. The AI is the sole writer. That's not a brain — that's an aquarium.
klypix-mcp gives your project a brain you're allowed inside while it works. One file — brain.klypix — in your repo, versioned with git, that your AI agents read, write, and argue from. And in the KLYPIX app, you work in it while they do: your cursor typing in one card while agent decisions land beside your hands, each in its area, with an arrow explaining why — and the save refuses to write a file that lost a card.
Their AI keeps a diary about your project. Ours works in the same room as you — and the room remembers.
Quick start
Claude Code + Codex:
npx klypix-mcp installClaude Code keeps its live hooks for auto-brief + auto-capture. Codex gets native MCP
tools, automatic live-session presence, and approval-free smart task synchronization
from the authorized MCP connection itself. brain_sync is a bounded Context Gateway:
one call returns task-relevant brain memory, meaningful active-task peers, structured
exact-file conflicts, one-time notes, and automatic late-arrival overlap alerts. The
earlier session gets a best-effort live MCP logging notification within seconds, while
the same alert remains guaranteed on its next KLYPIX action if its host hides logs. Idle MCP
connections stay counted for diagnostics but are hidden from the task-peer list. MCP
server instructions plus a managed Codex AGENTS.md block teach Codex to call it at task
start, when scope changes, and on completion—no Codex hook approval required. Run inside a
project containing brain.klypix, or run npx klypix-mcp link in each brain project.
The installer removes the obsolete global KLYPIX --vault "." table that could resolve
outside the active project; every unrelated Codex setting and MCP server is preserved.
Optional native lifecycle capture for mechanical prompt/tool/file events:
npx klypix-mcp install --codex-hooksCodex owns this native layer's security decision and asks the user to review/trust the
hooks on surfaces that expose hook management. Once trusted, the enhanced layer
automatically injects bounded task-ranked brain memory on every prompt and warns before
an exact overlapping file edit. brain_doctor reports it separately as off,
execution-unverified, or active; the approval-free smart layer remains active either way.
Prove the exact installed runtime with two isolated real MCP clients:
npx klypix-mcp conformanceThe test touches only a temporary fixture. It verifies tool discovery, task memory, truthful peers, blocking overlap detection, proactive logging, and guaranteed in-band delivery.
Give a project a brain by dropping a brain.klypix in it — the
KLYPIX app does it in one click (Save canvas as project brain),
or create_canvas makes one from any agent.
Every other agent tool (one command per project):
npx klypix-mcp linkAdds project-native config for Codex, Cursor, and VS Code/Copilot, plus rules for
Cline, Windsurf, Gemini CLI, Aider, and any AGENTS.md-reading agent. Verify all
managed files without changing them with npx klypix-mcp link --check.
Related MCP server: FilDOS MCP Server
What a project brain does
The difference from a folder of notes is not the shape — it's that this memory is a mechanism, not a filing convention:
It briefs each task, not just each session.
brain_syncranks a bounded memory capsule from the actual task intent and expected files. The full generated brief remains available for broad history/status work, while the always-loadedAGENTS.mdfallback stays compact. Measured on our own brain: 73% of past decisions recovered with one search round (55% brief-only) vs 0% cold (n=20).It argues back.
brain_challenge: propose a decision and the brain answers with receipts — "you reversed this on June 12; here's the correction — captured by a different agent, coordinate before overriding." Deterministic evidence only (correction-cues, opposite-polarity), never mere topical similarity. A memory that can't disagree with you is flattery.It knows when it's stale. Decision cards can anchor to the exact code they were decided against (git blob OID). When that code moves on, the card raises its hand in the next brief. Their notes rot silently; ours confess.
It answers from the past.
brain_askwithas_of: 2026-03-01answers what the project believed then — corrections from the future never leak backwards.Position means something. Drag a card into the 📌 Focus area and it leads every future session's brief. Layout is instruction, not decoration.
Many agents, no chaos. Concurrent sessions take a capture lock (zero captures lost, tested at four simultaneous writers), tag who wrote each card, message each other through the brain (
brain_message), and genuine contradictions surface as red arrows for a human to arbitrate — never auto-resolved.Retrieval that's measured, failures included. Hybrid on-device search (semantic + lexical + cross-encoder rerank, no cloud): recall@5 of the true source card went 5% → 15% → 40% across our upgrades (n=20 frozen human-paraphrase questions) — and the experiment that regressed (contextual prefixes on short cards) is recorded next to the wins.
One file you can hold
The whole brain — layout, decisions, arrows, and the actual bytes (images, PDFs, audio, code) — is a single .klypix file. Email it. Git it. Hand it to an agent. A folder of markdown points at its attachments; this file carries them.
And it's not a cage: everything exports to Markdown and JSON Canvas in one command, and Obsidian .canvas files open directly in KLYPIX. Plain markdown is the most portable text on earth — that's exactly why we export to it. Full spec: FORMAT.md.
"Project" means any project. Two showcase brains ship in examples/, identical in engine, different in life: showcase-brain.klypix is Aurora, a fictional weather app mid-build (radar tiles, API caps, a correction with its receipt) — and showcase-wedding.klypix is Our Wedding (venue, vendors, guest list, the same correction machinery pointed at a caterer). Same 📌 Focus, same arrows, same brief. If it has decisions worth keeping, it gets a brain.
Setup for plain MCP clients
Any MCP client gets the tools and connection-lifecycle presence without host hooks. For
Claude Desktop, in claude_desktop_config.json:
{
"mcpServers": {
"klypix": {
"command": "npx",
"args": ["-y", "klypix-mcp", "--vault", "/absolute/path/to/canvases"]
}
}
}If the vault contains brain.klypix, that MCP connection also appears as an active
session. brain_sync adds compact task memory, expected-file coordination, task-only peer
reporting, structured exact-overlap warnings, automatic conflict alerts, timing receipts,
best-effort proactive notifications, and guaranteed one-time peer-note delivery. Then ask your
agent things like "what did we decide about auth?", "challenge this: let's switch
to polling", or "turn these notes into a board."
The 18 verbs
Tool | What it does |
| Whole-brain question answering — correction-aware, |
| The brain argues back: contradictions with receipts, tried-and-reversed chains, standing rules, other-agent provenance flags |
| Capture with the full lifecycle — supersede / ✓ resolve / ~ update / 🛠 skill / closes: |
| Find stale-vs-correction pairs + unrecorded migrations |
| Hubs, orphaned decisions, stale questions, area sizes |
| Machine-readable freshness, provenance, activity, timeline, orrery, and unresolved views |
| Maintenance pass over the brain |
| Self-diagnosis: version, core/enhanced host adapters, active sessions, projection drift |
| Session-to-session coordination notes |
| Context Gateway: compact task memory, active-task peers, structured conflicts, automatic alerts, and timing |
| Find + draw related-but-unlinked cards |
| The board as an MCP App — Apps-capable chats get an interactive spatial view; everyone else gets clean text |
| A canvas as markdown (cards, connection graph, |
| Search across canvases by name + content |
| Cross-project memory search across every registered brain |
| New |
| Append cards/connections (positions preserved) |
| List every |
Tools vs. the automatic brain
This package is the agent-neutral read/write surface — any MCP client gets the tools above on demand (pull), automatically registers presence for the lifetime of its authorized connection, and receives the Context Gateway workflow through standard MCP server instructions. install wires Claude Code's existing capture path and installs the local runtime; link projects repository-level MCP and instruction files for Codex and other coding agents. Codex and other clients retrieve relevant project memory and coordinate task intent/files through one brain_sync call, while brain_note captures durable decisions explicitly; optional host hooks add mechanically guaranteed lifecycle capture.
Agent-neutral live presence
An active session means an authorized MCP connection or host lifecycle adapter heartbeated within 10 minutes; a row in a recent-chat list is history, not presence. Each MCP connection registers at initialization and removes itself on disconnect. Optional host adapters merge into that same logical session rather than double-counting it, enrich it with intent/files, and remove only their own channel. The TTL covers crashes.
Future hosts get baseline support merely by connecting the MCP server. A deeper adapter
can import klypix-mcp/presence and map lifecycle events to upsertSession,
removeSession, peekMessages, and receiveMessages. The shared contract accepts id, client,
surface, model, branch, intent, touched files, and adapter channel;
host-specific transcript parsing stays outside the protocol.
Updates — the propagation contract
install lays the whole brain (hooks + engine + local MCP runtime) into ~/.claude/project-brain and binds the current brain project's Codex config to that exact project on the current machine. brain_sync also accepts the current project root, providing a host-independent fallback when an IDE starts MCP from its own install directory.
Updates are host-neutral. The MCP supervisor performs one machine-wide npm check per 24 hours, no matter how many Codex, Claude, Cursor, Cline, Antigravity, or generic MCP sessions are open. It installs an exact stable same-major release in --runtime-only mode, preserving host settings and project files. The check is detached and fail-open, developer-owned installs are protected, concurrent sessions collapse behind one lock, new major versions require a deliberate manual install, and KLYPIX_AUTO_UPDATE=0 opts out. The Claude session-start updater remains as a compatible bootstrap path for older installations.
The MCP entry point is a stable stdio supervisor. It keeps the host-owned connection open while a replaceable worker runs the brain core. A staged update is hash-verified, initialized in parallel, checked for backward-compatible tool schemas, and given the current brain_sync task scope before the supervisor switches between requests. Added tools use the standard notifications/tools/list_changed signal. A failed or breaking candidate is rejected while the old worker continues serving.
There is one unavoidable migration reconnect for sessions that started before the supervisor was installed. After that, compatible worker/core updates activate without restarting Codex, Antigravity, Claude, Cursor, Cline, or another stdio MCP host. A supervisor-code change, MCP major/tool removal, or host that ignores standard tool-list notifications can still require a deliberate reconnect; brain_doctor reports the live supervisor and automatic-update receipt explicitly.
Also speaks A2A (Agent-to-Agent)
npx -p klypix-mcp klypix-a2a --vault ./canvases # 127.0.0.1:41241
# Agent Card: http://127.0.0.1:41241/.well-known/agent-card.jsonSkills: make_board, remember, recall, read_canvas, list_canvases, brain_insights, search_all_brains. Unlike a typical A2A agent that returns text, KLYPIX returns the .klypix board itself as a multimodal artifact. Details: A2A.md.
Use it as a library
import { parseKlypix, buildKlypix, appendToKlypix, structToMarkdown } from 'klypix-mcp';npx -p klypix-mcp klypix-read path/to/board.klypix # → markdown brief
echo '{ "title": "Plan", "cards": [{ "text": "kickoff" }] }' \
| npx -p klypix-mcp klypix-write --out plan.klypixThe workspace it opens in
The brain is open and free — this package, the hooks, the format. KLYPIX is the Windows app built around it: see the brain as a living spatial map, work inside it while your agents write, capture anything from anywhere, act with agents, share encrypted. Bilingual English/Arabic.
Honesty notes
Dogfooded hard: KLYPIX itself is built with its own brain — 600+ cards, multiple concurrent agent sessions, receipts in the file.
All engine intelligence is deterministic and local — the only LLM anywhere is your agent. No telemetry, no cloud calls, works offline.
Every number above is measured on our own project brain; the eval harness ships in the repo.
Why this exists
Frontier labs are racing to put your context inside their memory — a roach motel your work checks into and never leaves for a competitor. klypix-mcp is the opposite: your project, your file, any model, offline. A brain that any agent reads and writes is the one thing a lab is structurally disincentivized to build.
Apache-2.0 © Dahshan Labs. The KLYPIX desktop app is a separate, proprietary product — the file and this server are fully open and work without it.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI agents to store and retrieve information persistently using key-value pairs with JSON file-based storage. Supports storing, retrieving, listing, deleting, and searching data across sessions.Last updated
- Alicense-qualityDmaintenanceEnables AI agents to autonomously manage files on the Filecoin decentralized network through folder management, file uploads, and AI-powered semantic search. Provides seamless integration with Filecoin storage through simple MCP tool calls.Last updated1MIT
- Alicense-qualityDmaintenanceEnables AI agents to read, write, and search local tldraw (.tldr) files, providing a persistent visual scratchpad for diagramming and note organization. It supports full CRUD operations on canvas shapes and metadata management for local canvas files.Last updated483MIT
- AlicenseAqualityBmaintenanceEnables AI agents to inspect and edit the live browser-resident canvas of the Boarderless app via a structured spatial ledger.Last updated9181Apache 2.0
Related MCP Connectors
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Persistent memory for AI agents. Search, store, and recall across sessions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dahshanlabs/klypix-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server