Repository navigation
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@latestBreaking
- The task tools moved to the new opt-in toolset
tasks:list_tasks,acknowledge_tasksandrun_taskare no longer inadmin. If you nameadmininPAPERLESS_MCP_TOOLSETS, addtasks;allneeds no change. The default profile stays at 20 tools. (#167) get_document(include=["history"])answers 50 changes per page withhistory_page,pageandnext_page, instead of the whole history. (#169)- New refusals:
get_document_thumbnailand the thumbnail resource refuse a document or version in the trash and say so, instead of showing it;get_trashed_filestill shows it. (#152)update_mail_accountrefuses apasswordfor 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_workflowtoo. (#159) empty_trash(all=true)refuses and asks fordocument_idswhere the trash cannot be read completely within 64 MiB per page and 1,000 requests. (#151)add_notefails 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_documentsname 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_documentstakes ids, the filters ofsearch_documentsor a saved view; a filter or view alone never changes anything, the user accepts the named documents first. New in toolsetbulk:update_documents(up to 100 documents, each with its own values) andadd_notes(one text for many documents or one per document). Notes takeformat(plain or markdown). (#137, #138, #179) - Workflows.
run_workflowruns a workflow with a manual trigger on up to 100 chosen documents.update_workflow_partadds, changes, moves or removes one trigger or action.explain_workflowtells why a workflow probably did or did not run on a document.list_workflowsfilters by state, trigger type and the objects a workflow uses;get_workflowreads one trigger or action. Manual triggers and applying AI suggestions can be written. (#145, #154, #159, #160, #161) - Processed mail.
get_processed_mailreads one record with its whole error.delete_processed_maildeletes records so Paperless fetches those mails again, with a preview that says what will follow.explain_mail_importtells why a mail was probably not imported.list_processed_mailtakes statusPROCESSED_WO_CONSUMPTIONandordering.set_permissionsshares mail accounts and rules. (#155, #158, #162, #163, #184) - Saved views.
create_saved_viewandupdate_saved_viewtakeicon,display_modeanddisplay_fields.pin_saved_viewputs a view on the dashboard or in the sidebar.set_permissionsshares saved views;get_saved_viewshows owner and grants. (#164, #165, #166) - Tasks and system.
list_taskstakes every filter and ordering of Paperless.get_task_overviewcounts tasks and shows what runs.acknowledge_tasks(all_unacknowledged=true)acknowledges all, with a preview.get_system_reportgives all statistics and the system status, and withcheck_for_update=truethe newest Paperless release. (#167, #168, #169, #182) - Read-only toolsets.
PAPERLESS_MCP_TOOLSETS=core,ai,mail:readoffers only the reading tools ofmail. Reading tools no longer mention tools the operator hides by a read-only toolset, read-only mode orPAPERLESS_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_permissionsshows owner and grants of up to 100 objects.update_user(remove_second_factor=true).next_asninget_instance_overview.read_documents(counts=true)counts a selection by tag, correspondent, type, storage path and custom field.suggest_wordsandtest_storage_path(toolsetbulk).search_documentsfilters by modified date, ASN range and file name.get_document_thumbnail(version_id).list_share_bundlesfilters by status and document. (#173, #179, #182) rotate_documentscan 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_pathrefuses 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_usersays that reactivating a user needs a confirmation;run_tasksays 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