{
  "slug": "io-github-pvliesdonk-paperless-mcp",
  "name": "io.github.pvliesdonk/paperless-mcp",
  "title": "Paperless MCP",
  "description": "Paperless-NGX over MCP: search, read, upload and tag documents; manage correspondents and types.",
  "version": "3.0.0",
  "publishedAt": "2026-09-21T18:08:55.928958Z",
  "updatedAt": "2026-09-21T18:08:55.928958Z",
  "repoUrl": "https://github.com/pvliesdonk/paperless-mcp",
  "websiteUrl": "https://pvliesdonk.github.io/paperless-mcp/",
  "namespace": {
    "type": "github",
    "owner": "pvliesdonk"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "pvliesdonk-paperless-mcp",
      "version": "3.0.0",
      "transport": "stdio",
      "runtimeHint": "uvx"
    },
    {
      "registryType": "oci",
      "identifier": "ghcr.io/pvliesdonk/paperless-mcp:v3.0.0",
      "version": null,
      "transport": "streamable-http",
      "runtimeHint": null
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "PAPERLESS_MCP_KV_STORE_URL",
      "isSecret": false,
      "isRequired": false,
      "description": "Persistent-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."
    },
    {
      "name": "PAPERLESS_MCP_TOOLS_ALLOW",
      "isSecret": false,
      "isRequired": false,
      "description": "Comma-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`."
    },
    {
      "name": "PAPERLESS_MCP_TOOLS_DENY",
      "isSecret": false,
      "isRequired": false,
      "description": "Comma-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`."
    },
    {
      "name": "PAPERLESS_MCP_SERVER_NAME",
      "isSecret": false,
      "isRequired": false,
      "description": "Rename this server instance; defaults to the project name."
    },
    {
      "name": "PAPERLESS_MCP_INSTANCE_DESCRIPTION",
      "isSecret": false,
      "isRequired": false,
      "description": "Concise routing context that distinguishes this deployment's material or responsibility."
    },
    {
      "name": "PAPERLESS_MCP_INSTRUCTIONS_EXTRA",
      "isSecret": false,
      "isRequired": false,
      "description": "Deployment-specific behavioral policy added to the generated MCP instructions."
    },
    {
      "name": "PAPERLESS_MCP_INSTRUCTIONS",
      "isSecret": false,
      "isRequired": false,
      "description": "Legacy: replaces all generated MCP instructions (deprecated; use _INSTANCE_DESCRIPTION for routing and _INSTRUCTIONS_EXTRA for policy)."
    },
    {
      "name": "PAPERLESS_MCP_LOG_LEVEL",
      "isSecret": false,
      "isRequired": false,
      "description": "Log 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."
    },
    {
      "name": "PAPERLESS_MCP_LOG_FORMAT",
      "isSecret": false,
      "isRequired": false,
      "description": "Log 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."
    },
    {
      "name": "PAPERLESS_MCP_PAPERLESS_URL",
      "isSecret": false,
      "isRequired": false,
      "description": "Base URL of the Paperless-NGX REST API, without a trailing slash. The server refuses to start without it."
    },
    {
      "name": "PAPERLESS_MCP_API_TOKEN",
      "isSecret": true,
      "isRequired": false,
      "description": "Paperless service-account token used for outbound API requests. The server refuses to start without it."
    },
    {
      "name": "PAPERLESS_MCP_HTTP_TIMEOUT_SECONDS",
      "isSecret": false,
      "isRequired": false,
      "description": "Per-request HTTP timeout in seconds."
    },
    {
      "name": "PAPERLESS_MCP_HTTP_RETRIES",
      "isSecret": false,
      "isRequired": false,
      "description": "Retries for idempotent requests after network errors or 5xx responses."
    },
    {
      "name": "PAPERLESS_MCP_DEFAULT_PAGE_SIZE",
      "isSecret": false,
      "isRequired": false,
      "description": "Default page size for list tools, from 1 through 100."
    },
    {
      "name": "PAPERLESS_MCP_PAPERLESS_PUBLIC_URL",
      "isSecret": false,
      "isRequired": false,
      "description": "Public Paperless UI URL for user-visible links; defaults to PAPERLESS_URL."
    },
    {
      "name": "PAPERLESS_MCP_TRANSFER_TTL_DEFAULT_S",
      "isSecret": false,
      "isRequired": false,
      "description": "Link lifetime in seconds when the caller requests no explicit TTL."
    },
    {
      "name": "PAPERLESS_MCP_TRANSFER_TTL_MAX_S",
      "isSecret": false,
      "isRequired": false,
      "description": "Ceiling in seconds a caller-requested link TTL is clamped to."
    },
    {
      "name": "PAPERLESS_MCP_TRANSFER_GRACE_TTL_S",
      "isSecret": false,
      "isRequired": false,
      "description": "Post-success grace window in seconds: a served token's TTL shrinks to this so a stalled transfer can retry within it."
    },
    {
      "name": "PAPERLESS_MCP_TRANSFER_LEASE_S",
      "isSecret": false,
      "isRequired": false,
      "description": "Crashed-handler reclaim window in seconds for an in-flight reservation."
    },
    {
      "name": "PAPERLESS_MCP_TRANSFER_MAX_UPLOAD_BYTES",
      "isSecret": false,
      "isRequired": false,
      "description": "Maximum size in bytes of a single upload."
    },
    {
      "name": "PAPERLESS_MCP_SHUTDOWN_GRACE_S",
      "isSecret": false,
      "isRequired": false,
      "description": "Seconds 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."
    },
    {
      "name": "PAPERLESS_MCP_BASE_URL",
      "isSecret": false,
      "isRequired": false,
      "description": "Public 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."
    },
    {
      "name": "PAPERLESS_MCP_BEARER_TOKEN",
      "isSecret": true,
      "isRequired": false,
      "description": "Single shared bearer token; enables bearer auth unless `bearer_tokens_file` is set, which takes precedence."
    },
    {
      "name": "PAPERLESS_MCP_OIDC_CONFIG_URL",
      "isSecret": false,
      "isRequired": false,
      "description": "OIDC discovery document URL, for example `https://auth.example.com/.well-known/openid-configuration`."
    },
    {
      "name": "PAPERLESS_MCP_OIDC_CLIENT_ID",
      "isSecret": false,
      "isRequired": false,
      "description": "OIDC client identifier registered with the provider."
    },
    {
      "name": "PAPERLESS_MCP_OIDC_CLIENT_SECRET",
      "isSecret": true,
      "isRequired": false,
      "description": "OIDC client secret registered with the provider."
    },
    {
      "name": "PAPERLESS_MCP_OIDC_AUDIENCE",
      "isSecret": false,
      "isRequired": false,
      "description": "Expected `aud` claim; tokens issued for another audience are rejected."
    },
    {
      "name": "PAPERLESS_MCP_OIDC_REQUIRED_SCOPES",
      "isSecret": false,
      "isRequired": false,
      "description": "Scopes a caller must present, space- or comma-separated. Defaults to `openid` in oidc-proxy mode."
    },
    {
      "name": "PAPERLESS_MCP_OIDC_ADVERTISED_SCOPES",
      "isSecret": false,
      "isRequired": false,
      "description": "Scopes 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."
    },
    {
      "name": "PAPERLESS_MCP_OIDC_JWT_SIGNING_KEY",
      "isSecret": true,
      "isRequired": false,
      "description": "Signing 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`."
    },
    {
      "name": "PAPERLESS_MCP_OIDC_VERIFY_ACCESS_TOKEN",
      "isSecret": false,
      "isRequired": false,
      "description": "Validate the access token instead of the id token."
    },
    {
      "name": "PAPERLESS_MCP_APP_DOMAIN",
      "isSecret": false,
      "isRequired": false,
      "description": "MCP Apps iframe domain, used for CSP sandboxing. Overrides the host derived from `base_url`."
    },
    {
      "name": "PAPERLESS_MCP_AUTH_MODE",
      "isSecret": false,
      "isRequired": false,
      "description": "Explicit 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."
    },
    {
      "name": "PAPERLESS_MCP_BEARER_TOKENS_FILE",
      "isSecret": false,
      "isRequired": false,
      "description": "Path to a TOML file mapping bearer tokens to subjects; overrides the single-token `bearer_token` mode."
    },
    {
      "name": "PAPERLESS_MCP_BEARER_DEFAULT_SUBJECT",
      "isSecret": false,
      "isRequired": false,
      "description": "Subject assigned to the single-token bearer mode; ignored when `bearer_tokens_file` is set, since mapped mode carries per-token subjects."
    },
    {
      "name": "PAPERLESS_MCP_HTTP_PATH",
      "isSecret": false,
      "isRequired": false,
      "description": "Mount path for the MCP endpoint; the health routes derive their prefix from it."
    },
    {
      "name": "PAPERLESS_MCP_HEALTH_DETAIL",
      "isSecret": false,
      "isRequired": false,
      "description": "How 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)."
    },
    {
      "name": "PUID",
      "isSecret": false,
      "isRequired": false,
      "description": "Run the server process as this UID; the container entrypoint reassigns ownership of writable paths to match."
    },
    {
      "name": "PGID",
      "isSecret": false,
      "isRequired": false,
      "description": "Run the server process as this GID; pair with PUID to match the owner of a mounted volume."
    }
  ],
  "category": "files-docs",
  "subcategory": "more",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/pvliesdonk/paperless-mcp"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "warn",
      "detail": "Asks for 4 secrets: PAPERLESS_MCP_API_TOKEN, PAPERLESS_MCP_BEARER_TOKEN, PAPERLESS_MCP_OIDC_CLIENT_SECRET, PAPERLESS_MCP_OIDC_JWT_SIGNING_KEY"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account pvliesdonk"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "install-scripts",
      "label": "Install scripts",
      "result": "pass",
      "detail": "pvliesdonk-paperless-mcp 3.0.0 has no setup.py; nothing runs at install"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "pass",
      "detail": "Read 291 files in pvliesdonk-paperless-mcp 3.0.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 291 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (pypi)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"paperless-mcp\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"pvliesdonk-paperless-mcp==3.0.0\"\n      ]\n    }\n  }\n}"
    },
    {
      "label": "Claude Desktop (oci)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"paperless-mcp\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/pvliesdonk/paperless-mcp:v3.0.0\"\n      ]\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 1,
  "archived": false,
  "pushedAt": "2026-10-28T21:00:16Z",
  "health": {
    "score": 62,
    "parts": {
      "popularity": 0.1968505154341601,
      "activity": 1,
      "issues": 0.8974358974358975,
      "security": 0.8
    },
    "fail": 0,
    "warn": 1,
    "raw": {
      "stars": 1,
      "forks": 0,
      "downloads": 51,
      "hn": null,
      "issuesOpen": 8,
      "issuesClosed": 70,
      "prsMerged": 87,
      "commits90": 67,
      "release": "2026-09-21T18:05:37Z",
      "pushed": "2026-10-28T21:00:16Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:42:38.200Z"
  }
}
