
Writespace Mcp
io.github.write-space由 GitHub 帳號 write-space 發布v1.0.0更新於 Oct 24, 2026
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
概覽
針對 Writespace 協作式 Markdown 文件編輯器的託管 MCP 伺服器,讓助理讀取、寫入、整理和搜尋共享工作區。
- 可以做什麼
- 列出工作區、資料夾和文件,並以 JSON 或 Markdown 連同中繼資料取得文件。執行排序全文搜尋,並依結構化中繼資料查詢文件。建立、更新、依標題 upsert、附加、替換章節、移動和刪除文件。建立、重新命名和刪除資料夾,包括巢狀資料夾。
- 適用情境
- 適合讓助理在人類同樣編輯的共享工作區中保存長期筆記、文件或可搜尋的知識庫。適用於對團隊文件做 RAG 式檢索,以及需要把結果寫回供人審閱的代理程式。
- 執行需求
- 遠端 HTTP 端點,使用 Bearer 驗證。需要 Writespace 帳號,以及在設定中的 API tokens 建立的存取權杖,透過 Authorization 標頭送出。Claude Desktop 需透過 mcp-remote(經 npx)在本機橋接,因此需有 Node.js。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Writespace Mcp,將其新增到工作區。
- 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.write-space%2Fwritespace-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"writespace": {
"type": "http",
"url": "https://app.writespace.io/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
Writespace MCP Server
A remote, hosted Model Context Protocol server for Writespace — a real-time collaborative document editor. Give Claude, ChatGPT, Gemini, Cursor, or any MCP-speaking agent a shared docs workspace it can read, write, organise and search alongside you.
Endpoint: https://app.writespace.io/mcp (HTTP transport, Bearer auth)
Free tier: yes — up to 10 documents, no card required → sign up
What it does
Writespace is a markdown-first doc editor for humans with an MCP server built in for agents. Every action you can take in the app is exposed as a tool your model can call:
- Read — walk the workspace tree, fetch any doc as lossless JSON or markdown, run ranked full-text search (drop it straight into your agent as RAG retrieval)
- Write — create docs, append content, replace a single section by its heading, shallow-merge structured metadata
- Organise — create/rename/move folders, move docs, query docs by metadata (
{ status: "accepted" })
Agent writes broadcast over Realtime, so open editors reload live. Humans and agents work on the same canvas — no export step, no format negotiation.
Quick start
Three steps, two minutes:
- Get a token — sign in at app.writespace.io, open Settings → API tokens, create a token (shown once, revocable any time).
- Endpoint — one hosted endpoint for all accounts:
https://app.writespace.io/mcp - Configure your client — snippets below.
Claude Code (CLI)
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop's config supports only local (stdio) servers, so a remote HTTP
server is bridged through mcp-remote,
which Claude Desktop launches locally and which forwards to the endpoint:
Notes:
- The token goes in the
AUTH_HEADERenv var (and--header Authorization:${AUTH_HEADER}with no space after the colon) becausemcp-remotemishandles spaces in--headerarguments. - Claude Desktop launches with a minimal
PATH. Ifnpxisn't found, use its absolute path (e.g./usr/local/bin/npx, or your nvm path) — and add a matching"PATH"entry toenvif it relies on a versionednode. - Fully quit and reopen Claude Desktop (Cmd-Q) after editing — the config is read only at launch.
Cursor
Settings → MCP → Add server
Gemini CLI
~/.gemini/settings.json
Any other spec-compliant MCP client works the same way: HTTP transport + Authorization: Bearer header.
Tools
Every tool except list_workspaces takes a workspace_id — call list_workspaces first to discover them.
Full reference with format notes and troubleshooting: writespace.io/connect
Design notes
- Lossless content, two formats — reads return both
content(Tiptap JSON) andcontent_markdown; writes accept either. Markdown round-trips for everything the editor supports, including tables, task lists, and mermaid diagrams. - Lean write responses — write tools return only metadata by default, saving 80–95% of the payload on long docs. Pass
include_content: trueto echo the body. - Structured metadata — every doc carries a JSONB
metadatafield. Treat it as queryable frontmatter: write it, shallow-merge it, query by containment. - Stable cross-doc links — reference docs as
writespace://doc/<id>; IDs survive renames and moves. - Live reload — MCP writes notify open editors over Realtime; they refetch in the same tab.
Use cases
- MCP docs server — a docs backend your agents treat as a tool
- Shared docs for Claude — persistent memory and notes for Claude
- Shared docs for ChatGPT — same workspace, different model
- MCP knowledge base — searchable team knowledge any agent can query
Auth & security
- Per-agent personal access tokens, issued and revoked from Settings — scoped to your account, easy to rotate
- Tokens are shown once at creation
- Standard
Authorization: Bearer ws_pat_…header; spec-compliant HTTP transport
Links
- Website: writespace.io
- App: app.writespace.io
- Setup & full tool reference: writespace.io/connect
- Contact: [email protected]
© 2026 Writespace · Pro is $5/user/month, free tier available.
來源:README.md,提交 1d48fef
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
