MCP-native collaborative markdown editor with real-time AI document editing
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Co-write with any AI. In your browser. No data on anyone's server.
TablaCognita is a browser-based Markdown editor where AI is a first-class participant, not a feature bolted onto a text box. Select text and send it to your AI. Watch edits land in real time. Undo anything. The AI sees the document through MCP tools β the same protocol that powers Claude Desktop, Cursor, and every other MCP-capable client.
Your document lives in your browser. The relay server is a stateless wire. Nobody stores your writing.
The AI reads and writes through 17 MCP tools. The editor handles section addressing, fuzzy text matching, collision avoidance, and undo. The relay just passes messages. That's it.
Open http://localhost:3000 in your browser. The editor is live.
Connect your MCP client. For Claude Desktop, add to your config:
Your AI can now read your document, edit sections, replace text, and respond to selections you send it from the editor.
Read β read_document, get_structure, get_section. The AI sees your full document, section outline, or individual sections by heading name or stable ID.
Write β replace_section, replace_text, insert_after, append. Section-level edits with auto-locking. Fuzzy text matching that works through markdown formatting (**bold text** matched by searching "bold text"). Full document replacement requires your confirmation in the browser.
Coordinate β request_edit_lock, release_lock, get_cursor_context, get_dirty_regions, poll_context. The AI knows where your cursor is, which sections you've edited since it last looked, and can lock sections for multi-step operations. All locks have TTLs β nothing stays locked forever.
Manage β open_document, snapshot, restore_snapshot, get_revision_history. Named checkpoints saved to your browser's IndexedDB. Restore any snapshot with one tool call.
Browser is source of truth. The relay holds zero document state. If the relay restarts, your document is still in your browser. The AI reconnects and continues.
Section IDs are stable. Rename a heading from "Introduction" to "Overview" β the section ID doesn't change. The AI can always find its way back.
Agent edits are undoable. Every AI edit goes through CodeMirror's transaction system. Ctrl+Z works on AI edits exactly like your own.
Locks are intent signals, not mutexes. Auto-locks during edits are atomic and invisible. Explicit locks for multi-step operations have TTLs and never block you β just a gentle indicator that the AI is working on a section.
Notifications are fire-and-forget. The editor tells the AI when you move between sections, rename headings, or delete content. If the transport doesn't support notifications, the AI can poll instead. No feature depends on notifications arriving.
No data leaves your browser. Documents live in CodeMirror's state. Snapshots live in IndexedDB. The relay is a WebSocket bridge with no storage. There is nothing to subpoena.
See DESIGN.md for the full specification: tool contracts, WebSocket protocol, invariants, failure modes, and build plan.
Apache 2.0
TablaCognita was designed and built by Pete Marchetti (PStryder) at Technomancy Laboratories, with architectural review and first live edit by Kee (Claude Opus 4.6).
The page that knows. β tabla cognita
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/tablacognita)<a href="https://allmcps.com/mcp/tablacognita"><img src="https://allmcps.com/api/badge/tablacognita?style=directory" alt="TablaCognita on AllMCPs" /></a>