SOCIAL MEDIA API · MCP

Publish from your code — or your AI agent

One REST API for your automations and an MCP server for agents like Claude. Draft, schedule and publish to 15+ channels from one place.

And if a post fails, the agent sees it and re-sends it.
or watch it run
7-day free trial No credit card Cancel anytime
POST https://api.onlypult.com/v1/posts
Authorization: Bearer op_…

{ "profile_ids": ["1234", "5678"],
  "content": "Launch day is here.",
  "media_urls": ["https://cdn…/asset.png"],
  // is_draft: true - nothing goes live
  "is_draft": true }
$ claude mcp add onlypult https://mcp.onlypult.com/mcp

"Turn this article into posts for Telegram and LinkedIn, attach the image, save as drafts."

 account_get   profiles_list   posts_create
DRAFT 1 call → 3 drafts across 2 platforms
Not per-profile

Your bill doesn't scale with your customers' reach. Pay for a plan, not per connected account.

Included on every plan

No separate developer tier. API and MCP work on the free trial — no card required.

Explicit draft mode

The agent gets hands, not the publish button. Pass is_draft: true and nothing goes live until you say so.

Works with your stack

Claude
Claude Cowork
Claude Code
Cursor
n8n
Make
Zapier
Official platform integrations

Your clients connect via OAuth — no shared passwords, and no Meta app for you to build.

Two paths. One product.

Same data — accounts, media, posts, schedule. The only choice is who drives publishing.

FOR DEVELOPERS

REST with a Bearer key. Drops into your product, backend, or an n8n / Make / Zapier flow.

Predictable flow
Bearer op_ key
JSON data envelope
Retryable error codes
Open the docs
FOR AI AGENTS

The same capability for Claude and other agents. They call Onlypult by the meaning of the task. No code.

Conversational assembly
Explicit draft mode
Granular tool permissions
Repair failed posts
Connect the connector
One data layer: profiles · media · posts · schedule

Publishing isn't enough. It has to be reliable.

Context
account_get / profiles_list

The agent knows the account timezone and plan limits before it schedules a post — not after a failed one.

Action
posts_create

To 15+ channels as one post group. Draft, schedule, or publish.

Control
is_draft / MCP tool permissions

Pass is_draft: true and set granular MCP tool permissions. Hands yes; an unsupervised publish button, no.

Repair
posts_list_failed / posts_retry_all_failed

The agent lists what failed overnight and fixes it in one call.

We ran it. Here's the sequence.

An image generated in an AI generator went to three profiles across two platforms in one call. The file never touched a disk. Nothing was published.

1 account_get
timezone, plan
2 profiles_list
58 profiles
3 [image generation]
public URL
4 posts_create
media_urls, is_draft
New post DRAFT
Launch-day social post - AI-generated visual AI-generated

Launch day is here.

3 drafts · media re-hosted on Onlypult CDN · nothing published

Image is an AI-generated asset — not a real photo.

The image goes in by URL. No Claude Code.

When the agent runs in the cloud, the MCP server can't see your disk — so people leave the chat for Claude Code just to move one image. Onlypult takes up to 10 public URLs in media_urls, and generators return exactly that. The asset goes generator → link → Onlypult, never touching your disk.

Usually
generator
download
switch to Claude Code
upload
publish
4 steps, tool switch
With Onlypult
generator
media_urls
draft
1 step, same chat

Turn on agentic publishing gradually, and under control.

Draft-first

Pass is_draft: true and the post is saved, not scheduled or published — nothing goes live until you explicitly ask for it.

Granular MCP permissions

Reads and drafts on "Always allow", publish and delete on "Needs approval" — set per tool in Claude, Cursor or ChatGPT.

OAuth, not shared passwords

Claude.ai and ChatGPT connect via OAuth 2.1 — your client signs in once, you never see or store a password.

The whole post lifecycle — not just "create".

