
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 分
