Build on PurrPlan.
A REST API and a native MCP server to schedule, publish and drive your 12 networks from your code, your AI agent (Claude, Cursor…) or your terminal.
One token, two surfaces.
The same bearer token opens the REST API and the MCP server. Create it in 30 seconds from your account, with the scopes you choose.
- 1. Open app.purrplan.ai/app/mcp-integration
- 2. Create a token: name, expiration (30/90/365 days or never), and the scopes you want.
- 3. Copy the token (shown only once) and pass it as a header.
OAuth-compatible MCP clients can also register a client dynamically (DCR + PKCE) on /app/oauth.
Create and schedule over HTTP.
Base https://app.purrplan.ai/app/api. The {workspace} is the uuid of your workspace.
| Method | Endpoint | Role |
|---|---|---|
| GET | /me | Current user |
| GET | /workspaces | Your workspaces |
| GET | /{workspace}/accounts | Connected social accounts |
| GET | /{workspace}/posts | List posts (paginated) |
| POST | /{workspace}/posts | Create a post (draft, scheduled, queued or immediate) |
| POST | /{workspace}/posts/schedule/{post} | Schedule an existing post |
| POST | /{workspace}/posts/add-to-queue/{post} | Add to the next open slot |
| GET | /{workspace}/media | Media library |
| POST | /{workspace}/media | Upload media |
| POST | /{workspace}/ai/text/generate | Generate text with AI |
Example — create & schedule a post
account_id: 0 = "original" version applied to all. Replace schedule with queue: true (next open slot) or schedule_now: true (immediate publishing). Without a date or flag → draft.
Plug in your AI agent.
Native MCP server (Model Context Protocol, spec 2025-06-18, JSON-RPC 2.0 over HTTP + SSE). Connect Claude Desktop, Cursor or any MCP client and let your AI plan for you — with permissions you control.
stdio-only client? Use a bridge like mcp-remote.
Grant exactly what's needed.
Default rate limits.
Exceeded → 429.
Ready to build?
Create your token and wire up your first call in minutes. From €9/month, 7-day trial.