mcp-paperless-ngx
REST API 버전 10을 기준으로 빌드되었으며, 세 가지 차별점이 있습니다:
완전한 커버리지. 문서화된 92개 엔드포인트 각각은 도구로 노출되거나
src/tools/coverage.ts에 제외 사유와 함께 명시되어 있습니다. 테스트가 이를 강제하므로, Paperless 릴리스에서 엔드포인트가 추가되면 조용히 미지원으로 남는 대신 CI가 실패합니다.토큰 절약. Paperless 문서에는 전체 OCR 텍스트가 포함됩니다. 단순한 래퍼는 이를 기본으로 반환하며, 한 번의 검색으로 모델의 컨텍스트가 소진될 수 있습니다. 여기서는 목록 결과가
?fields=를 통해 서버 측에서 잘리고, 텍스트는 자체 페이지네이션 도구 뒤에 있으며, 어떤 목록 엔드포인트도 원시 API 응답을 그대로 전달하지 않습니다 — 테스트가 이를 강제합니다. 컨텍스트 비용 참조.범위 제한. 99개의 도구는 모델의 도구 목록을 압도할 수 있습니다. 툴셋을 사용하면 특정 클라이언트가 필요한 것만 노출할 수 있으며,
--read-only는 모든 쓰기 경로를 완전히 제거합니다.
Paperless-ngx 2.x는 지원되지 않습니다: API 버전 10은 이 서버가 존재를 전제로 하는 엔드포인트(중첩 태그,
문서 버전, share_link_bundles, 분할 PDF 작업)를 도입했습니다.
빠른 시작
npx -y mcp-paperless-ngx --check # verify connectivity, then exitClaude Code
claude mcp add paperless --scope user \
--env PAPERLESS_URL=https://paperless.example.com \
--env PAPERLESS_TOKEN=your-api-token \
-- npx -y mcp-paperless-ngxClaude Desktop, Cursor, Cline 및 기타 MCP 클라이언트
{
"mcpServers": {
"paperless": {
"command": "npx",
"args": ["-y", "mcp-paperless-ngx"],
"env": {
"PAPERLESS_URL": "https://paperless.example.com",
"PAPERLESS_TOKEN": "your-api-token"
}
}
}
}API 토큰 얻기
Paperless 웹 UI → 사용자 이름(오른쪽 상단) → 내 프로필 → API 토큰 필드 옆의 원형 화살표 버튼.
Related MCP server: paperless-mcp
구성
변수 | 필수 | 기본값 | 용도 |
| 예 | — | 서버가 통신하는 기본 URL. |
| 예 | — | API 토큰. |
| 아니요 |
| 인스턴스가 외부에서 다른 이름으로 접근 가능한 경우, 사용자에게 링크를 만들 때 사용하는 URL. |
| 아니요 | 아래 참조 | 쉼표로 구분된 툴셋 또는 |
| 아니요 |
| 아무것도 변경할 수 없는 도구만 노출. |
| 아니요 | — | 추가 요청 헤더. JSON( |
| 아니요 | 시스템 임시 폴더 | 다운로드한 파일이 기록되는 위치. |
| 아니요 |
| 모델이 요청하는 것과 무관하게 목록 페이지 크기의 상한선. |
| 아니요 |
| 요청 제한 시간. |
| 아니요 |
|
|
CLI 플래그 --url, --token, --public-url, --toolsets 및 --read-only는 환경 변수를
재정의합니다. --check는 연결을 확인하고, --list-tools는 활성화된 도구를 출력합니다.
툴셋
툴셋 | 기본값 | 내용 |
| 켜짐 | 검색, 읽기, 업데이트, 삭제, 업로드, 다운로드, 메모, 일괄 및 PDF 작업 |
| 켜짐 | 태그, 발신인, 문서 유형, 저장 경로 |
| 켜짐 | 사용자 정의 필드 정의 |
| 켜짐 | 저장된 보기 |
| 켜짐 | 공유 링크 및 공유 링크 번들 |
| 켜짐 | 자동화 규칙, 트리거, 작업 |
| 켜짐 | 전역 검색, 통계, 상태, 작업, 휴지통 |
| 꺼짐 | IMAP 계정, 메일 규칙, 처리된 메일 |
| 꺼짐 | 사용자, 그룹, 프로필, 구성, 로그(읽기 전용) |
mail과 admin은 대부분의 세션에서 필요하지 않고 추가 도구마다 모든 요청에서 컨텍스트를 소모하므로
기본적으로 꺼져 있습니다. 명시적으로 활성화하세요:
PAPERLESS_TOOLSETS=documents,metadata,system,mail
PAPERLESS_TOOLSETS=all컨텍스트 비용
언어 모델용 API를 래핑하면 API 자체에는 없는 비용이 발생합니다: 모델이 보는 모든 것은 모든 요청에서 비용이 청구됩니다. 문제가 되는 두 지점과 이 서버가 이를 처리하는 방법입니다.
응답. Paperless에서 비용이 많이 드는 세 가지 형태가 있으며 실수로 반환하기 쉽습니다:
소스 | 문제 | 처리 |
문서 목록 | 모든 문서가 |
|
| 모든 객체 유형에 걸쳐 OCR 텍스트가 포함된 완전한 | 문서는 요약되고, 다른 유형은 id + 이름으로 축소 |
워크플로우, 메일 규칙, 그룹, 작업 | 객체당 27–34개 필드, 중첩된 트리거/작업 정의가 인라인으로 포함 | 식별 필드로 요약되고, 중첩 목록은 개수로 축소. |
도구 정의. 더 크고 덜 명확한 비용입니다: 이름, 설명 및 JSON 스키마가 도구가 호출되는지 여부와 관계없이 모든 요청에 포함됩니다.
툴셋 | 도구 수 | 요청당 대략적 비용 |
| 99 | ~20,500 토큰 |
기본값 | 85 | ~18,500 토큰 |
| 49 | ~12,900 토큰 |
이를 무료로 만들 방법은 없습니다 — 모델이 추측 없이 사용할 수 있는 도구의 대가입니다. 그러나 신중할
가치가 있습니다: 세션이 문서 검색과 분류만 수행한다면 PAPERLESS_TOOLSETS=documents,metadata를
실행하는 것이 어떤 응답 트리밍보다 더 많은 컨텍스트를 절약합니다.
안전
이 서버는 파괴적 작업을 노출합니다. 문서 관리자가 그런 기능 없이는 관리자라고 할 수 없기 때문입니다. 언제 적절한지 추측하지 않습니다 — 그 판단은 클라이언트와 사용자의 몫입니다. 대신 다음을 수행합니다:
파괴적 도구는
destructiveHint: true로 주석 처리되어 MCP 클라이언트가 확인을 요구할 수 있습니다.도구 설명은 되돌릴 수 없는 작업(
empty_trash,delete_custom_field,delete_originals)을 명확히 명시하고 호출 전 확인을 요청합니다.--read-only는 호출 시 거부하는 대신 모든 쓰기 도구를 목록에서 제거합니다.일괄 엔드포인트는 "이 필터와 일치하는 모든 항목에 적용" 모드를 지원합니다. 이 서버는 이를 노출하지 않습니다: 일괄 도구는 명시적 ID 목록을 받으므로 잘못된 필터가 전체 아카이브에 조용히 영향을 줄 수 없습니다.
create_share_link는 공개적으로 접근 가능한 URL을 생성합니다. 설명에 이를 명시하며,audit_sharing프롬프트는 이미 노출된 항목을 검토하기 위해 존재합니다.
자격 증명 관련 엔드포인트(토큰 생성, TOTP 등록, 타인의 2차 인증 비활성화)는 의도적으로 노출되지
않습니다. 전체 목록과 근거는 EXCLUDED_ENDPOINTS를 참조하세요.
프롬프트
MCP 프롬프트를 지원하는 클라이언트에서 슬래시 명령으로 등록됩니다:
프롬프트 | 기능 |
| 분류되지 않은 문서를 순회하며 기존 항목을 우선하는 메타데이터를 제안하고, 사용자가 승인할 때까지 아무것도 적용하지 않음. |
| 모호한 설명에서 문서를 찾되, 광범위한 검색 전에 저비용 검색을 먼저 수행. |
| 모든 공개 공유 링크를 검토하고 만료되지 않는 링크를 표시. |
테스트
서로 다른 문제를 잡아내는 세 계층:
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 warningnpm test는 이 서버 자체의 추론을 확인합니다: 엔드포인트 커버리지, 스키마에 대한
열거형 값, 어떤 목록 도구도 원시 API 객체를 누출하지 않는지, 읽기 전용 모드가
실제로 쓰기를 제거하는지.
smoke-test.mjs는 Paperless에 대해 가정하는 사항을 확인합니다. 실제 인스턴스에 대해
모든 읽기 전용 도구를 호출하고, ID를 하드코딩하는 대신 목록 호출에서 해결하며,
비용이 많이 드는 도구가 계속 보이도록 응답 크기를 출력합니다. 아무것도 쓰지 않습니다.
write-test.mjs는 나머지를 다룹니다: 업로드 및 소비, 모든 필드 유형 업데이트,
메모, 일괄 태그 편집, 공유 링크, 회전 및 휴지통 왕복.
자체적으로 생성한 객체만 건드립니다. 만드는 모든 것은
zz-mcp-test접두사로 이름이 지정되고 마지막에 다시 삭제되며, 업로드하지 않은 문서는 절대 수정하지 않습니다. 실행이 중단되면 해당 접두사가 있는 잔여물은 삭제해도 안전합니다. 테스트 인스턴스가 있다면 사용하는 것이 좋습니다.
Paperless 최신 버전 유지
PAPERLESS_URL=… PAPERLESS_TOKEN=… node scripts/sync-schema.mjs
npm testsync-schema.mjs는 자체 인스턴스의 OpenAPI 문서에서 schema/endpoints.json을 재생성합니다.
그런 다음 테스트 스위트는 노출되지도 명시적으로 제외되지도 않은 엔드포인트를 보고합니다.
이것이 전체 유지 관리 루프입니다: 더 새로운 Paperless를 가리키면 테스트가 무엇이 변경되었는지
알려줍니다.
개발
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선행 작업
Paperless용 MCP 서버는 이미 여러 개 존재하며, 가장 주목할 만한 것으로는 cubinet-code/paperless-ngx-mcp가 있고, 또한 nloui/paperless-mcp와 barryw/PaperlessMCP도 있습니다. 이들은 2.x API를 대상으로 합니다. Paperless-ngx 2.x를 실행 중이라면 그중 하나를 사용하세요. 이 프로젝트는 3.x를 전제로 합니다.
라이선스
MIT. LICENSE를 참조하세요.
Available Tools
85 toolsacknowledge_tasksDismiss tasksA
Mark finished or failed tasks as acknowledged so they stop showing in the UI.
Inputs: tasks (required).
bulk_download_documentsBulk download documentsARead-onlyIdempotent
Download several documents as one zip archive, written to the download directory. Returns the archive path, not its contents.
Inputs: documents (required), content, filename, compression, +1 more.
bulk_edit_documentsBulk edit documentsADestructive
Apply one operation to many documents at once. Far cheaper than looping update_document, and the only way to add or remove individual tags without replacing the whole tag list. Methods: set_correspondent, set_document_type, set_storage_path, add_tag, remove_tag, modify_tags, modify_custom_fields, set_permissions, reprocess, delete, rotate, merge, split, delete_pages, edit_pdf, remove_password. The destructive methods (delete, delete_pages, split/merge with delete_originals) need explicit user confirmation first.
Inputs: method (required), documents (required), tag, merge, +14 more.
bulk_edit_metadata_objectsBulk edit metadata objectsADestructive
Delete or set permissions on many tags, correspondents, document types or storage paths at once. Deletion here is permanent — confirm with the user before calling it.
Inputs: objects (required), operation (required), object_type (required), merge, +2 more.
create_correspondentCreate correspondentA
Create a new correspondent. Check list_correspondents first: near-duplicate entries are hard to merge later.
Inputs: name (required), match, owner, is_insensitive, +2 more.
create_custom_fieldCreate custom fieldA
Define a new custom field. The data type cannot be changed afterwards, so pick it deliberately.
Inputs: name (required), data_type (required), extra_data.
create_document_noteAdd a note to a documentA
Attach a free-text note to a document. Use this to record context that belongs with the document rather than in the conversation — why it was kept, what was agreed, what to do next.
Inputs: id (required), note (required).
create_document_typeCreate document typeA
Create a new document type. Check list_document_types first: near-duplicate entries are hard to merge later.
Inputs: name (required), match, owner, is_insensitive, +2 more.
create_saved_viewCreate saved viewA
Save a filter preset that shows up in the user's Paperless sidebar. filter_rules use the web UI's numeric rule types — copy the shape from an existing view via get_saved_view rather than guessing.
Inputs: name (required), page_size, sort_field, filter_rules, +3 more.
create_storage_pathCreate storage pathA
Create a new storage path. Check list_storage_paths first: near-duplicate entries are hard to merge later.
Inputs: name (required), path (required), match, owner, +3 more.
create_tagCreate tagA
Create a new tag. Check list_tags first: near-duplicate entries are hard to merge later.
Inputs: name (required), color, match, owner, +5 more.
create_workflowCreate workflowA
Create an automation rule. Workflows run automatically against future documents, so a mistake here silently mis-files everything that arrives afterwards. Read an existing workflow with get_workflow to copy the exact shape, and confirm the rule with the user before creating it. Trigger object. type: 1=consumption started, 2=document added, 3=document updated, 4=scheduled. Common fields: sources (1=consume folder, 2=API upload, 3=mail fetch), filter_filename, filter_path, filter_mailrule, match + matching_algorithm, filter_has_tags / filter_has_all_tags / filter_has_not_tags, filter_has_any_correspondents, filter_has_any_document_types, filter_custom_field_query, and for scheduled triggers schedule_offset_days, schedule_is_recurring, schedule_recurring_interval_days, schedule_date_field (added|created|modified|custom_field). Action object. type: 1=assignment, 2=removal, 3=email, 4=webhook, 5=..., 6=... Assignment actions use assign_title, assign_tags, assign_correspondent, assign_document_type, assign_storage_path, assign_owner, assign_view_users/groups, assign_custom_fields. Removal actions use the remove_* counterparts. Email and webhook actions nest their own config object.
Inputs: name (required), actions (required), triggers (required), order, +1 more.
delete_correspondentDelete correspondentADestructive
Permanently delete a correspondent. Documents are not deleted, but they lose this assignment and it cannot be restored. Confirm with the user first.
Inputs: id (required).
delete_custom_fieldDelete custom fieldADestructive
Delete a custom field definition and every value stored in it, across all documents. This cannot be undone — confirm with the user, and check document_count first.
Inputs: id (required).
delete_documentDelete documentADestructive
Move a document to the trash. It stays recoverable until the trash is emptied or the retention period expires. Always confirm with the user before deleting anything.
Inputs: id (required).
delete_document_noteDelete a document noteADestructive
Remove a note from a document. Not recoverable.
Inputs: id (required), note_id (required).
delete_documentsDelete documentsADestructive
Move several documents to the trash at once. Recoverable until the trash is emptied. Requires explicit user confirmation — list what will be deleted before calling this.
Inputs: documents (required).
delete_document_typeDelete document typeADestructive
Permanently delete a document type. Documents are not deleted, but they lose this assignment and it cannot be restored. Confirm with the user first.
Inputs: id (required).
delete_saved_viewDelete saved viewADestructive
Remove a saved view. Documents are unaffected.
Inputs: id (required).
delete_storage_pathDelete storage pathADestructive
Permanently delete a storage path. Documents are not deleted, but they lose this assignment and it cannot be restored. Confirm with the user first.
Inputs: id (required).
delete_tagDelete tagADestructive
Permanently delete a tag. Documents are not deleted, but they lose this assignment and it cannot be restored. Confirm with the user first.
Inputs: id (required).
delete_workflowDelete workflowADestructive
Delete an automation rule permanently. Consider update_workflow with enabled:false instead.
Inputs: id (required).
download_documentDownload documentARead-onlyIdempotent
Save a document's file to disk on the machine running this MCP server and return the path. Files are written to PAPERLESS_DOWNLOAD_DIR (defaults to the system temp directory). The bytes are deliberately not returned inline — a PDF as base64 would consume the entire context.
Inputs: id (required), version, filename.
edit_pdfEdit a PDFADestructive
Reorder, rotate, remove or split out pages of a single document, producing a new document. operations is a list of page instructions; each entry names a source page and what to do with it. Consult the Paperless API docs for the exact operation shape before using this.
Inputs: documents (required), operations (required), delete_original, update_document, +1 more.
email_documentsEmail documentsA
Send one or more documents by email from the Paperless instance. This sends real mail to real people — only call it after the user has confirmed the recipients, subject and body.
Inputs: message (required), subject (required), addresses (required), documents (required), +1 more.
empty_trashEmpty the trashADestructive
Permanently destroy trashed documents. There is no recovery after this — the files are gone. Never call this without the user explicitly asking for it in the current conversation, and list what is in the trash first.
Inputs: documents.
get_active_tasksCurrently running tasksARead-onlyIdempotent
Tasks executing right now. Tells you whether the instance is busy.
Inputs: no named parameters.
get_correspondentGet correspondentARead-onlyIdempotent
Fetch a single correspondent by ID, with all fields.
Inputs: id (required).
get_custom_fieldGet custom fieldBRead-onlyIdempotent
One custom field definition including its select options, if any.
Inputs: id (required).
get_documentGet documentARead-onlyIdempotent
Fetch one document's metadata by ID: title, correspondent, type, tags, dates, custom fields, notes and available versions. Does not include the OCR text unless include_content is set.
Inputs: id (required), include_content.
get_document_ai_suggestionsGet AI filing suggestionsARead-onlyIdempotent
Suggestions from the instance's configured LLM backend (Paperless-ngx 3.x, only if AI features are enabled server-side). Returns 404 or an error when AI is disabled — that is expected, not a bug.
Inputs: id (required).
get_document_contentGet document textARead-onlyIdempotent
Return the OCR/extracted text of one document. Deliberately a separate tool: this is the most expensive thing you can pull from Paperless, so fetch it only for documents you have already narrowed down. Supports offset/limit for long documents.
Inputs: id (required), limit, offset.
get_document_historyGet document historyARead-onlyIdempotent
Audit trail of changes to a document — who changed which field, and when. Requires audit logging to be enabled on the instance. Returns the most recent entries first; raise limit to see further back.
Inputs: id (required), limit.
get_document_metadataGet document file metadataARead-onlyIdempotent
Technical file metadata for a document: checksums, byte sizes, MIME type, stored filename, whether an archived PDF/A version exists, and embedded PDF metadata. Not the Paperless tags/correspondent — use get_document for those.
Inputs: id (required).
get_document_suggestionsGet filing suggestionsARead-onlyIdempotent
Paperless' own suggestions for a document — correspondents, tags, document types and dates its classifier considers likely. Useful as a starting point when triaging, but the suggestions are only as good as the trained model; verify before applying.
Inputs: id (required).
get_document_thumbnailGet document thumbnailARead-onlyIdempotent
Return the document's thumbnail image inline so it can actually be looked at. Useful for confirming what a document is without reading its whole OCR text.
Inputs: id (required).
get_document_typeGet document typeARead-onlyIdempotent
Fetch a single document type by ID, with all fields.
Inputs: id (required).
get_metadata_overviewMetadata overviewARead-onlyIdempotent
One compact snapshot of all tags, correspondents, document types and storage paths with their IDs and document counts. Cheaper than four separate list calls and the right first step before filing or triaging documents.
Inputs: no named parameters.
get_next_asnGet next archive serial numberARead-onlyIdempotent
The next free archive serial number, for filing a physical document alongside its scan.
Inputs: no named parameters.
get_remote_versionCheck for Paperless updatesARead-onlyIdempotent
The latest Paperless-ngx release, and whether an update is available.
Inputs: no named parameters.
get_saved_viewGet saved viewARead-onlyIdempotent
One saved view including its filter rules, so you can reproduce it as a search.
Inputs: id (required).
get_selection_dataSummarise a document selectionARead-onlyIdempotent
For a set of document IDs, return how many of them carry each tag, correspondent, document type and storage path. Answers 'what is in this pile?' in one call instead of fetching every document.
Inputs: documents (required).
get_server_statusServer statusARead-onlyIdempotent
Instance health: Paperless version, database and index status, whether Redis and the task workers are reachable, and whether the search index is up to date.
Inputs: no named parameters.
get_statisticsArchive statisticsARead-onlyIdempotent
Totals for the archive: document count, inbox count, characters, file type breakdown. A cheap orientation call at the start of a session.
Inputs: no named parameters.
get_storage_pathGet storage pathARead-onlyIdempotent
Fetch a single storage path by ID, with all fields.
Inputs: id (required).
get_tagGet tagARead-onlyIdempotent
Fetch a single tag by ID, with all fields.
Inputs: id (required).
get_taskGet a background taskARead-onlyIdempotent
One background task by database ID, including its result. Use this to find out whether an upload or merge actually succeeded.
Inputs: id (required).
get_workflowGet workflowARead-onlyIdempotent
One workflow with its full trigger and action definitions.
Inputs: id (required).
global_searchSearch everythingARead-onlyIdempotent
Search across every object type at once — documents, tags, correspondents, document types, storage paths, saved views, users, groups, mail rules, custom fields and workflows. Returns at most three hits per type, so use it to locate things by name when you do not yet know which kind of object you are looking for. For document searches, search_documents is better.
Inputs: query (required), db_only.
list_correspondentsList correspondentsARead-onlyIdempotent
List correspondents. A correspondent is the sender or counterparty a document came from. Returns id, name and document_count for each. Call this before creating anything — reusing an existing correspondent is almost always correct.
Inputs: full, page, ordering, page_size, +1 more.
list_custom_fieldsList custom fieldsARead-onlyIdempotent
Custom fields defined on this instance, with their IDs, data types and how many documents use them. You need the IDs before you can read or write custom field values on a document.
Inputs: full, page, ordering, page_size, +1 more.
list_document_notesList document notesARead-onlyIdempotent
Notes attached to a document, with authors and timestamps. Notes hold context the OCR text does not contain — worth reading before drawing conclusions about a document.
Inputs: id (required).
list_document_typesList document typesARead-onlyIdempotent
List document types. A document type says what kind of document it is (invoice, contract, payslip). Returns id, name and document_count for each. Call this before creating anything — reusing an existing document type is almost always correct.
Inputs: full, page, ordering, page_size, +1 more.
list_saved_viewsList saved viewsARead-onlyIdempotent
Saved views are the filter presets the user built in the Paperless web UI. Reading them is the fastest way to learn how this person actually organises their archive — check here before inventing your own filters.
Inputs: full, page, ordering, page_size, +1 more.
list_storage_pathsList storage pathsARead-onlyIdempotent
List storage paths. A storage path is a filename template controlling where Paperless stores the file on disk. Returns id, name and document_count for each. Call this before creating anything — reusing an existing storage path is almost always correct.
Inputs: full, page, ordering, page_size, +1 more.
list_tagsList tagsARead-onlyIdempotent
List tags. Tags are the primary way documents are categorised, and can be nested via parent. Returns id, name and document_count for each. Call this before creating anything — reusing an existing tag is almost always correct.
Inputs: full, page, ordering, page_size, +1 more.
list_tasksList background tasksARead-onlyIdempotent
Background tasks — consumption, merges, reprocessing — with their state and result. This is where an upload's outcome shows up, including the ID of the document it created.
Inputs: full, page, status, task_id, +4 more.
list_trashList trashed documentsARead-onlyIdempotent
Documents in the trash, with the date each was deleted and when it will be purged for good.
Inputs: full, page, ordering, page_size, +1 more.
list_workflow_actionsList workflow actionsARead-onlyIdempotent
Action definitions across all workflows. Useful for auditing what gets assigned automatically.
Inputs: full, page, ordering, page_size, +1 more.
list_workflowsList workflowsARead-onlyIdempotent
Automation rules on this instance, each with its triggers and actions inlined. Read these before changing filing behaviour — a workflow may already be doing what the user is asking you to do by hand.
Inputs: full, page, ordering, page_size, +1 more.
list_workflow_triggersList workflow triggersBRead-onlyIdempotent
Trigger definitions across all workflows. Useful for auditing what fires when.
Inputs: full, page, ordering, page_size, +1 more.
merge_documentsMerge documentsADestructive
Merge several documents into one new PDF, in the order given. The originals stay unless delete_originals is set. Runs asynchronously — poll the returned task with get_task.
Inputs: documents (required), archive_fallback, delete_originals, metadata_document_id.
remove_pdf_passwordRemove a PDF passwordA
Decrypt password-protected PDFs so Paperless can OCR them. The password is sent to your Paperless instance over its API; only use it against an instance you control.
Inputs: password (required), documents (required), delete_original, update_document, +1 more.
reprocess_documentsReprocess documentsA
Re-run OCR and the archive generation for the given documents, e.g. after changing OCR settings. Queued asynchronously; the documents keep their metadata.
Inputs: documents (required).
restore_from_trashRestore documents from trashA
Bring deleted documents back. The safe counterpart to delete_document.
Inputs: documents (required).
rotate_documentsRotate documentsA
Rotate every page of the given documents clockwise by 90, 180 or 270 degrees.
Inputs: degrees (required), documents (required).
search_autocompleteAutocomplete a search termARead-onlyIdempotent
Completions for a partial search term, ranked by importance in the full-text index. Helpful when the user's spelling of a name or term may not match what is in the archive.
Inputs: term (required), limit.
search_documentsSearch documentsARead-onlyIdempotent
Find documents by full-text search, metadata filters, or both. This is the main entry point for every 'which documents ...' question. Returns a compact summary per document (id, title, IDs of correspondent/type/tags, dates) — NOT the OCR text, which would flood the context. Use get_document_content for the text of a specific document.
Inputs: page, query, ordering, is_tagged, +19 more.
test_storage_pathTest a storage path templateARead-onlyIdempotent
Render a storage path template against an existing document to see the resulting file path. Use this to validate a template before saving it.
Inputs: path (required), document (required).
update_correspondentUpdate correspondentA
Partially update a correspondent. Only the fields you pass are changed; omitted fields keep their current value.
Inputs: id (required), name, match, owner, +3 more.
update_custom_fieldUpdate custom fieldA
Rename a custom field or adjust its extra_data (e.g. add select options). Changing data_type is not supported by Paperless.
Inputs: id (required), name, extra_data.
update_documentUpdate documentA
Change metadata on a single document. Only the fields you pass are modified. Pass numeric IDs for correspondent, document_type and storage_path — resolve names via get_metadata_overview first. Setting tags replaces the whole tag list; to add or remove individual tags across documents use bulk_edit_documents.
Inputs: id (required), tags, owner, title, +6 more.
update_document_typeUpdate document typeA
Partially update a document type. Only the fields you pass are changed; omitted fields keep their current value.
Inputs: id (required), name, match, owner, +3 more.
update_saved_viewUpdate saved viewA
Change a saved view's name, sorting, visibility or filter rules.
Inputs: id (required), name, page_size, sort_field, +4 more.
update_storage_pathUpdate storage pathA
Partially update a storage path. Only the fields you pass are changed; omitted fields keep their current value.
Inputs: id (required), name, path, match, +4 more.
update_tagUpdate tagA
Partially update a tag. Only the fields you pass are changed; omitted fields keep their current value.
Inputs: id (required), name, color, match, +6 more.
update_workflowUpdate workflowA
Update a workflow. Passing triggers or actions replaces the existing list wholesale — fetch the current definition with get_workflow, modify it, and send the complete list back. To simply switch a rule off, pass enabled:false and nothing else.
Inputs: id (required), name, order, actions, +2 more.
upload_documentUpload a documentA
Hand a file to Paperless for consumption. Provide either path (a file on the machine running this server — the cheap option) or content_base64 (works for remote deployments but costs context proportional to the file size; avoid for anything over a few hundred kilobytes). Consumption is asynchronous: the returned task ID can be polled with get_task.
Inputs: path, tags, title, created, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 85 tools
Most CRUD tool families are clearly separated by resource type, but bulk_edit_documents overlaps with rotate_documents, merge_documents, edit_pdf, reprocess_documents, and delete_documents by exposing the same operations as methods. get_document with include_content also partially duplicates get_document_content, so an agent must read descriptions carefully to pick the right tool.
Nearly every tool follows the verb_noun snake_case pattern, with predictable list/get/create/update/delete families for each resource type. Minor exceptions like global_search and search_autocomplete still fit the general verb-first style and do not create confusion.
85 tools is an extreme surface for an MCP server, far beyond the practical range for agent tool selection. Even for a broad domain like Paperless-ngx, this exceeds the 50+ threshold that constitutes an extreme mismatch.
The server covers nearly the entire Paperless lifecycle: document search, content retrieval, metadata editing, OCR reprocessing, merging, trash management, share links, workflows, tasks, and full CRUD for all metadata objects. Minor gaps remain, such as no note update tool, no share-link update tool, and no direct user or mail-rule management.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
MCP server for the PDFGate API. Generate PDFs, manage documents and handle e-signatures.
Model Context Protocol server for Studex tools, notifications, and profile integrations
Related MCP Servers
- AlicenseBqualityAmaintenanceAn MCP (Model Context Protocol) server for interacting with a Paperless-NGX API server. This server provides tools for managing documents, tags, correspondents, and document types in your Paperless-NGX instance.471,246 npm154TypeScriptISC
- FlicenseAqualityCmaintenanceMCP server for Paperless-ngx document management. Enables AI models to search, retrieve, update documents and manage metadata.7-
- AlicenseNot gradedqualityCmaintenanceA read-only and write MCP server for Paperless-ngx, enabling document listing, metadata retrieval, and creation of tags, correspondents, document types, and sorting workflows via natural language.MIT
- FlicenseNot gradedqualityNot gradedmaintenanceMCP server for Paperless-ngx document management, enabling search, OCR content access, metadata updates, tag/correspondent/type management, and duplicate detection via natural language.1-