M

MCP Server Paperless

by gardenbaum · io.github.gardenbaum/mcp-server-paperless

MCP server for paperless-ngx 3.x: find, read, file, upload and organise documents by name instead of id, and run saved views. 19 tools by default, 87 in 13 opt-in toolsets, a read-only mode, and confirmation before anything final.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-gardenbaum-mcp-server-paperless": {
      "command": "uvx",
      "args": [
        "mcp-server-paperless"
      ],
      "env": {
        "PAPERLESS_URL": "https://paperless.example.org",
        "PAPERLESS_TOKEN": "<YOUR_VALUE>",
        "PAPERLESS_PUBLIC_URL": "<VALUE>",
        "PAPERLESS_MCP_TOOLSETS": "core,ai",
        "PAPERLESS_MCP_READ_ONLY": "false",
        "PAPERLESS_MCP_DISABLED_TOOLS": "<VALUE>",
        "PAPERLESS_MCP_UPLOAD_DIRS": "<VALUE>",
        "PAPERLESS_MCP_MAX_UPLOAD_BYTES": "10485760",
        "PAPERLESS_MCP_MAX_DOWNLOAD_BYTES": "524288",
        "PAPERLESS_MCP_LOG_LEVEL": "INFO",
        "PAPERLESS_MCP_STARTUP_TIMEOUT": "5"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-gardenbaum-mcp-server-paperless": {
      "command": "uvx",
      "args": [
        "mcp-server-paperless"
      ],
      "env": {
        "PAPERLESS_URL": "https://paperless.example.org",
        "PAPERLESS_TOKEN": "<YOUR_VALUE>",
        "PAPERLESS_PUBLIC_URL": "<VALUE>",
        "PAPERLESS_MCP_TOOLSETS": "core,ai",
        "PAPERLESS_MCP_READ_ONLY": "false",
        "PAPERLESS_MCP_DISABLED_TOOLS": "<VALUE>",
        "PAPERLESS_MCP_UPLOAD_DIRS": "<VALUE>",
        "PAPERLESS_MCP_MAX_UPLOAD_BYTES": "10485760",
        "PAPERLESS_MCP_MAX_DOWNLOAD_BYTES": "524288",
        "PAPERLESS_MCP_LOG_LEVEL": "INFO",
        "PAPERLESS_MCP_STARTUP_TIMEOUT": "5"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-gardenbaum-mcp-server-paperless": {
      "command": "uvx",
      "args": [
        "mcp-server-paperless"
      ],
      "env": {
        "PAPERLESS_URL": "https://paperless.example.org",
        "PAPERLESS_TOKEN": "<YOUR_VALUE>",
        "PAPERLESS_PUBLIC_URL": "<VALUE>",
        "PAPERLESS_MCP_TOOLSETS": "core,ai",
        "PAPERLESS_MCP_READ_ONLY": "false",
        "PAPERLESS_MCP_DISABLED_TOOLS": "<VALUE>",
        "PAPERLESS_MCP_UPLOAD_DIRS": "<VALUE>",
        "PAPERLESS_MCP_MAX_UPLOAD_BYTES": "10485760",
        "PAPERLESS_MCP_MAX_DOWNLOAD_BYTES": "524288",
        "PAPERLESS_MCP_LOG_LEVEL": "INFO",
        "PAPERLESS_MCP_STARTUP_TIMEOUT": "5"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-gardenbaum-mcp-server-paperless": {
      "command": "uvx",
      "args": [
        "mcp-server-paperless"
      ],
      "env": {
        "PAPERLESS_URL": "https://paperless.example.org",
        "PAPERLESS_TOKEN": "<YOUR_VALUE>",
        "PAPERLESS_PUBLIC_URL": "<VALUE>",
        "PAPERLESS_MCP_TOOLSETS": "core,ai",
        "PAPERLESS_MCP_READ_ONLY": "false",
        "PAPERLESS_MCP_DISABLED_TOOLS": "<VALUE>",
        "PAPERLESS_MCP_UPLOAD_DIRS": "<VALUE>",
        "PAPERLESS_MCP_MAX_UPLOAD_BYTES": "10485760",
        "PAPERLESS_MCP_MAX_DOWNLOAD_BYTES": "524288",
        "PAPERLESS_MCP_LOG_LEVEL": "INFO",
        "PAPERLESS_MCP_STARTUP_TIMEOUT": "5"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-gardenbaum-mcp-server-paperless": {
      "command": "uvx",
      "args": [
        "mcp-server-paperless"
      ],
      "env": {
        "PAPERLESS_URL": "https://paperless.example.org",
        "PAPERLESS_TOKEN": "<YOUR_VALUE>",
        "PAPERLESS_PUBLIC_URL": "<VALUE>",
        "PAPERLESS_MCP_TOOLSETS": "core,ai",
        "PAPERLESS_MCP_READ_ONLY": "false",
        "PAPERLESS_MCP_DISABLED_TOOLS": "<VALUE>",
        "PAPERLESS_MCP_UPLOAD_DIRS": "<VALUE>",
        "PAPERLESS_MCP_MAX_UPLOAD_BYTES": "10485760",
        "PAPERLESS_MCP_MAX_DOWNLOAD_BYTES": "524288",
        "PAPERLESS_MCP_LOG_LEVEL": "INFO",
        "PAPERLESS_MCP_STARTUP_TIMEOUT": "5"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-gardenbaum-mcp-server-paperless": {
      "command": "uvx",
      "args": [
        "mcp-server-paperless"
      ],
      "env": {
        "PAPERLESS_URL": "https://paperless.example.org",
        "PAPERLESS_TOKEN": "<YOUR_VALUE>",
        "PAPERLESS_PUBLIC_URL": "<VALUE>",
        "PAPERLESS_MCP_TOOLSETS": "core,ai",
        "PAPERLESS_MCP_READ_ONLY": "false",
        "PAPERLESS_MCP_DISABLED_TOOLS": "<VALUE>",
        "PAPERLESS_MCP_UPLOAD_DIRS": "<VALUE>",
        "PAPERLESS_MCP_MAX_UPLOAD_BYTES": "10485760",
        "PAPERLESS_MCP_MAX_DOWNLOAD_BYTES": "524288",
        "PAPERLESS_MCP_LOG_LEVEL": "INFO",
        "PAPERLESS_MCP_STARTUP_TIMEOUT": "5"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
PAPERLESS_URL Yes Base URL of the Paperless instance (required)
PAPERLESS_TOKEN secret Yes Paperless API token (required)
PAPERLESS_PUBLIC_URL No Base URL for links shown to users, if it differs from PAPERLESS_URL
PAPERLESS_MCP_TOOLSETS No Toolsets to offer, comma-separated, or all Default: core,ai
PAPERLESS_MCP_READ_ONLY No Offer only tools that change nothing Default: false
PAPERLESS_MCP_DISABLED_TOOLS No Tools never offered, comma-separated
PAPERLESS_MCP_UPLOAD_DIRS No Absolute directories the upload tools may read files from by path (default: none)
PAPERLESS_MCP_MAX_UPLOAD_BYTES No Largest file the upload tools take, in bytes (at most 104857600) Default: 10485760
PAPERLESS_MCP_MAX_DOWNLOAD_BYTES No Largest file download_document attaches, in bytes (at most 33554432) Default: 524288
PAPERLESS_MCP_LOG_LEVEL No Log level: DEBUG, INFO (default), WARNING, ERROR or CRITICAL Default: INFO
PAPERLESS_MCP_STARTUP_TIMEOUT No Seconds the startup check may take Default: 5

Similar servers