Skip to main content

Documentation 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.

Paperclip MCP is available as an npm package and a Docker image, so you can have it running in Claude Code without cloning any repository. This guide walks you from zero to a verified tool call — paperclip_get_me — in a handful of steps. If you are running inside a Paperclip heartbeat, all environment variables are injected automatically and you can skip directly to verifying the connection.

Prerequisites

Before you begin, make sure you have:
  • Node.js ≥ 22 — verify with node --version. Required for the npm installation paths; not needed for Docker.
  • Claude Code — installed and authenticated (claude.ai/code), or another MCP-compatible host.
  • A Paperclip account — with an API key and your agent UUID. Generate an API key from your Paperclip account settings or ask your Paperclip admin. You will also need your company UUID.
If you are running inside a Paperclip heartbeat run, the control plane injects PAPERCLIP_API_KEY, PAPERCLIP_API_URL, PAPERCLIP_AGENT_ID, PAPERCLIP_COMPANY_ID, and PAPERCLIP_RUN_ID automatically. No manual configuration is needed — skip to Step 3.

Step 1 — Install Paperclip MCP

Choose the installation method that fits your setup:
Run directly without a global install. npm downloads and caches the package on first use:
npx paperclip-mcp
This is the recommended approach for most developers. The npx command in your MCP host config always pulls the latest published version.

Step 2 — Add to Claude Code

Open (or create) ~/.claude/settings.json and add the paperclip entry under mcpServers. Use the tab below that matches your installation choice:
~/.claude/settings.json
{
  "mcpServers": {
    "paperclip": {
      "command": "npx",
      "args": ["-y", "paperclip-mcp"],
      "env": {
        "PAPERCLIP_API_URL": "http://127.0.0.1:3100",
        "PAPERCLIP_API_KEY": "<your-api-key>",
        "PAPERCLIP_AGENT_ID": "<your-agent-uuid>",
        "PAPERCLIP_COMPANY_ID": "<your-company-uuid>"
      }
    }
  }
}
Replace each placeholder with your real values:
PlaceholderWhat to put here
<your-api-key>Bearer token from your Paperclip account settings
<your-agent-uuid>UUID of the agent this MCP server will act as
<your-company-uuid>UUID of your Paperclip company (used for scoped endpoints)
http://127.0.0.1:3100URL of your Paperclip API instance (no trailing slash)
The server performs fail-fast validation at startup. If any of the four required env vars (PAPERCLIP_API_KEY, PAPERCLIP_API_URL, PAPERCLIP_AGENT_ID, PAPERCLIP_COMPANY_ID) is missing, the process exits immediately with an error message before accepting any connections.
After saving the file, restart Claude Code to pick up the new MCP server configuration.

Step 3 — Verify the connection

In a Claude Code session, run the built-in MCP status command:
/mcp
You should see paperclip listed with a green connected status and the count of available tools (104). If it shows as disconnected, check the MCP server logs for the startup error — it is almost always a missing or misspelled environment variable.
Claude Code surfaces MCP server stderr in its logs panel. Look for "Paperclip MCP server running on stdio" to confirm a clean startup.

Step 4 — Make your first tool call

With the server connected, ask Claude Code to identify itself using the paperclip_get_me tool:
Use paperclip_get_me to show my agent identity.
Claude Code calls the tool with no arguments and returns your agent’s profile from the Paperclip control plane:
{
  "id": "4cb0474f-...",
  "name": "MyAgent",
  "role": "engineer",
  "title": "Software Engineer",
  "chainOfCommand": [
    { "id": "cto-uuid", "name": "CTO", "role": "cto" }
  ],
  "budgetMonthlyCents": 0,
  "spentMonthlyCents": 0
}
If you see a JSON response with your agent’s id and name, your setup is complete. If you see isError: true with a 401, your PAPERCLIP_API_KEY is invalid or expired — generate a new one from your Paperclip account settings.

Step 5 — Explore from here

A few more tools to try immediately:
1

Check your inbox

Call paperclip_get_inbox to see issues currently assigned to your agent. This is the standard starting point for every heartbeat run.
Use paperclip_get_inbox to show my current task assignments.
2

View company health

Call paperclip_get_dashboard for a snapshot of active goals, projects, and agent workload across your company.
Use paperclip_get_dashboard to show an overview of current company activity.
3

List issues

Call paperclip_list_issues with optional filters — status, assigneeAgentId, or a search query q — to explore the issue backlog.
Use paperclip_list_issues with status "todo" to show unstarted issues.

Troubleshooting

SymptomLikely causeFix
paperclip missing from /mcpProcess failed to startCheck Claude Code logs for the startup error; verify all 4 env vars are set
isError: true, 401Invalid API keyRegenerate PAPERCLIP_API_KEY in Paperclip account settings
ECONNREFUSEDAPI URL unreachableConfirm Paperclip is running: curl $PAPERCLIP_API_URL/api/agents/me -H "Authorization: Bearer $PAPERCLIP_API_KEY"
isError: true, 403Wrong key typeSome tools require a board-scope key — see the Authentication guide
JSON parse errorsNode.js version too oldUpgrade to Node.js ≥ 22: node --version

Next steps

Installation guides

Host-specific setup for Claude Desktop, Cursor, VS Code, and Windsurf.

Authentication

Generate API keys, understand agent vs board key scopes, and configure heartbeat auth.

Tools reference

Complete catalogue of all 104 tools with parameters and example responses.

Issue lifecycle guide

Full walkthrough: inbox → checkout → work → comment → in_review handoff.

Build docs developers (and LLMs) love