
TablaCognita
io.github.PStryder由 GitHub 帳號 PStryder 發布v0.2.0更新於 Nov 2, 2026
MCP-native collaborative markdown editor with real-time AI document editing
概覽
TablaCognita 是瀏覽器端的協作 Markdown 編輯器,其 MCP 工具讓 AI 即時讀取、編輯並協調你的文件。
- 可以做什麼
- 讀取整份文件、章節大綱,或依標題名稱與穩定 ID 讀取單一章節
- 編輯章節、取代文字、在章節後插入或附加內容,模糊比對可穿透 Markdown 格式
- 與編輯器協同:申請與釋放編輯鎖、取得游標脈絡與已變更區域、輪詢變更
- 管理文件:開啟文件、建立具名快照、還原快照、查看修訂歷史
- 適用情境
- 適合讓 AI 在你注視下共同撰寫或修改 Markdown 文件,並讓人與 AI 的編輯在同一份文字上保持協調。適用於草擬、重組結構與依章節改寫,而非大批量批次處理。
- 執行需求
- 可使用 app.tablacognita.com 的遠端端點,或在本地以 Node.js 18+ 透過 npm 啟動。必須驗證:於 Settings > Account 取得的 tc_ 前綴 API 金鑰,或 OAuth 2.0 存取權杖,透過 Authorization 標頭送出。需要現代瀏覽器並保持編輯器開啟,以及支援 MCP 的 AI 用戶端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 TablaCognita,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.PStryder%2Ftablacognita/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"tablacognita": {
"type": "http",
"url": "https://app.tablacognita.com/mcp"
}
}
}README
TablaCognita
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.
How It Works
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.
Quick Start
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.
What Your AI Can Do
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.
Key Design Decisions
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.
Project Structure
Running Tests
Transport Modes
Requirements
- Node.js 18+
- A modern browser
- Any MCP-capable AI client
Architecture Details
See DESIGN.md for the full specification: tool contracts, WebSocket protocol, invariants, failure modes, and build plan.
License
Apache 2.0
Credits
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
來源:README.md,提交 b8936ef
工具
0版本歷史
1- v0.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分