Claude Code has first-class MCP support: you can register Paperclip MCP in seconds with a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/bruhsb/paperclip-mcp/llms.txt
Use this file to discover all available pages before exploring further.
claude mcp add command, or drop a JSON block directly into settings.json if you prefer manual control. Both approaches result in the same 104 tools being available to every Claude Code session that picks up the config — whether you scope it to a single project or set it globally for your user.
Environment variables
All six variables are read at server startup. The four marked Yes are required — the server exits immediately if any are missing.| Variable | Required | Description |
|---|---|---|
PAPERCLIP_API_KEY | Yes | Bearer token for API authentication |
PAPERCLIP_API_URL | Yes | Base URL of the Paperclip API, e.g. http://127.0.0.1:3100 |
PAPERCLIP_AGENT_ID | Yes | UUID of the agent running this MCP server |
PAPERCLIP_COMPANY_ID | Yes | UUID of the company (used for company-scoped endpoints) |
PAPERCLIP_RUN_ID | No | Heartbeat run ID — injected automatically by Paperclip during agent runs |
PAPERCLIP_REQUEST_TIMEOUT_MS | No | HTTP request timeout in milliseconds (default: 30000) |
Option A — CLI (claude mcp add)
The fastest path. Run one command and Claude Code writes the config entry for you.
Run the add command for your preferred variant
- npm (recommended)
- Docker / Podman
No container runtime needed. Requires Node.js ≥ 22 on the host.
Option B — settings.json
Manually edit the settings file to add or update thepaperclip entry under mcpServers. Create the file if it does not exist.
Config file scope
| Scope | Path |
|---|---|
| Global (all projects) | ~/.claude/settings.json |
| Project (version-controlled) | .claude/settings.json in your project root |
Config blocks
- npm (recommended)
- Docker / Podman
For Paperclip-orchestrated heartbeat runs,
PAPERCLIP_RUN_ID is injected automatically into the process environment — you do not need to add it to settings.json.Verification
Restart Claude Code or reload MCP servers
Run
/mcp inside a Claude Code session to reload all configured servers without a full restart.See also
- Troubleshooting — server not connecting, auth errors, network issues
- Auth keys — how to obtain and rotate your
PAPERCLIP_API_KEY - Docker / Podman guide — building and running the container image locally