Skip to content

Developer Docs

Connect your AI assistant directly to your knowledge.

The Pastepile MCP server lets Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, and any Model Context Protocol client save, search, and reload knowledge on Pastepile. Durable memory for assistants, one command to install.

Connect in under 60 seconds

Claude Code
claude mcp add pastepile -- npx -y @pastepile/mcp

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

Durable memory

Assistants save knowledge as URL-addressable pastes and reload it in any later session, on any machine.

Private by default

Unlisted saves, per-key isolation, and a server-enforced rule that encrypted content can never reach a model.

Zero dependencies

Pure Node 18+, no build step, auditable in one sitting. Nothing added to your supply chain.

Works everywhere

JSON-RPC 2.0 over stdio: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Codex CLI, and more.

Getting started

Core concepts

Tools

Reference

Guides