MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Read, search, edit and comment on self-hosted Docmost pages in Markdown. No Enterprise API key.
作者提供的原文
教 AI 做这类工作的 Skill,可与本项一起使用
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Agent skills for Obsidian. Teach your agent to use Obsidian CLI and open formats including Markdown, Bases, JSON Canvas.
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 4/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 16/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 Docmost (self-hosted)。按照 https://mcp.popnx.com/i/punyamsingh-docmost-mcp.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月26日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 Docmost (self-hosted) 的密钥(在开发者网站创建) · 需要填写 2 项设置(DOCMOST_URL, DOCMOST_EMAIL) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Docmost (self-hosted),按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "docmost": { "command": "npx", "args": [ "-y", "@punyamsingh/docmost-mcp" ], "env": { "DOCMOST_URL": "your-value", "DOCMOST_EMAIL": "your-value", "DOCMOST_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) DOCMOST_PASSWORD, DOCMOST_URL, DOCMOST_EMAIL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Docmost (self-hosted) 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
DOCMOST_URL 你的 Docmost 基础 URL,需为 v0.70 或更高版本,例如 https://docs.example.com DOCMOST_EMAIL 用于登录的 Docmost 账户邮箱(未启用 MFA 的账户) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
SettingsDeveloperEdit Config
{
"mcpServers": {
"docmost": {
"command": "npx",
"args": [
"-y",
"@punyamsingh/docmost-mcp"
],
"env": {
"DOCMOST_URL": "your-value",
"DOCMOST_EMAIL": "your-value",
"DOCMOST_PASSWORD": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Docmost (self-hosted) 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Docmost (self-hosted),或回答中出现 Docmost (self-hosted) 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
DOCMOST_COLLAB_URL Docmost's collaboration websocket, if not DOCMOST_URL + /collab (Docmost's COLLAB_URL setting)说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Docmost (self-hosted)
Docmost (self-hosted) 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Docmost (self-hosted) 的应用
可连接 Claude Code,但需要先准备
需要 Docmost (self-hosted) 的密钥(在开发者网站创建) · 需要填写 2 项设置(DOCMOST_URL, DOCMOST_EMAIL) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Docmost (self-hosted),按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user docmost --env DOCMOST_URL=your-value --env DOCMOST_EMAIL=your-value --env DOCMOST_PASSWORD=your-value -- npx -y @punyamsingh/docmost-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) DOCMOST_PASSWORD, DOCMOST_URL, DOCMOST_EMAIL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Docmost (self-hosted) 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
DOCMOST_URL 你的 Docmost 基础 URL,需为 v0.70 或更高版本,例如 https://docs.example.com DOCMOST_EMAIL 用于登录的 Docmost 账户邮箱(未启用 MFA 的账户) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user docmost --env DOCMOST_URL=your-value --env DOCMOST_EMAIL=your-value --env DOCMOST_PASSWORD=your-value -- npx -y @punyamsingh/docmost-mcp按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 Docmost (self-hosted) 在列表中并显示已连接
用 Docmost (self-hosted) 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Docmost (self-hosted),或回答中出现 Docmost (self-hosted) 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
DOCMOST_COLLAB_URL Docmost's collaboration websocket, if not DOCMOST_URL + /collab (Docmost's COLLAB_URL setting)说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Docmost (self-hosted) 的密钥(在开发者网站创建) · 需要填写 2 项设置(DOCMOST_URL, DOCMOST_EMAIL) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Docmost (self-hosted),按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "docmost": { "command": "npx", "args": [ "-y", "@punyamsingh/docmost-mcp" ], "env": { "DOCMOST_URL": "your-value", "DOCMOST_EMAIL": "your-value", "DOCMOST_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) DOCMOST_PASSWORD, DOCMOST_URL, DOCMOST_EMAIL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Docmost (self-hosted) 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
DOCMOST_URL 你的 Docmost 基础 URL,需为 v0.70 或更高版本,例如 https://docs.example.com DOCMOST_EMAIL 用于登录的 Docmost 账户邮箱(未启用 MFA 的账户) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
在 Docmost (self-hosted) 的设置中,DOCMOST_PASSWORD, DOCMOST_URL, DOCMOST_EMAIL 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Docmost (self-hosted) 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Docmost (self-hosted),或回答中出现 Docmost (self-hosted) 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
DOCMOST_COLLAB_URL Docmost's collaboration websocket, if not DOCMOST_URL + /collab (Docmost's COLLAB_URL setting)说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Docmost (self-hosted) 的密钥(在开发者网站创建) · 需要填写 2 项设置(DOCMOST_URL, DOCMOST_EMAIL) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Docmost (self-hosted),按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "docmost": { "type": "stdio", "command": "npx", "args": [ "-y", "@punyamsingh/docmost-mcp" ], "env": { "DOCMOST_URL": "your-value", "DOCMOST_EMAIL": "your-value", "DOCMOST_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) DOCMOST_PASSWORD, DOCMOST_URL, DOCMOST_EMAIL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Docmost (self-hosted) 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
DOCMOST_URL 你的 Docmost 基础 URL,需为 v0.70 或更高版本,例如 https://docs.example.com DOCMOST_EMAIL 用于登录的 Docmost 账户邮箱(未启用 MFA 的账户) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
在 Docmost (self-hosted) 的设置中,DOCMOST_PASSWORD, DOCMOST_URL, DOCMOST_EMAIL 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Docmost (self-hosted) 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Docmost (self-hosted),或回答中出现 Docmost (self-hosted) 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
DOCMOST_COLLAB_URL Docmost's collaboration websocket, if not DOCMOST_URL + /collab (Docmost's COLLAB_URL setting)说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user docmost --env DOCMOST_URL=your-value --env DOCMOST_EMAIL=your-value --env DOCMOST_PASSWORD=your-value -- npx -y @punyamsingh/docmost-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"docmost": {
"command": "npx",
"args": [
"-y",
"@punyamsingh/docmost-mcp"
],
"env": {
"DOCMOST_URL": "your-value",
"DOCMOST_EMAIL": "your-value",
"DOCMOST_PASSWORD": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"docmost": {
"command": "npx",
"args": [
"-y",
"@punyamsingh/docmost-mcp"
],
"env": {
"DOCMOST_URL": "your-value",
"DOCMOST_EMAIL": "your-value",
"DOCMOST_PASSWORD": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"docmost": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@punyamsingh/docmost-mcp"
],
"env": {
"DOCMOST_URL": "your-value",
"DOCMOST_EMAIL": "your-value",
"DOCMOST_PASSWORD": "your-value"
}
}
}
}DOCMOST_URL 必填 envDOCMOST_EMAIL 必填 envDOCMOST_PASSWORD 机密 必填 envDOCMOST_COLLAB_URL env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月26日
注册名称已通过 GitHub 账户 punyamsingh 验证,该账户拥有此仓库
代码最后更新于今天
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
尚未检查
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/punyamsingh-docmost-mcp)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:DOCMOST_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于今天,最新版本(0.6.0)于今天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Puter MCP, XcodeBuildMCP, Vexa, Atlassian Rovo MCP Server, MR Office
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Connect to Atlassian Jira, Confluence, Loom, and more to search, create, and manage your work.
Create, open and edit documents, spreadsheets and PDFs in MR Office's editor, inline in chat.
| 本项 Docmost (self-hosted) | Puter MCP | XcodeBuildMCP | Vexa | Atlassian Rovo MCP Server | MR Office | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 云端或安装在电脑上都可以 |
| 需要密钥 | 是 | 否 | 否 | 是 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 是 | 否 |
| 基础检查 | 3/3 | 4/4 | 3/3 | 2/4 | 4/4 | 5/5 |
| 许可证 | MIT | AGPL-3.0 | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server for self-hosted [Docmost](https://docmost.com). Read, search, create and edit wiki pages in Markdown from Claude Code, Claude Desktop, Cursor, VS Code or any other MCP client. Works with the free Community Edition: no Enterprise licence and no API key, just a normal Docmost login.
claude mcp add docmost --scope user \
-e DOCMOST_URL=https://docs.example.com \ -e DOCMOST_EMAIL=you@example.com \ -e DOCMOST_PASSWORD='your-password' \ -- npx -y @punyamsingh/docmost-mcp
That is all Claude Code needs; config for Claude Desktop, Cursor and VS Code is under Setup.
Docmost's official MCP server and API keys are part of its paid Enterprise edition. This server needs neither. It logs in with a normal Docmost account and calls the same API the Docmost web app uses. Since Docmost v0.70 that API accepts and returns Markdown, and the server converts it to and from its editor format.
| Tool | What it does |
|---|---|
list_spaces | Lists the spaces the account can see, with their ids |
list_pages | Lists the root pages of a space, or the children of a page |
search_pages | Full-text search, optionally within one space |
get_page | Returns a page as Markdown, 500 lines at a time by default, with its id, space, parent, URL and updatedAt |
create_page | Creates a page from Markdown, at a space root or under a parent page |
update_page | Replaces, appends to or prepends to a page body; can rename it or change its icon |
edit_page | Replaces an exact piece of text in a page, in place when it is plain text, leaving the rest of the page as it is |
list_comments | Lists a page's open comment threads with their replies, or every thread with includeResolved |
add_comment | Posts a page comment, or an inline comment attached to a quote copied from get_page |
reply_to_comment | Replies in a comment's thread |
edit_comment | Replaces the text of one of the account's own comments |
delete_comment | Permanently deletes a comment and removes its highlight; a whole thread needs deleteReplies |
resolve_comment | Resolves or reopens a thread, on Docmost instances licensed for it |
Every tool that takes a page accepts a page id, a slug id, or the page URL copied from the browser.
Pass the updatedAt from get_page as expectedUpdatedAt to update_page, and a replace is refused if someone changed the page in the meantime. edit_page reads the current body itself, so it applies on top of other people's changes as long as the text still matches exactly once.
When oldText and newText are plain text and each match sits inside one paragraph, heading or code block, edit_page changes just that text in the page's live document, over Docmost's collaboration websocket, the same connection Docmost's editor uses. The change merges with what anyone with the page open is typing, and comments, mentions, colours and everything else on the page are kept. The new text takes the formatting of the text it replaces, as typing over a selection does in the editor. Docmost saves the change within 45 seconds, so the result's updatedAt is null; editedInPlace and liveMerge say which way the edit went. If the websocket can't be reached within 10 seconds, the edit is written to the saved page instead and liveMergeSkipped says why.
Otherwise, for example when the new text has Markdown formatting or the match crosses a line break or a mention, the edit rewrites the whole body from Markdown, as an update_page replace does. Content that Markdown cannot carry would be deleted, so the server refuses such a rewrite on any page that holds it: mentions, comments, highlights, coloured or underlined text, drawio and excalidraw diagrams, embeds, attachments, merged table cells, and any block type it does not recognise. Append and prepend only add blocks, so they still work on those pages.
A whole-body rewrite can't be merged, so it is refused while someone with the page open has typing that Docmost hasn't saved yet; retry a minute later. Append and prepend are merged by Docmost, so they always go through.
Comment text is plain text: blank lines start new paragraphs, and @[Full Name] mentions the one member with that name, which notifies them. A name that matches no member, or several, refuses the call before anything is posted.
An inline comment's quote must appear exactly once inside one paragraph or heading, without crossing a mention or sitting in a code block or on text that already has a comment. The server finds it in the page's live document and sends its position with the comment, and Docmost adds the highlight, as it does in its own editor. The server then waits up to 5 seconds for the highlight; if it doesn't appear, the comment still exists and the result says anchored: false.
Docmost threads are one level deep, so a reply to a reply is posted in the same thread, and only a thread's top comment can be resolved. Resolving is a Docmost Enterprise feature in some releases; without the licence the call is refused and nothing changes. Docmost 0.95 leaves an inline thread's highlight looking open after a resolve, so the server updates it through the live document; highlightUpdated says whether it could. Deletes are permanent and take a comment's replies with them, so deleting a thread's top comment needs deleteReplies: true. Docmost's API leaves a deleted comment's highlight on the page, so the server removes it through the live document; if it can't, for an account that can only comment, the result says highlightRemoved: false.
There is nothing to clone. Register the server with your MCP client and pass your Docmost login as environment variables. npx downloads and runs it.
claude mcp add docmost --scope user \
-e DOCMOST_URL=https://docs.example.com \ -e DOCMOST_EMAIL=you@example.com \ -e DOCMOST_PASSWORD='your-password' \ -- npx -y @punyamsingh/docmost-mcp
Add the following to the client's MCP config (claude_desktop_config.json, ~/.cursor/mcp.json, …):
{
"mcpServers": { "docmost": { "command": "npx", "args": ["-y", "@punyamsingh/docmost-mcp"], "env": { "DOCMOST_URL": "https://docs.example.com", "DOCMOST_EMAIL": "you@example.com", "DOCMOST_PASSWORD": "your-password" } } } }
Add the following to .vscode/mcp.json in a workspace, or to your user MCP config:
{
"servers": { "docmost": { "type": "stdio", "command": "npx", "args": ["-y", "@punyamsingh/docmost-mcp"], "env": { "DOCMOST_URL": "https://docs.example.com", "DOCMOST_EMAIL": "you@example.com", "DOCMOST_PASSWORD": "your-password" } } } }
To run the latest code on GitHub instead of the npm release, replace @punyamsingh/docmost-mcp with github:punyamsingh/docmost-mcp. The first start is slower because it builds from source.
The client stores these values in its own config file in plain text, the same as a .env file would, so use a config file only you can read.
After the first login the session token is cached in ~/.cache/docmost-mcp/ (or $XDG_CACHE_HOME/docmost-mcp/), with file mode 600. Restarting the client therefore does not open a new Docmost session each time. A new login happens automatically when the token expires or is revoked.
git clone https://github.com/punyamsingh/docmost-mcp.git
cd docmost-mcp npm install # also builds into build/ cp .env.example .env # then fill in DOCMOST_URL, DOCMOST_EMAIL, DOCMOST_PASSWORD claude mcp add docmost --scope user -- node "$PWD/build/index.js"
.env is git-ignored. Variables set in the client's config take precedence over it.
The server reaches Docmost's collaboration websocket at DOCMOST_URL + /collab. If your Docmost serves it elsewhere (its COLLAB_URL setting), set DOCMOST_COLLAB_URL to that address.
npm test builds the server and runs the test suite against a fake Docmost, so it needs no Docmost instance.
delete_comment checks a thread for replies just before deleting it. A reply posted in the moment between that check and the delete is deleted with the thread, because Docmost's delete can't be made conditional.edit_page falls back to writing the saved page. Docmost saves what people type 10 to 45 seconds after they type it, so in that case text typed in that window by someone with the page open can be lost.MIT