Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Paperless NGX MCP server

by baruchiro/paperless-mcpISC licenceAudited 7 Oct 2026 · source 112a4d9f157d

npm @baruchiro/paperless-mcp 2.2.1ssestdiostreamable-http★ 146
✓SAFEGrade B · 89/100 · 7 Oct 2026 · 112a4d9
146GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 44 tools: 19 read, 19 write and 6 destructive. The audit recorded 12 findings (0 critical, 0 high, 1 medium, 11 low). Maintainer's description: An 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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Paperless NGX MCP server (baruchiro/paperless-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/baruchiro/paperless-ngx-1

2 MCP servers are called Paperless NGX. You are viewing baruchiro/paperless-mcp. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium11 low0 info

12 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkDeclared1 observation
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainPASS 8 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner baruchiroUser accountAccount type recorded when we read the repository.
  • PackagePublished on npm@baruchiro/paperless-mcp at version 2.2.1
  • LicenceISCFrom the repository, as read at the audited commit.
  • Last push21 days agoActivity of the repository when we read it.
  • Source commit read112a4d9f157dThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory44 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (12)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_correspondent, delete_custom_field, delete_document_note, delete_document_type, delete_mail_rule, delete_tag
Why
6 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .node-version
F-13 Inventory / provenanceCWE-1104Layer L0
.node-version
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/test/mocks/paperlessApi.ts:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { PaperlessAPI } from "../../api/PaperlessAPI";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/test/mocks/paperlessApi.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { Document } from "../../api/types";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/utils/matchingAlgorithm.ts:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from "../../api/types";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/utils/selectFields.test.ts:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { PaperlessAPI } from "../../api/PaperlessAPI";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/utils/selectFields.test.ts:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { CustomField } from "../../api/types";
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · .github/workflows/docker-publish.yml:88
F-04 Network egressCWE-200 · CWE-319Layer L1
code=$(curl -s --max-time 2 -o /dev/null -w "%{http_code}" http://127.0.0.1:3000/mcp || true)
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.base64_blob · README.md:11
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
[![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](https://cursor.com/install-mcp?name=paperless&config=eyJjb21tYW5kIjoibnB4IC15IEBiYXJ1Y2hpcm8vcGFwZXJsZXNzLW1jcEBsYXRlc3QiLCJl
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, axios, express, form-data, zod, @anthropic-ai/dxt, @changesets/cli, @types/express
Why
11 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:94
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- 6f8aada: Allow `post_document` to upload from an absolute server-side `file_path` instead of base64 `file`, avoiding base64 overhead for large files. Reads are validated (absolute path, regular file
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:752
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
TOKEN=$(curl -s -X POST http://localhost:8000/api/token/ \
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine

Tools it exposes

44 declared in source · 6 destructive

19 read19 write6 destructive

6 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_correspondentdestructive⚠️ DESTRUCTIVE: Permanently delete a correspondent from the entire system. This will affect ALL documents that use this correspondent.
delete_custom_fielddestructive⚠️ DESTRUCTIVE: Permanently delete a custom field from the entire system. This will remove the field from ALL documents that use it.
delete_document_notedestructive⚠️ DESTRUCTIVE: Permanently delete a single note from a document by its note ID. This operation is irreversible. Returns the document
delete_document_typedestructive⚠️ DESTRUCTIVE: Permanently delete a document type from the entire system. This will affect ALL documents that use this type.
delete_mail_ruledestructiveDelete one Paperless mail rule. This changes future mail ingestion behavior but does not delete documents.
delete_tagdestructive⚠️ DESTRUCTIVE: Permanently delete a tag from the entire system. This will remove the tag from ALL documents that use it. Use with extreme caution.
bulk_edit_correspondentswriteBulk edit correspondents. ⚠️ WARNING:
bulk_edit_custom_fieldswriteBulk edit custom fields. ⚠️ WARNING:
bulk_edit_document_typeswriteBulk edit document types. ⚠️ WARNING:
bulk_edit_documentswritePerform bulk operations on multiple documents. Note:
bulk_edit_tagswriteBulk edit tags. ⚠️ WARNING:
create_correspondentwriteCreate a new correspondent with optional matching pattern and algorithm for automatic document assignment.
create_custom_fieldwriteCreate a new custom field with a specified data type (string, url, date, boolean, integer, float, monetary, documentlink, or select). For monetary fields, values must use currency code prefix format (e.g., USD10.00, GBP123.45) — NOT trailing symbol format (e.g., 10.00$).
create_document_notewriteAdd a note to a document. Use this to record an audit trail or progress note directly on the document. Returns the document
create_document_typewriteCreate a new document type with optional matching pattern and algorithm for automatic document classification.
create_mail_rulewriteCreate a Paperless mail rule. Use list_mail_accounts first to choose account. Prefer attachment-only rules for invoices unless the full mail must be archived.
create_tagwriteCreate a new tag with optional color, matching pattern, and matching algorithm for automatic document tagging.
post_documentwriteUpload a new document to Paperless-NGX with optional metadata like title, correspondent, document type, tags, and custom fields. Provide either
process_mail_accountwriteManually run Paperless mail processing for one account. This can consume matching mails according to enabled Paperless mail rules.
update_correspondentwriteUpdate an existing correspondent
update_custom_fieldwriteUpdate an existing custom field
update_documentwriteUpdate a specific document with new values (title, correspondent, document type, storage path, tags, custom fields, and more). Top-level fields you omit are left unchanged. IMPORTANT: custom_fields is the exception — see its parameter description; it replaces the document
update_document_typewriteUpdate an existing document type
update_mail_rulewritePatch an existing Paperless mail rule. Only supplied fields are changed.
update_tagwriteUpdate an existing tag
download_documentreadDownload a document file by ID. Returns a paperless:// resource URI; read the resource to fetch the file content.
get_correspondentreadGet a specific correspondent by ID with full details including matching rules.
get_custom_fieldreadGet a specific custom field by ID with full details including data type and extra configuration.
get_documentreadGet a specific document by ID with full details including correspondent, document type, tags, and custom fields. Note: Document content is excluded from results by default. Use
get_document_contentreadGet the text content of a specific document by ID. Use this when you need to read or analyze the actual document text.
get_document_thumbnailreadGet a document thumbnail (image preview) by ID. Returns a paperless:// resource URI; read the resource to fetch the image content.
get_document_typereadGet a specific document type by ID with full details including matching rules.
get_mail_accountreadGet one Paperless mail account by ID. Password/token fields are redacted if the server returns them.
get_mail_rulereadGet one Paperless mail rule by ID.
list_correspondentsreadList all correspondents with optional filtering and pagination. Correspondents represent entities that send or receive documents.
list_custom_fieldsreadNo description in the source
list_document_notesreadList all notes attached to a document. Notes are free-text comments on a document and are the natural place for an audit trail (e.g. \
list_document_typesreadNo description in the source
list_documentsreadList and filter documents with pagination and common Paperless filters such as title search, correspondent, document type, tag, storage path, creation date, archive serial number, and simple custom field filters. Use
list_mail_accountsreadList Paperless mail accounts for selecting the account ID needed by mail rules. Does not expose account passwords.
list_mail_rulesreadList Paperless mail rules with optional pagination.
list_tagsreadNo description in the source
query_documentsreadNo description in the source
search_documentsreadDeprecated compatibility wrapper for full-text document search. Use

Install

Package version 2.2.1 · audited commit 112a4d9

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 2.2.1. The audit covers commit 112a4d9 only.

claude mcp add paperless-mcp --env PAPERLESS_API_KEY=${PAPERLESS_API_KEY} --env PAPERLESS_TOKEN=${PAPERLESS_TOKEN} -- npx -y @baruchiro/[email protected]

The command pins the package version recorded in the source (2.2.1); the audit covers commit 112a4d9f157d. Transport: sse · stdio · streamable-http. Reads these environment variables: PAPERLESS_API_KEY, PAPERLESS_TOKEN. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 112a4d9f157d

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/baruchiro/paperless-ngx-1/badge.svg)](https://modelsatlas.com/mcp/baruchiro/paperless-ngx-1/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Paperless NGX MCP server

What is the Paperless NGX MCP server?
An 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.
What tools does Paperless NGX expose?
44 in total: 19 read-only, 19 that write, and 6 that can delete or overwrite (delete_correspondent, delete_custom_field, delete_document_note, delete_document_type, delete_mail_rule). Every one is listed on this page with its risk.
Is Paperless NGX safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 6 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Paperless NGX need?
It reads PAPERLESS_API_KEY and PAPERLESS_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Paperless NGX run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @baruchiro/paperless-mcp at 2.2.1.
How current is this page?
The grade is for one exact copy of the source (112a4d9f157d), read on 2026-10-07. The repository is watched and re-audited when it changes.
Which Paperless NGX MCP server is the right one?
nloui/paperless-mcp. 2 servers share the name; see the side-by-side comparison.

Sources

  • baruchiro/paperless-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 112a4d9f157dObserved · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.