ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Paperless-ngx

โดย tobee89รุ่น 0.1.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.tobee89/mcp-paperless-ngx

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

MCP server for Paperless-ngx 3.x — full REST API coverage, schema-aware, token-frugal.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: PAPERLESS_URL, PAPERLESS_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: 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

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "paperless-ngx": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-paperless-ngx"
      ],
      "env": {
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add paperless-ngx --env PAPERLESS_URL='ใส่ค่าของคุณ' --env PAPERLESS_TOKEN='ใส่ค่าของคุณ' --env PAPERLESS_PUBLIC_URL='ใส่ค่าของคุณ' --env PAPERLESS_TOOLSETS='ใส่ค่าของคุณ' --env PAPERLESS_READ_ONLY='ใส่ค่าของคุณ' --env PAPERLESS_HEADERS='ใส่ค่าของคุณ' --env PAPERLESS_DOWNLOAD_DIR='ใส่ค่าของคุณ' --env PAPERLESS_MAX_PAGE_SIZE='ใส่ค่าของคุณ' --env PAPERLESS_TIMEOUT_MS='ใส่ค่าของคุณ' --env PAPERLESS_API_VERSION='ใส่ค่าของคุณ' -- npx -y mcp-paperless-ngx

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "paperless-ngx": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-paperless-ngx"
      ],
      "env": {
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "paperless-ngx": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-paperless-ngx"
      ],
      "env": {
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • PAPERLESS_URL จำเป็น env
    Base URL of the Paperless-ngx instance
  • PAPERLESS_TOKEN ความลับ จำเป็น env
    Paperless-ngx API token
  • PAPERLESS_PUBLIC_URL env
    URL used when building links, if the instance is reachable under a different name from outside
  • PAPERLESS_TOOLSETS env
    Comma-separated toolsets, or all
  • PAPERLESS_READ_ONLY env
    Expose only tools that cannot change anything
  • PAPERLESS_HEADERS env
    Extra request headers; needed behind forward-auth proxies such as Authentik
  • PAPERLESS_DOWNLOAD_DIR env
    Where downloaded files are written
  • PAPERLESS_MAX_PAGE_SIZE env
    Hard ceiling on list page sizes
  • PAPERLESS_TIMEOUT_MS env
    Request timeout in milliseconds
  • PAPERLESS_API_VERSION env
    REST API version sent in the Accept header

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub tobee89 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 18436 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 28% ของอีก 18436 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 18436 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Paperless-ngx ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: PAPERLESS_URL, PAPERLESS_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.1) เข้า registry 3 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Tethered Trust

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Tethered Trust

โดย tetheredtrust.com

Fit, compatibility and recall checks for AI agents before they buy: verdicts, evidence, receipts.

รันบนคลาวด์อัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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:

  • Accounted coverage. Every one of the 92 documented endpoints is either exposed as a tool or listed in 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.
  • Token discipline. A Paperless document carries its full OCR text. Naive wrappers return it by default and a single search can exhaust the model's context. Here, list results are trimmed server-side via ?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.
  • Scoped surface. 99 tools would drown a model's tool list. Toolsets let you expose only what a given client needs, and --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.

Quick start

npx -y mcp-paperless-ngx --check   # verify connectivity, then exit
Claude Code
claude mcp add paperless --scope user \

--env PAPERLESS_URL=https://paperless.example.com \ --env PAPERLESS_TOKEN=your-api-token \ -- npx -y mcp-paperless-ngx

Claude Desktop, Cursor, Cline, and other MCP clients
{

"mcpServers": { "paperless": { "command": "npx", "args": ["-y", "mcp-paperless-ngx"], "env": { "PAPERLESS_URL": "https://paperless.example.com", "PAPERLESS_TOKEN": "your-api-token" } } } }

Getting an API token

Paperless web UI → your username (top right) → My Profile → the circular arrow button next to the API token field.

Configuration

VariableRequiredDefaultPurpose
PAPERLESS_URLyes—Base URL the server talks to.
PAPERLESS_TOKENyes—API token. PAPERLESS_API_KEY also works.
PAPERLESS_PUBLIC_URLnoPAPERLESS_URLURL used when building links for the user, if the instance is reachable under a different name from outside.
PAPERLESS_TOOLSETSnosee belowComma-separated toolsets, or all.
PAPERLESS_READ_ONLYnofalseExpose only tools that cannot change anything.
PAPERLESS_HEADERSno—Extra request headers, as JSON ({"X-Auth":"…"}) or Name: value, Name: value. Needed behind forward-auth proxies such as Authentik or Authelia.
PAPERLESS_DOWNLOAD_DIRnosystem tempWhere downloaded files are written.
PAPERLESS_MAX_PAGE_SIZEno100Hard ceiling on list page sizes, whatever the model asks for.
PAPERLESS_TIMEOUT_MSno60000Request timeout.
PAPERLESS_API_VERSIONno10REST 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.

Toolsets

ToolsetDefaultContents
documentsonSearch, read, update, delete, upload, download, notes, bulk and PDF operations
metadataonTags, correspondents, document types, storage paths
customfieldsonCustom field definitions
viewsonSaved views
sharingonShare links and share link bundles
workflowsonAutomation rules, triggers, actions
systemonGlobal search, statistics, status, tasks, trash
mailoffIMAP accounts, mail rules, processed mail
adminoffUsers, 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

Context cost

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:

SourceProblemHandling
Document listsEvery 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 typesDocuments are summarised, other types reduced to id + name
Workflows, mail rules, groups, tasks27–34 fields per object, nested trigger/action definitions inlineSummarised 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.

ToolsetsToolsApproximate cost per request
all99~20,500 tokens
default85~18,500 tokens
documents,metadata49~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.

Safety

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:

  • Destructive tools are annotated destructiveHint: true, so MCP clients can require confirmation.
  • Tool descriptions state plainly what cannot be undone (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.
  • Bulk endpoints support an "apply to everything matching this filter" mode. This server does not expose it: bulk tools take explicit ID lists, so a wrong filter cannot silently affect the entire archive.
  • 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.

Prompts

Registered as slash commands in clients that support MCP prompts:

PromptWhat it does
triage_inboxWalks untriaged documents, proposes metadata preferring existing entries, applies nothing until the user approves.
find_documentLocates a document from a vague description, searching cheaply before searching broadly.
audit_sharingReviews every public share link and flags the ones that never expire.

Testing

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-test prefix 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.

Keeping up with Paperless

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.

Development

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

Prior art

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.

License

MIT. See LICENSE.


Built by eichner.cloud — self-hosted, and rather attached to it.

ถาม PopNx