What you need
API
MCP
Authenticate
Bearer op_ key
op_ key, or OAuth 2.1 for Claude.ai/ChatGPT
List connected profiles
GET /profiles
profiles_list
List supported platforms
GET /profiles/platforms
profiles_platforms_list
Media by URL
media_urls in POST /posts
media_urls in posts_create
Media by file upload
POST /media/upload-url + /media/upload
media_upload_file (local stdio) or media_get_upload_url
Draft, schedule, or publish
POST /posts
posts_create (is_draft / publish_now / scheduled_at)
Repair failed
POST /posts/retry-all-failed
posts_list_failed / posts_retry_all_failed

15+ channels from one integration

One integration layer for every channel your client publishes to.

Instagram
Facebook
LinkedIn
TikTok
YouTube
Pinterest
Threads
X
Telegram
WordPress
Medium
Google Business

Start in five minutes

1 Get your API key in Settings → API Keys.
2 Call GET /profiles to find profile IDs.
3 Call POST /posts with is_draft, publish_now, or scheduled_at.
1 Customize → Connectors → custom connector → server URL.
2 Authorize.
3 Set tool permissions: reads & drafts → "Always allow", publish → "Needs approval". Check: "show my connected profiles".
base URL
https://api.onlypult.com/v1
connector URL
https://mcp.onlypult.com/mcp

Two rookie mistakes — skipping tool permissions (the agent asks before every call) and not checking account_get for plan and timezone before scheduling. Both take a minute to fix.

The honest test: does it close the loop — safely?

Not "can the agent publish", but "can it do it safely, to the right place". Accurate as of the publish date.

Onlypult
Blotato
Ayrshare
Self-host
API + MCP
Full lifecycle
partial
Draft mode
Granular tool permissions
guardrails
Repair failed posts
On any plan & trial
MCP paid
free-tier
self-host
Deploy
none
none
none
server needed

API and MCP on every plan. No access fee.

No developer-tier surcharge, no per-connected-profile fee, no trial cut short when you create a key. Programmatic access is included everywhere — from the trial to the top plans.

Not per-account

Your bill doesn't grow with each connected profile.

No separate developer tier

Included in the plan you already have.

Works on the trial

7 days free, no card — API and MCP included.

See pricing

Questions, answered

General
What's the difference between the API and MCP?

The API is REST you call from your own code or an automation flow. MCP is the same capability exposed to AI agents like Claude, which call it by the meaning of the task — no code. Same data layer underneath; you pick who drives publishing.

Can I post to Instagram & LinkedIn programmatically?

Yes. Both are among the 15+ channels reachable from a single call — as a draft, on a schedule, or published — through the API or an agent via MCP.

Do I need Claude Code to attach an image?

No. Onlypult accepts up to 10 public URLs in media_urls and re-hosts the file itself, so a cloud agent never needs disk access. Generator → link → Onlypult. Want to attach a file straight from disk instead? Run the local MCP package (npx -y @onlypult/mcp@latest) — it adds a media_upload_file tool that uploads local paths directly, in Cursor, Claude Desktop or any stdio-capable client.

Will the agent publish without my confirmation?

Only if you let it. Reads and drafts can be "Always allow" while publish and delete stay on "Needs approval" — set per tool in your MCP client (Claude, Cursor, ChatGPT).

What happens if a post fails?

The agent lists it with posts_list_failed and can re-send it with posts_retry_all_failed in one call. Repair is part of the loop, not a manual chore.

Which plans include API and MCP?

Every plan, including the free trial — with no separate developer tier and no per-profile fee.

How do I connect in Claude and ChatGPT?

Add a custom connector pointing at the MCP server URL, then authorize. It works the same way in both.

For engineers
What are the rate limits?

Rate limits are published in the API reference. We don't quote a number here that could drift out of date — see the docs for the current per-endpoint limits.

How is the API versioned?

The API is versioned (v1) with backward compatibility within a major version, so your integration keeps working as we ship.

Onlypult has been around — will you shut the API down?

Onlypult has been on the market for years with a public roadmap. The API and MCP are part of the product, not a side experiment.

Connect publishing to your code or to Claude

On every plan · 7-day free trial · no card required

Experimente grátis