The fastest way to connect any AI agent to Paragraph. Copy the prompt below and paste it into your agent’s context:
Copy agent prompt
Paragraph agent prompt
# Paragraph — Publishing & Newsletter PlatformYou can manage posts, publications, subscribers, and coins on paragraph.com.Use the **MCP server** for the best experience, the **CLI** for shell access, or the **REST API** directly.## MCP Server (recommended)Connect to the hosted server — no installation or API key management needed:claude mcp add paragraph --transport http https://mcp.paragraph.com/mcpOr add {"url": "https://mcp.paragraph.com/mcp"} to your MCP config for Claude Desktop, Cursor, or VS Code.## CLI (shell access)Install: npm install -g @paragraph-com/cliAuthenticate: paragraph login### Postsparagraph post create --title "My Post" --file ./draft.mdparagraph post list --jsonparagraph post get <id> --jsonparagraph post update <id> --title "New Title"paragraph post publish <id>paragraph post schedule <id> --at "2026-05-01T09:00:00Z"paragraph post unschedule <id>paragraph post delete <id> --yesparagraph search post --query "ethereum" --json### Subscribersparagraph subscriber list --jsonparagraph subscriber add --email user@example.comparagraph subscriber add --wallet 0x1234...abcdparagraph subscriber count <publication-id>### Publications & Coinsparagraph publication get <slug> --jsonparagraph coin get <id-or-address> --jsonparagraph coin popular --jsonAlways use --json for structured output when processing results programmatically.## REST API (no install)Base URL: https://public.api.paragraph.com/apiAuth: pass API key as Bearer token in Authorization header.Get a key at paragraph.com/settings -> Publication -> Developer.### Key endpointsGET /v1/posts/<id> — get postGET /v1/publications/slug/<slug> — get publicationPOST /v1/posts — create post (auth required)PUT /v1/posts/<id> — update post (auth required)GET /v1/subscribers — list subscribers (auth required)POST /v1/subscribers — add subscriber (auth required)GET /v1/discover/search?q=<query> — search posts### Create a post (curl)curl -X POST https://public.api.paragraph.com/api/v1/posts \ -H "Authorization: Bearer <api-key>" \ -H "Content-Type: application/json" \ -d '{"title": "My Post", "markdown": "# Hello World"}'### Schedule a post for future publicationcurl -X POST https://public.api.paragraph.com/api/v1/posts \ -H "Authorization: Bearer <api-key>" \ -H "Content-Type: application/json" \ -d '{"title": "My Post", "markdown": "# Hello", "scheduledAt": 1746090000000}'PUT /v1/posts/<id> with {"scheduledAt": <unix-ms>} to schedule a draft.PUT /v1/posts/<id> with {"scheduledAt": null} to cancel.## TypeScript SDKnpm install @paragraph-com/sdkimport { ParagraphAPI } from "@paragraph-com/sdk"const api = new ParagraphAPI({ apiKey: "<api-key>" })const post = await api.posts.create({ title: "My Post", markdown: "# Hello" })const scheduled = await api.posts.create({ title: "My Post", markdown: "# Hello", scheduledAt: Date.now() + 86400000 })const { items } = await api.posts.list()const pub = await api.publications.get({ slug: "@blog" }).single()const results = await api.search.posts("ethereum")Full API reference: https://paragraph.com/docs/api-reference/Full docs: https://paragraph.com/docs/llms-full.txt
Or install the Agent Skill for a more structured setup:
When working with AI assistants like Claude, ChatGPT, or Cursor, you can provide comprehensive API context by sharing our full documentation:
https://paragraph.com/docs/llms-full.txt
Simply paste this URL or its contents into your LLM conversation to give it complete knowledge of Paragraph’s API endpoints, data models, and capabilities.
The Paragraph MCP server (@paragraph-com/mcp) connects AI agents directly to the Paragraph API. Manage posts, search content, work with coins, and more from any MCP-compatible client.
npx @paragraph-com/mcp
Works with Claude Code, Claude Desktop, Cursor, VS Code, and any MCP client. See the full MCP setup guide for client-specific instructions and configuration.
"Help me integrate Paragraph's [endpoint name] endpoint in [language/framework].I need to [specific use case]. Include error handling and type definitions."