Paperless MCP

io.github.pvliesdonk/paperless-mcp

About Paperless MCP

Paperless MCP is an MCP server published by the GitHub account pvliesdonk. Paperless-NGX over MCP: search, read, upload and tag documents; manage correspondents and types.

It runs on your own machine: your AI client starts it from the PyPI package pvliesdonk-paperless-mcp at version 3.0.0.

It asks for 4 secrets: PAPERLESS_MCP_API_TOKEN, PAPERLESS_MCP_BEARER_TOKEN, PAPERLESS_MCP_OIDC_CLIENT_SECRET and PAPERLESS_MCP_OIDC_JWT_SIGNING_KEY. Give it a key with the least access that still works.

Version 3.0.0 was published on 21 September 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 1 warn, 0 fail, 1 info. How we check.

What it asks for

VariableRequiredSecretDescription
PAPERLESS_MCP_KV_STORE_URLNoNoPersistent-state backend URL shared by every pvl-core subsystem that needs state. `memory://` is in-process and lost on restart; `file:///path` persists on one server; `redis://`, `dynamodb://` and `mongodb://` each need their matching extra. When unset, defaults to `file:///data/state` (the volume family Docker images mount), or to `memory://` (with a warning) on a host where that directory is not usable.
PAPERLESS_MCP_TOOLS_ALLOWNoNoComma-separated explicit tool names this instance exposes; every other tool is hidden from listings and cannot be invoked. Names matching no registered tool are inert. Mutually exclusive with `tools_deny`. Takes effect through `apply_tool_visibility`.
PAPERLESS_MCP_TOOLS_DENYNoNoComma-separated explicit tool names hidden from this instance (absent from listings, cannot be invoked). Names matching no registered tool are inert. Mutually exclusive with `tools_allow`. Takes effect through `apply_tool_visibility`.
PAPERLESS_MCP_SERVER_NAMENoNoRename this server instance; defaults to the project name.
PAPERLESS_MCP_INSTANCE_DESCRIPTIONNoNoConcise routing context that distinguishes this deployment's material or responsibility.
PAPERLESS_MCP_INSTRUCTIONS_EXTRANoNoDeployment-specific behavioral policy added to the generated MCP instructions.
PAPERLESS_MCP_INSTRUCTIONSNoNoLegacy: replaces all generated MCP instructions (deprecated; use _INSTANCE_DESCRIPTION for routing and _INSTRUCTIONS_EXTRA for policy).
PAPERLESS_MCP_LOG_LEVELNoNoLog level for every logger in the process, FastMCP's included (DEBUG / INFO / WARNING / ERROR / CRITICAL). The -v CLI flag overrides to DEBUG. The unprefixed FASTMCP_LOG_LEVEL still works for one major version and logs a deprecation warning.
PAPERLESS_MCP_LOG_FORMATNoNoLog rendering. rich is one colour event key=value line per record, for a terminal; json is one JSON object per record, for a collector. Unset picks rich when stderr is a terminal and json everywhere else, so a container or journald gets JSON with no configuration.
PAPERLESS_MCP_PAPERLESS_URLNoNoBase URL of the Paperless-NGX REST API, without a trailing slash. The server refuses to start without it.
PAPERLESS_MCP_API_TOKENNoYesPaperless service-account token used for outbound API requests. The server refuses to start without it.
PAPERLESS_MCP_HTTP_TIMEOUT_SECONDSNoNoPer-request HTTP timeout in seconds.
PAPERLESS_MCP_HTTP_RETRIESNoNoRetries for idempotent requests after network errors or 5xx responses.
PAPERLESS_MCP_DEFAULT_PAGE_SIZENoNoDefault page size for list tools, from 1 through 100.
PAPERLESS_MCP_PAPERLESS_PUBLIC_URLNoNoPublic Paperless UI URL for user-visible links; defaults to PAPERLESS_URL.
PAPERLESS_MCP_TRANSFER_TTL_DEFAULT_SNoNoLink lifetime in seconds when the caller requests no explicit TTL.
PAPERLESS_MCP_TRANSFER_TTL_MAX_SNoNoCeiling in seconds a caller-requested link TTL is clamped to.
PAPERLESS_MCP_TRANSFER_GRACE_TTL_SNoNoPost-success grace window in seconds: a served token's TTL shrinks to this so a stalled transfer can retry within it.
PAPERLESS_MCP_TRANSFER_LEASE_SNoNoCrashed-handler reclaim window in seconds for an in-flight reservation.
PAPERLESS_MCP_TRANSFER_MAX_UPLOAD_BYTESNoNoMaximum size in bytes of a single upload.
PAPERLESS_MCP_SHUTDOWN_GRACE_SNoNoSeconds SIGTERM may spend draining in-flight requests before the HTTP server exits. Keep it at or below the termination grace period the orchestrator allows. `0` drops in-flight requests immediately.
PAPERLESS_MCP_BASE_URLNoNoPublic base URL of the deployed server, for example `https://mcp.example.com`. Required for OIDC. Also the fallback source of the MCP Apps domain when `app_domain` is unset.
PAPERLESS_MCP_BEARER_TOKENNoYesSingle shared bearer token; enables bearer auth unless `bearer_tokens_file` is set, which takes precedence.
PAPERLESS_MCP_OIDC_CONFIG_URLNoNoOIDC discovery document URL, for example `https://auth.example.com/.well-known/openid-configuration`.
PAPERLESS_MCP_OIDC_CLIENT_IDNoNoOIDC client identifier registered with the provider.
PAPERLESS_MCP_OIDC_CLIENT_SECRETNoYesOIDC client secret registered with the provider.
PAPERLESS_MCP_OIDC_AUDIENCENoNoExpected `aud` claim; tokens issued for another audience are rejected.
PAPERLESS_MCP_OIDC_REQUIRED_SCOPESNoNoScopes a caller must present, space- or comma-separated. Defaults to `openid` in oidc-proxy mode.
PAPERLESS_MCP_OIDC_ADVERTISED_SCOPESNoNoScopes advertised to MCP clients in protected-resource metadata, space- or comma-separated. Overrides the default `openid offline_access`; `oidc_required_scopes` is always added on top. Set this when the registered client is not permitted `offline_access`, or to have clients request extra claim scopes (such as `groups`) without also requiring them in every token.
PAPERLESS_MCP_OIDC_JWT_SIGNING_KEYNoYesSigning key for issued tokens; used in oidc-proxy mode only. When unset, the key is derived deterministically from `oidc_client_secret`, so tokens survive a restart. Rotating that secret then invalidates every issued token. Set this explicitly to decouple token validity from secret rotation. Generate with `openssl rand -hex 32`.
PAPERLESS_MCP_OIDC_VERIFY_ACCESS_TOKENNoNoValidate the access token instead of the id token.
PAPERLESS_MCP_APP_DOMAINNoNoMCP Apps iframe domain, used for CSP sandboxing. Overrides the host derived from `base_url`.
PAPERLESS_MCP_AUTH_MODENoNoExplicit auth-mode override, accepting `remote` or `oidc-proxy` (case- and whitespace-insensitive). When unset the mode is auto-detected from which auth variables are set; the override exists because having all four OIDC variables set is ambiguous between those two modes. Other values are ignored with a warning.
PAPERLESS_MCP_BEARER_TOKENS_FILENoNoPath to a TOML file mapping bearer tokens to subjects; overrides the single-token `bearer_token` mode.
PAPERLESS_MCP_BEARER_DEFAULT_SUBJECTNoNoSubject assigned to the single-token bearer mode; ignored when `bearer_tokens_file` is set, since mapped mode carries per-token subjects.
PAPERLESS_MCP_HTTP_PATHNoNoMount path for the MCP endpoint; the health routes derive their prefix from it.
PAPERLESS_MCP_HEALTH_DETAILNoNoHow much the unauthenticated /health and /health/ready bodies say: status, standard (adds name, version and per-check verdicts), or full (adds redacted reasons; trusted networks only).
PUIDNoNoRun the server process as this UID; the container entrypoint reassigns ownership of writable paths to match.
PGIDNoNoRun the server process as this GID; pair with PUID to match the owner of a mounted volume.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/pvliesdonk/paperless-mcp
Version pinnedPassEvery package has an explicit version
Secrets requestedWarnAsks for 4 secrets: PAPERLESS_MCP_API_TOKEN, PAPERLESS_MCP_BEARER_TOKEN, PAPERLESS_MCP_OIDC_CLIENT_SECRET, PAPERLESS_MCP_OIDC_JWT_SIGNING_KEY
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account pvliesdonk
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPasspvliesdonk-paperless-mcp 3.0.0 has no setup.py; nothing runs at install
Code red flagsPassRead 291 files in pvliesdonk-paperless-mcp 3.0.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo hidden characters or instructions to the AI in 291 files, including comments and the README

Popularity & health: 62 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity8 / 40

1 GitHub stars, 51 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity25 / 25

Last push 2026-10-28, last release 2026-09-21, 67 commits in 90 days.

Issue health13 / 15

70 closed of 78 issues.

Our checks16 / 20

1 warning, each costing a fifth.

0 forks, 87 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry nameio.github.pvliesdonk/paperless-mcp
PublisherGitHub account pvliesdonk
How the name is verifiedName verified via GitHub account pvliesdonk. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagespypi pvliesdonk-paperless-mcp 3.0.0 (stdio)
oci ghcr.io/pvliesdonk/paperless-mcp:v3.0.0 no version given (streamable-http)
Version3.0.0
Published
Last updated
Source repositoryhttps://github.com/pvliesdonk/paperless-mcp
Websitehttps://pvliesdonk.github.io/paperless-mcp/
CategoryFiles & documents (assigned by keyword rule, not by hand)

Related servers in Files & documents