Model Context Protocol server for Paperless-ngx 3.x — full REST API coverage, schema-aware, token-frugal.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add paperless-ngx-tobee89 --env PAPERLESS_URL='<PAPERLESS_URL>' --env PAPERLESS_TOKEN='<PAPERLESS_TOKEN>' -- npx -y mcp-paperless-ngx~/.codex/config.toml
[mcp_servers.paperless-ngx-tobee89]
command = "npx"
args = ["-y", "mcp-paperless-ngx"]
env = { PAPERLESS_URL = "<PAPERLESS_URL>", PAPERLESS_TOKEN = "<PAPERLESS_TOKEN>" }
# codex mcp add paperless-ngx-tobee89 --env PAPERLESS_URL='<PAPERLESS_URL>' --env PAPERLESS_TOKEN='<PAPERLESS_TOKEN>' -- npx -y mcp-paperless-ngx~/.cursor/mcp.json
{
"mcpServers": {
"paperless-ngx-tobee89": {
"command": "npx",
"args": [
"-y",
"mcp-paperless-ngx"
],
"env": {
"PAPERLESS_URL": "<PAPERLESS_URL>",
"PAPERLESS_TOKEN": "<PAPERLESS_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"paperless-ngx-tobee89": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-paperless-ngx"
],
"env": {
"PAPERLESS_URL": "<PAPERLESS_URL>",
"PAPERLESS_TOKEN": "<PAPERLESS_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"paperless-ngx-tobee89": {
"command": "npx",
"args": [
"-y",
"mcp-paperless-ngx"
],
"env": {
"PAPERLESS_URL": "<PAPERLESS_URL>",
"PAPERLESS_TOKEN": "<PAPERLESS_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"paperless-ngx-tobee89": {
"command": "npx",
"args": [
"-y",
"mcp-paperless-ngx"
],
"env": {
"PAPERLESS_URL": "<PAPERLESS_URL>",
"PAPERLESS_TOKEN": "<PAPERLESS_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"paperless-ngx-tobee89": {
"command": "npx",
"args": [
"-y",
"mcp-paperless-ngx"
],
"env": {
"PAPERLESS_URL": "<PAPERLESS_URL>",
"PAPERLESS_TOKEN": "<PAPERLESS_TOKEN>"
}
}
}
}需要的环境变量
PAPERLESS_URLPAPERLESS_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。