World Monitor
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 102 tools.
MCP server for Paperless-ngx 3.x — full REST API coverage, schema-aware, token-frugal.
选择你使用的 AI 应用,然后复制设置。
通过 2/2 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 Paperless-ngx 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。
获取密钥的方法见下方开发者的 README
SettingsDeveloperEdit Config
{
"mcpServers": {
"paperless-ngx": {
"command": "npx",
"args": [
"-y",
"mcp-paperless-ngx"
],
"env": {
"PAPERLESS_URL": "your-value",
"PAPERLESS_TOKEN": "your-value",
"PAPERLESS_PUBLIC_URL": "your-value",
"PAPERLESS_TOOLSETS": "your-value",
"PAPERLESS_READ_ONLY": "your-value",
"PAPERLESS_HEADERS": "your-value",
"PAPERLESS_DOWNLOAD_DIR": "your-value",
"PAPERLESS_MAX_PAGE_SIZE": "your-value",
"PAPERLESS_TIMEOUT_MS": "your-value",
"PAPERLESS_API_VERSION": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Paperless-ngx 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Paperless-ngx,或回答中出现 Paperless-ngx 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Paperless-ngx
Paperless-ngx 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Paperless-ngx 的应用
B · 其他 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要 Paperless-ngx 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。
获取密钥的方法见下方开发者的 README
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add paperless-ngx --env PAPERLESS_URL=your-value --env PAPERLESS_TOKEN=your-value --env PAPERLESS_PUBLIC_URL=your-value --env PAPERLESS_TOOLSETS=your-value --env PAPERLESS_READ_ONLY=your-value --env PAPERLESS_HEADERS=your-value --env PAPERLESS_DOWNLOAD_DIR=your-value --env PAPERLESS_MAX_PAGE_SIZE=your-value --env PAPERLESS_TIMEOUT_MS=your-value --env PAPERLESS_API_VERSION=your-value -- npx -y mcp-paperless-ngx按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 Paperless-ngx 在列表中并显示已连接
用 Paperless-ngx 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Paperless-ngx,或回答中出现 Paperless-ngx 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Paperless-ngx 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。
获取密钥的方法见下方开发者的 README
在 Paperless-ngx 的设置中,PAPERLESS_URL, PAPERLESS_TOKEN, PAPERLESS_PUBLIC_URL, PAPERLESS_TOOLSETS, PAPERLESS_READ_ONLY, PAPERLESS_HEADERS, PAPERLESS_DOWNLOAD_DIR, PAPERLESS_MAX_PAGE_SIZE, PAPERLESS_TIMEOUT_MS, PAPERLESS_API_VERSION 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Paperless-ngx 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Paperless-ngx,或回答中出现 Paperless-ngx 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Paperless-ngx 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Node.js(只需一次)
打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。
获取密钥的方法见下方开发者的 README
在 Paperless-ngx 的设置中,PAPERLESS_URL, PAPERLESS_TOKEN, PAPERLESS_PUBLIC_URL, PAPERLESS_TOOLSETS, PAPERLESS_READ_ONLY, PAPERLESS_HEADERS, PAPERLESS_DOWNLOAD_DIR, PAPERLESS_MAX_PAGE_SIZE, PAPERLESS_TIMEOUT_MS, PAPERLESS_API_VERSION 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Paperless-ngx 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Paperless-ngx,或回答中出现 Paperless-ngx 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add paperless-ngx --env PAPERLESS_URL=your-value --env PAPERLESS_TOKEN=your-value --env PAPERLESS_PUBLIC_URL=your-value --env PAPERLESS_TOOLSETS=your-value --env PAPERLESS_READ_ONLY=your-value --env PAPERLESS_HEADERS=your-value --env PAPERLESS_DOWNLOAD_DIR=your-value --env PAPERLESS_MAX_PAGE_SIZE=your-value --env PAPERLESS_TIMEOUT_MS=your-value --env PAPERLESS_API_VERSION=your-value -- npx -y mcp-paperless-ngxClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"paperless-ngx": {
"command": "npx",
"args": [
"-y",
"mcp-paperless-ngx"
],
"env": {
"PAPERLESS_URL": "your-value",
"PAPERLESS_TOKEN": "your-value",
"PAPERLESS_PUBLIC_URL": "your-value",
"PAPERLESS_TOOLSETS": "your-value",
"PAPERLESS_READ_ONLY": "your-value",
"PAPERLESS_HEADERS": "your-value",
"PAPERLESS_DOWNLOAD_DIR": "your-value",
"PAPERLESS_MAX_PAGE_SIZE": "your-value",
"PAPERLESS_TIMEOUT_MS": "your-value",
"PAPERLESS_API_VERSION": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"paperless-ngx": {
"command": "npx",
"args": [
"-y",
"mcp-paperless-ngx"
],
"env": {
"PAPERLESS_URL": "your-value",
"PAPERLESS_TOKEN": "your-value",
"PAPERLESS_PUBLIC_URL": "your-value",
"PAPERLESS_TOOLSETS": "your-value",
"PAPERLESS_READ_ONLY": "your-value",
"PAPERLESS_HEADERS": "your-value",
"PAPERLESS_DOWNLOAD_DIR": "your-value",
"PAPERLESS_MAX_PAGE_SIZE": "your-value",
"PAPERLESS_TIMEOUT_MS": "your-value",
"PAPERLESS_API_VERSION": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"paperless-ngx": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-paperless-ngx"
],
"env": {
"PAPERLESS_URL": "your-value",
"PAPERLESS_TOKEN": "your-value",
"PAPERLESS_PUBLIC_URL": "your-value",
"PAPERLESS_TOOLSETS": "your-value",
"PAPERLESS_READ_ONLY": "your-value",
"PAPERLESS_HEADERS": "your-value",
"PAPERLESS_DOWNLOAD_DIR": "your-value",
"PAPERLESS_MAX_PAGE_SIZE": "your-value",
"PAPERLESS_TIMEOUT_MS": "your-value",
"PAPERLESS_API_VERSION": "your-value"
}
}
}
}PAPERLESS_URL 必填 envPAPERLESS_TOKEN 机密 必填 envPAPERLESS_PUBLIC_URL envPAPERLESS_TOOLSETS envPAPERLESS_READ_ONLY envPAPERLESS_HEADERS envPAPERLESS_DOWNLOAD_DIR envPAPERLESS_MAX_PAGE_SIZE envPAPERLESS_TIMEOUT_MS envPAPERLESS_API_VERSION 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月12日
注册名称已通过 GitHub 账户 tobee89 验证,该账户拥有此仓库
代码最后更新于3个月前
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:PAPERLESS_URL, PAPERLESS_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于3个月前,最新版本(0.1.1)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:World Monitor, Claude Flow, Tldraw
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 102 tools.
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
mcp-paperless-ngx
A Model Context Protocol server for Paperless-ngx 3.x
Full REST API coverage, schema-aware, token-frugal.
Built against REST API version 10, with three things it does differently:
src/tools/coverage.ts with a written reason for leaving it out. A test enforces this, so a Paperless release that adds an endpoint fails CI instead of quietly going unsupported.?fields=, the text lives behind its own paginated tool, and no list endpoint hands the raw API response through — a test enforces that. See Context cost.--read-only removes every write path entirely.Paperless-ngx 2.x is not supported: API version 10 introduced endpoints (nested tags, document versions, share_link_bundles, the split PDF operations) that this server assumes exist.
npx -y mcp-paperless-ngx --check # verify connectivity, then exit
claude mcp add paperless --scope user \
--env PAPERLESS_URL=https://paperless.example.com \ --env PAPERLESS_TOKEN=your-api-token \ -- npx -y mcp-paperless-ngx
{
"mcpServers": { "paperless": { "command": "npx", "args": ["-y", "mcp-paperless-ngx"], "env": { "PAPERLESS_URL": "https://paperless.example.com", "PAPERLESS_TOKEN": "your-api-token" } } } }
Paperless web UI → your username (top right) → My Profile → the circular arrow button next to the API token field.
| Variable | Required | Default | Purpose |
|---|---|---|---|
PAPERLESS_URL | yes | — | Base URL the server talks to. |
PAPERLESS_TOKEN | yes | — | API token. PAPERLESS_API_KEY also works. |
PAPERLESS_PUBLIC_URL | no | PAPERLESS_URL | URL used when building links for the user, if the instance is reachable under a different name from outside. |
PAPERLESS_TOOLSETS | no | see below | Comma-separated toolsets, or all. |
PAPERLESS_READ_ONLY | no | false | Expose only tools that cannot change anything. |
PAPERLESS_HEADERS | no | — | Extra request headers, as JSON ({"X-Auth":"…"}) or Name: value, Name: value. Needed behind forward-auth proxies such as Authentik or Authelia. |
PAPERLESS_DOWNLOAD_DIR | no | system temp | Where downloaded files are written. |
PAPERLESS_MAX_PAGE_SIZE | no | 100 | Hard ceiling on list page sizes, whatever the model asks for. |
PAPERLESS_TIMEOUT_MS | no | 60000 | Request timeout. |
PAPERLESS_API_VERSION | no | 10 | REST API version sent in the Accept header. |
CLI flags --url, --token, --public-url, --toolsets and --read-only override the environment. --check verifies connectivity, --list-tools prints the enabled tools.
| Toolset | Default | Contents |
|---|---|---|
documents | on | Search, read, update, delete, upload, download, notes, bulk and PDF operations |
metadata | on | Tags, correspondents, document types, storage paths |
customfields | on | Custom field definitions |
views | on | Saved views |
sharing | on | Share links and share link bundles |
workflows | on | Automation rules, triggers, actions |
system | on | Global search, statistics, status, tasks, trash |
mail | off | IMAP accounts, mail rules, processed mail |
admin | off | Users, groups, profile, configuration, logs (read-only) |
mail and admin are off by default because most sessions never need them and every extra tool costs context on every request. Enable them explicitly:
PAPERLESS_TOOLSETS=documents,metadata,system,mail
PAPERLESS_TOOLSETS=all
Wrapping an API for a language model has a cost the API itself does not: everything the model sees is paid for on every request. Two places where that bites, and what this server does about them.
Responses. Three shapes are expensive in Paperless and easy to return by accident:
| Source | Problem | Handling |
|---|---|---|
| Document lists | Every document carries its full OCR text in content | ?fields= restricts the response server-side; get_document_content paginates the text separately |
/api/search/ | Returns hydrated Document objects, OCR text included, across all object types | Documents are summarised, other types reduced to id + name |
| Workflows, mail rules, groups, tasks | 27–34 fields per object, nested trigger/action definitions inline | Summarised to identifying fields; nested lists collapse to counts. full: true returns everything |
Tool definitions. These are the larger and less obvious cost: names, descriptions and JSON schemas ship with *every* request, whether or not any tool is called.
| Toolsets | Tools | Approximate cost per request |
|---|---|---|
all | 99 | ~20,500 tokens |
| default | 85 | ~18,500 tokens |
documents,metadata | 49 | ~12,900 tokens |
There is no way to make that free — it is the price of a tool the model can use without guessing. But it is worth being deliberate: if your sessions only ever search and file documents, running PAPERLESS_TOOLSETS=documents,metadata saves more context than any response-trimming does.
The server exposes destructive operations, because a document manager without them is not much of a manager. It does not try to guess when they are appropriate — that judgment belongs to the client and the user. What it does instead:
destructiveHint: true, so MCP clients can require confirmation.empty_trash, delete_custom_field, delete_originals) and ask for confirmation before the call.--read-only removes every write tool from the list, rather than refusing them at call time.create_share_link produces a publicly reachable URL. Its description says so, and the audit_sharing prompt exists to review what is already exposed.Credential-adjacent endpoints (token generation, TOTP enrolment, disabling someone's second factor) are deliberately not exposed. See EXCLUDED_ENDPOINTS for the full list and the reasoning.
Registered as slash commands in clients that support MCP prompts:
| Prompt | What it does |
|---|---|
triage_inbox | Walks untriaged documents, proposes metadata preferring existing entries, applies nothing until the user approves. |
find_document | Locates a document from a vague description, searching cheaply before searching broadly. |
audit_sharing | Reviews every public share link and flags the ones that never expire. |
Three layers, because they catch different things:
npm test # logic — no network
PAPERLESS_URL=… PAPERLESS_TOKEN=… \ node scripts/smoke-test.mjs # all 55 read-only tools, live PAPERLESS_URL=… PAPERLESS_TOKEN=… \ node scripts/write-test.mjs # writes, live — see the warning
npm test checks this server's own reasoning: endpoint coverage, enum values against the schema, that no list tool leaks raw API objects, that read-only mode really removes writes.
smoke-test.mjs checks the assumptions it makes about Paperless. It calls every read-only tool against a real instance, resolving IDs from list calls instead of hard-coding them, and prints response sizes so expensive tools stay visible. It writes nothing.
write-test.mjs covers the rest: upload and consumption, updating every field type, notes, bulk tag edits, share links, rotation, and a trash round trip.
It only touches objects it creates itself. Everything it makes is named
with a
zz-mcp-testprefix and deleted again at the end, and it never modifies
a document it did not upload. If a run is interrupted, leftovers with that
prefix are safe to delete. Prefer a test instance if you have one.
PAPERLESS_URL=… PAPERLESS_TOKEN=… node scripts/sync-schema.mjs
npm test
sync-schema.mjs regenerates schema/endpoints.json from your own instance's OpenAPI document. The test suite then reports any endpoint that is neither exposed nor explicitly excluded. That is the whole maintenance loop: point it at a newer Paperless and the test tells you what changed.
npm install
npm start # run from source npm run build # compile to build/ npm test # unit tests + coverage checks npm run inspect # build, then open the MCP inspector
Several MCP servers for Paperless-ngx exist, and the two most active both work against 3.x: cubinet-code/paperless-ngx-mcp adapts between 2.x and 3.x automatically, and baruchiro/paperless-mcp lets you choose the API version (PAPERLESS_API_VERSION, default 9). If you need to support both majors from one install, use one of those.
This server takes the opposite trade: it assumes API version 10 and nothing older. That is what lets it reach the endpoints 3.x introduced — nested tags, document versions, share_link_bundles, the standalone PDF operations — and lets a test assert that all 92 documented endpoints are accounted for. It also trims list responses server-side via ?fields=, so OCR text does not ride along by default.
MIT. See LICENSE.
Built by eichner.cloud — self-hosted, and rather attached to it.