Skip to content

v0.5.0

Latest

Choose a tag to compare

@gardenbaum gardenbaum released this 26 Nov 16:42
3b0b740

Requires paperless-ngx 3.5.1 or later. Older releases are not supported; the server warns about them in its log and in get_instance_overview.

uvx mcp-server-paperless@latest

Breaking

  • The task tools moved to the new opt-in toolset tasks: list_tasks, acknowledge_tasks and run_task are no longer in admin. If you name admin in PAPERLESS_MCP_TOOLSETS, add tasks; all needs no change. The default profile stays at 20 tools. (#167)
  • get_document(include=["history"]) answers 50 changes per page with history_page, page and next_page, instead of the whole history. (#169)
  • New refusals:
    • get_document_thumbnail and the thumbnail resource refuse a document or version in the trash and say so, instead of showing it; get_trashed_file still shows it. (#152)
    • update_mail_account refuses a password for an account with an OAuth token. (#155)
    • Dropping hidden workflow values (header values, URL credentials, passwords) needs a yes also while the workflow is disabled, in update_workflow too. (#159)
    • empty_trash(all=true) refuses and asks for document_ids where the trash cannot be read completely within 64 MiB per page and 1,000 requests. (#151)
    • add_note fails when Paperless's answer holds no note with the sent text; before, it returned the newest old note. (#138)
  • Texts changed: confirmations and refusals of bulk_edit_documents name every document (up to 100) instead of a sample. Text with a lone surrogate is refused with one common message that names the place, also for file names and version labels. After a declined name choice the error has one sentence more. (#137, #186, #189)

Added

  • Bulk changes by filter or saved view. bulk_edit_documents takes ids, the filters of search_documents or a saved view; a filter or view alone never changes anything, the user accepts the named documents first. New in toolset bulk: update_documents (up to 100 documents, each with its own values) and add_notes (one text for many documents or one per document). Notes take format (plain or markdown). (#137, #138, #179)
  • Workflows. run_workflow runs a workflow with a manual trigger on up to 100 chosen documents. update_workflow_part adds, changes, moves or removes one trigger or action. explain_workflow tells why a workflow probably did or did not run on a document. list_workflows filters by state, trigger type and the objects a workflow uses; get_workflow reads one trigger or action. Manual triggers and applying AI suggestions can be written. (#145, #154, #159, #160, #161)
  • Processed mail. get_processed_mail reads one record with its whole error. delete_processed_mail deletes records so Paperless fetches those mails again, with a preview that says what will follow. explain_mail_import tells why a mail was probably not imported. list_processed_mail takes status PROCESSED_WO_CONSUMPTION and ordering. set_permissions shares mail accounts and rules. (#155, #158, #162, #163, #184)
  • Saved views. create_saved_view and update_saved_view take icon, display_mode and display_fields. pin_saved_view puts a view on the dashboard or in the sidebar. set_permissions shares saved views; get_saved_view shows owner and grants. (#164, #165, #166)
  • Tasks and system. list_tasks takes every filter and ordering of Paperless. get_task_overview counts tasks and shows what runs. acknowledge_tasks(all_unacknowledged=true) acknowledges all, with a preview. get_system_report gives all statistics and the system status, and with check_for_update=true the newest Paperless release. (#167, #168, #169, #182)
  • Read-only toolsets. PAPERLESS_MCP_TOOLSETS=core,ai,mail:read offers only the reading tools of mail. Reading tools no longer mention tools the operator hides by a read-only toolset, read-only mode or PAPERLESS_MCP_DISABLED_TOOLS. (#170, #192)
  • Pick among matches. When a write finds a name ambiguous (also a select option of a custom field), clients with forms let the user pick the right object; the choices name their owner. Others get the error with the list, as before. (#186, #190)
  • Smaller additions: get_permissions shows owner and grants of up to 100 objects. update_user(remove_second_factor=true). next_asn in get_instance_overview. read_documents(counts=true) counts a selection by tag, correspondent, type, storage path and custom field. suggest_words and test_storage_path (toolset bulk). search_documents filters by modified date, ASN range and file name. get_document_thumbnail(version_id). list_share_bundles filters by status and document. (#173, #179, #182)
  • rotate_documents can verify a rotation whose task a date custom field hides, when the call waits. (#144)
  • Claude Code plugin offers "Only dialogs confirm" (PAPERLESS_MCP_REQUIRE_DIALOG), off by default. The plugin moves to 0.5.0 with its next version; until then it runs 0.4.0. (#149)
  • Every operation of the Paperless API is now covered by a tool or listed as an excluded one in docs/api-coverage.toml. 97 tools in 13 toolsets became 111 in 14. (#172, #182)

Security

  • Logs no longer hold document content, tool arguments or whole answers at INFO and above; exceptions appear as type and place only, also from FastMCP, uvicorn and asyncio. (#153)
  • What a mail server answers to a login is shown nowhere: not in mail tools, get_log, paperless_api_get, errors or tasks. A log record is recognised only by its full start, so less text can end that hiding early. (#155, #183)
  • Compressed answers cannot fill the memory: the trash list is read up to 64 MiB, and every streamed read ends a gzip or deflate body where its stream ends. (#151, #188)
  • test_storage_path refuses a document that refers to anything the user may not see, since Paperless would render those names. (#173)
  • The container image gets Debian package fixes daily; it ships the fixed libzstd1 (CVE-2026-124851). (#195)

Fixed

  • The server starts on Windows. Uploading by path and saving into a directory are refused there with a reason. (#191)
  • A call with a lone surrogate in any argument gets a refusal with a reason; over stdio it got no answer at all, and upload names ended in an internal error. (#150, #189)
  • An original that a PDF tool could not find is reported as trashed only if the user's trash holds it; otherwise the outcome is unknown. (#181)
  • An error body that cannot be unpacked gives the error of its status, not an internal error. (#188)
  • The description of update_user says that reactivating a user needs a confirmation; run_task says correctly which tasks Paperless starts. (#148, #168)

For contributors

  • The live E2E suite runs before a release only, in ten shards; the gitleaks hook is cached. New E2E tests against a real mail server (just e2e-imap) and for workflows, saved views, PDF operations and bulk calls. (#146, #147, #156, #171, #175, #176, #177, #178, #180, #187, #193, #194)

Full changelog: v0.4.0...v0.5.0