Repository navigation
Releases
Releases · OrellBuehler/paperless-mcp
v1.8.0
Immutable
release. Only release title and notes can be modified.
Security
Hardening for the multi-user HTTP transport, where the server's disk and network are shared by every user. (#31)
- Local file tools are no longer registered over HTTP.
upload_document,upload_document_version,bulk_download_documentsandextract_document_pagestake a path on the server's disk, which let any user with a Paperless token read or overwrite server files. They remain available over stdio; useupload_from_urlin HTTP mode. upload_from_urlno longer reaches the server's private network in HTTP mode. Private, loopback and link-local addresses are refused, checked at connection time so DNS rebinding cannot bypass it. In both modes the 100 MB cap is now enforced while streaming and a stalled download times out.- HTTP sessions are only opened for tokens Paperless accepts. Request bodies are capped at 4 MB, sessions at 1000 (least recently used evicted, 24 h idle expiry), and 500 responses no longer include error details.
- The Docker image runs as the unprivileged
nodeuser. It starts as root only to take ownership of/data, so existing volumes keep working. - The server warns at startup when
MCP_ALLOWED_HOSTSis empty.
Changes
- New
EMBEDDING_TIMEOUT_MS(default60000,0disables) for requests to the embedding provider.
Upgrade notes
- HTTP deployments lose the four file-path tools listed above.
- Each new HTTP session with a raw Paperless token makes one extra request to Paperless (
/api/profile/); initialization returns 502 if Paperless is unreachable.
Full Changelog: v1.7.0...v1.8.0
v1.7.0
Immutable
release. Only release title and notes can be modified.
Highlights
- Paperless-ngx 3.5 support (#30)
- New
run_workflowtool runs a workflow with a manual trigger on chosen documents (3.5+); workflow tools now describe the scheduled and manual trigger types and the newer action types, andlist_workflowscan filter bytrigger_typeandenabled. - New
merge_documents_as_versionstool merges documents into one as file versions (3.1+). - Paperless-ngx 3.5 queues all bulk operations and returns a
task_id. The bulk and PDF-editing tools and thecleanup_tagsprompt now say so and point tolist_tasks. bulk_edit_documentslists the methods the server actually accepts, with their parameters.list_documents:has_duplicatesfilter (3.2+), relative dates incustom_field_querysuch as["Ablauf", "range", ["today", "in 30 days"]](3.4+), and barcode search syntax (3.3+).- Saved view
icon, markdown notes (add_document_noteformat),remote_ocronreprocess_documents,excluded_documentson rotate and reprocess,barcode_store_valuesinupdate_config. search_documentsnow states that it uses Paperless's global search (at most 3 documents); uselist_documentswithqueryfor full results and field syntax.
- New
Security
- Upgraded
zodto 4.6.7 (GHSA-mrhx-c7xc-m3w5, high) andhonoto 4.13.19 via the MCP SDK 1.32.2.npm audit --omit=devreports no vulnerabilities. (#29) - Tool input schemas no longer include
additionalProperties: false; validation is unchanged and unknown arguments are still ignored.
Fixes
- Pinned
unpdfto 1.8.x. Version 1.9 requires Node 22 and brokefind_document_pageson Node 20.
Other
- Listed Ontheia as a compatible client. (#28)
Full Changelog: v1.6.1...v1.7.0
v1.6.1
Immutable
release. Only release title and notes can be modified.
Security
- Updated runtime dependencies with known advisories:
body-parser(high),@hono/node-server,qs,fast-uri,ip-address. - Dev tooling: vitest 5.
Full Changelog: v1.6.0...v1.6.1
v1.6.0
Immutable
release. Only release title and notes can be modified.
Highlights
- Tool annotations and limiting — every tool carries MCP annotations (read-only, destructive, idempotent, open-world). New
PAPERLESS_TOOLSETS,PAPERLESS_READ_ONLYandPAPERLESS_DISABLED_TOOLSlimit which tools are registered. #21 - Timeouts and retries —
PAPERLESS_TIMEOUT_MS(default 60000) andPAPERLESS_MAX_RETRIES(default 2, GET/HEAD only, honoursRetry-After). #20 - Paperless REST API v10 —
PAPERLESS_API_VERSION=10ornonenow work correctly; v9 stays the default. #23 - Prompts and resources —
triage_inbox,tax_prep,monthly_review,find_document,cleanup_tags, pluspaperless://resources for tags, correspondents, document types, storage paths, custom fields, saved views and documents. #19 - Vision — new
get_document_thumbnail;download_documentreturns png/jpeg/gif/webp as image content. #18 - Persistent OAuth — with
MCP_OAUTH_STATE_KEYset, OAuth clients and sign-ins survive restarts in an AES-256-GCM encrypted state file. #22 - Website — feature overview on GitHub Pages. #17, #24
- The server now reports its real version instead of
1.0.0.
Full Changelog: v1.5.0...v1.6.0
v1.5.0
Immutable
release. Only release title and notes can be modified.
What's Changed
- strip content from update_document, paginate bulk_tag_by_content, bind http sessions to token by @OrellBuehler in #13
- add optional oauth mode for http transport by @OrellBuehler in #14
- release 1.5.0 by @OrellBuehler in #15
- allow manual npm publish by @OrellBuehler in #16
Full Changelog: v1.4.1...v1.5.0
v1.4.1
Immutable
release. Only release title and notes can be modified.
Full Changelog: v1.4.0...v1.4.1
v1.4.0
Immutable
release. Only release title and notes can be modified.
v1.3.0
Immutable
release. Only release title and notes can be modified.
What's Changed
- add local pdf page extraction and text search tools by @OrellBuehler in #6
- add tax-report filters and yearly document check by @OrellBuehler in #7
New Contributors
- @OrellBuehler made their first contribution in #6
Full Changelog: v1.2.1...v1.3.0
v1.2.1
Immutable
release. Only release title and notes can be modified.
Full Changelog: v1.1.0...v1.2.1
v1.1.0
Immutable
release. Only release title and notes can be modified.
Features
- Set owner and permissions on organization objects. The
update_*tools for tags, correspondents, document types, storage paths, saved views, and custom fields now acceptownerandset_permissions({ view, change }→{ users, groups }), so objects can be shared without the Paperless web UI. - New
bulk_set_object_permissionstool. Sets owner and/or view/change permissions on many tags, correspondents, document types, or storage paths in one call via/api/bulk_edit_objects/(with an optionalmergeflag). Saved views and custom fields are not supported by that endpoint — share those per-object.