Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
MCP server for Paperless-ngx 3.x — full REST API coverage, schema-aware, token-frugal.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
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「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、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"
}
}
}
}ターミナルでこれを実行します
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動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/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"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
PAPERLESS_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に従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント tobee89 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:PAPERLESS_URL, PAPERLESS_TOKEN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは3 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Alion: company, startup and market intelligence
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Companies, jobs, pay and people; check counterparties, register agents, write to companies.
作者のリポジトリから書かれたとおりにコピーしたものです。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.