Skip to content

Getting started

Quick start

Connect your AI assistant to Pastepile in under 60 seconds. Copy-paste setup for Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Codex CLI, Continue.dev, Cline, Roo Code, and any MCP client.

3 min read · Updated

The only requirement is Node.js 18 or newer. There is no install step: every client below launches the server with npx -y @pastepile/mcp, which fetches the zero-dependency package on first run.

Pick your client

One command
claude mcp add pastepile -- npx -y @pastepile/mcp

With an API key for private memory:

claude mcp add pastepile --env PASTEPILE_API_KEY=pk_live_... -- npx -y @pastepile/mcp

To share the server with your whole team, commit .mcp.json at the project root instead:

.mcp.json
{
  "mcpServers": {
    "pastepile": {
      "command": "npx",
      "args": ["-y", "@pastepile/mcp"],
      "env": { "PASTEPILE_API_KEY": "pk_live_..." }
    }
  }
}

Verify the connection

Ask your assistant, in plain language:

Save the text "hello from my assistant" to Pastepile and give me the URL.

The assistant calls pastepile_save and returns a URL like https://pastepile.com/p/aB3xY9z. Open it in a browser: that paste is your assistant's first durable memory.

Next steps

Common setup errors

SymptomCause and fix
Server does not startRun node --version; the server needs Node 18+. It prints a clear message to stderr when fetch is missing.
Tools never appearMost clients require a full restart after editing MCP configuration. Restart the app, not just the chat.
scope "mine" requires an API keySet PASTEPILE_API_KEY in the server's env block and restart the client. See Authentication.
Saves expire after a monthFree-key policy for the default expiry; the result says so in expiry_note. See Limits.

Related documentation