MCP server · CLI · TypeScript SDK

The social media API for AI agents that can post, schedule, and report

One API for 15 platforms, with an official MCP server, a JSON-first CLI and a fully typed SDK. Build your own scheduler, vertical product or agent harness on top of bundle.social. Plans are priced by posts per month, and the service is hosted in the EU.

API key authJSON in, JSON out

~/your-agent
$ npx bundlesocial-cli posts:create \$   -c "We just shipped dark mode 🌙" -i x -i bluesky {  "id": "post_3sf9k2",  "status": "SCHEDULED",  "socialAccountTypes": ["TWITTER", "BLUESKY"],  "data": {    "TWITTER": { "text": "We just shipped dark mode 🌙" },    "BLUESKY": { "text": "We just shipped dark mode 🌙" }  }}$ 

Integration paths

How agents post through bundle.social

Pick the surface that fits your agent or product. All three are thin layers over the same REST API and TypeScript SDK.

MCP server

Claude Desktop · Claude Code · Cursor

Add the bundle.social MCP server to your AI client and it can list integrations, create and schedule posts, upload media and pull analytics - as first-class tools.

MCP setup docs
.mcp.json
{  "mcpServers": {    "bundlesocial": {      "command": "npx",      "args": ["-y", "bundlesocial-mcp"],      "env": { "BUNDLESOCIAL_API_KEY": "sk_live_..." }    }  }}# Then, in your AI client:# "Schedule a LinkedIn + X post for Monday 9am UTC announcing the launch."# → create_post / schedule_post tools run against bundle.social

Working example

First run: an AI social media agent schedules a launch post

A complete first session with the MCP server in Claude Code. The prompts are what you type; the tool names are what the agent calls.

  1. 01

    Create an API key and connect an account

    Create a key in the dashboard, then connect a social account with OAuth from the dashboard. An agent can also call connect_integration, which returns the OAuth URL to open.

    Get an API key
  2. 02

    Add the MCP server to Claude Code

    Run claude mcp add bundlesocial --env BUNDLESOCIAL_API_KEY=sk_live_... -- npx -y bundlesocial-mcp. If your organization has more than one team, also set BUNDLESOCIAL_TEAM_ID. Claude Desktop and Cursor take the same server block in their MCP config file.

  3. 03

    Ask: “Check my bundle.social setup and list my accounts.”

    The agent calls check_setup, which reports on the API key, connectivity, team selection, connected accounts and quotas. Then list_integrations returns each account's id, platform type and channel.

  4. 04

    Ask: “Upload https://cdn.example.com/launch.png and schedule a LinkedIn and Bluesky post for Monday 9am UTC announcing dark mode.”

    upload_media returns an upload id, and schedule_post creates one post for both platforms with a text variant for each. The post comes back with status SCHEDULED.

  5. 05

    Ask: “Did the launch post go out, and how is it doing?”

    get_post shows whether it reached POSTED or ERROR. retry_post re-attempts a failed post, and get_post_analytics returns its metrics. Analytics need a paid plan.

terminal
# The same run from a shell, a CI job or cron$ export BUNDLESOCIAL_API_KEY="sk_live_..."$ npx bundlesocial-cli doctor$ npx bundlesocial-cli integrations:list$ npx bundlesocial-cli posts:schedule -c "Dark mode is live" \    -i linkedin -i bluesky -m ./launch.png -d 2026-11-09T09:00:00Z$ npx bundlesocial-cli posts:get post_abc123$ npx bundlesocial-cli analytics:post post_abc123# stdout is one JSON value per command, so pipe it to jq.# Errors exit with code 1 and print { "error": { "code", "message" } }.

The post id comes from the posts:schedule output. Flags and every command are in the CLI reference, and the full tool list is in the MCP reference.

Guides and starter projects

Build an AI agent for social media with these guides

Tutorials, an n8n agent template and runnable CLI recipes to build on after the first run.

Product architecture

Build AI publishing workflows without rebuilding every platform

What a social media API for AI agents has to handle

A social media API for AI agents has to do more than accept generated copy. The agent needs to find connected accounts, upload media, create drafts, schedule posts, check status and read why a post failed. Without those calls it can write a campaign but cannot run the publishing around it.

bundle.social exposes that work through three surfaces on one account model. The MCP server fits Claude, Cursor and other MCP clients. The CLI fits shell-out agents, cron jobs and CI. The TypeScript SDK fits teams building their own agent harness or SaaS product. Accounts, posts, uploads, analytics and statuses are the same in all three, and the main social media API covers the same multi-platform posting for any backend.

One workflow from prototype to product

Agent stacks change shape. A prototype often starts as a CLI command, moves into an MCP client, then becomes a backend service that calls the SDK. All three sit on the same REST API, so account discovery, post creation, scheduling, uploads and error handling carry over at each step instead of being rebuilt.

Connected accounts and post IDs are shared across the surfaces. A post an agent created from the CLI can be fetched by your backend through the SDK or checked by a person, which makes automation easier to debug and to hand back to humans.

Platform rules stay explicit

Instagram Reels, TikTok videos, LinkedIn company pages, YouTube uploads, X posts, Google Business Profile updates and Bluesky posts do not share one payload. A post request carries a data block per platform, so the agent can write a variant for each network and set the fields that network needs, such as the TikTok privacy level or a YouTube Short type.

bundle.social handles the layer underneath: media processing, scheduled dates, lifecycle states, rate limits and readable errors. Your agent plans and drafts the content, and your team does not carry every native API as permanent roadmap work.

Keep a human in the loop

Agents should not publish every idea they generate. A common setup is hybrid: the agent drafts the content, prepares platform variants, checks which accounts are available and saves a draft or a scheduled post, and a person reviews it before it goes out. The MCP create_post tool and the CLI --draft flag both save drafts.

Approval screens, dashboards and agent memory stay inside your own product. The posting API covers direct post creation from your backend when you build that review step yourself.

Status tracking for agentic publishing

Without status, an agent may report a post as live when it failed on media format, permissions, account state, rate limits or platform validation. Every post carries a status, such as DRAFT, SCHEDULED, PROCESSING, POSTED, ERROR or RETRYING. The agent reads it with get_post or posts:get and can re-attempt a failed post with retry_post or posts:retry.

Errors from the MCP server and the CLI come back as JSON with a code and a message, so the agent can report the cause or fix the request. This matters most for posts with media, several platforms or a publish date in the future.

What agents build on bundle.social

Agents use bundle.social for product update automation, content repurposing, scheduling, campaign drafting, trend-based publishing, reporting assistants and internal marketing workflows. A typical example: the agent turns a changelog into several posts, schedules them across channels, checks their status and pulls performance data a few days later.

It fits products where social media is one feature among many and users still expect publishing automation. When reporting is part of the job, the social media analytics API returns post and account metrics for what the agent published.

Built on bundle.social

What you can build

bundle.social is infrastructure for builders. These are the kinds of products they ship on top of it.

Indie SaaSComing soon

Auto-posting product updates

A solo-founder SaaS sends changelog entries to bundle.social on release: one webhook, 15 platforms, no per-platform code.

GitHub release → worker → bundle.social SDK

Vertical schedulerComing soon

A scheduler for podcasters

A niche scheduler built on bundle.social. The app owns the audience and the UX, and bundle.social handles every social connection and publish.

Next.js app → bundle.social SDK + webhooks

Agent harnessComing soon

Trend-jacking content engine

An autonomous agent ranks trending topics, drafts posts and publishes the best ones through the bundle.social MCP server.

LLM agent → bundlesocial-mcp → bundle.social

Real case studies coming as builders ship. Want yours here? Tell us what you're building.

Why agent builders pick us

One API for 15 platforms

Facebook, Instagram, X (Twitter), TikTok, LinkedIn, Pinterest, Reddit, Discord, Slack, Mastodon, Threads, YouTube, Bluesky, Google Business Profile and Snapchat. No per-platform parser code.

TypeScript SDK with full type safety

Generated from the OpenAPI spec, so every request and response is typed. Build your own scheduler or agent harness on top of it.

Official MCP server and CLI

bundlesocial-mcp and bundlesocial-cli are first-party packages that cover the whole API. The CLI ships with a SKILL.md for OpenClaw-style agents.

Priced by posts per month

Each plan includes a monthly post allowance, and API calls are not metered. Pro includes 10,000 posts a month, which is $0.01 a post. X posts also carry X's own per-use charge, paid from a prepaid credit balance.

Hosted in the EU

Application servers and databases run in Germany, inside the European Economic Area. That matters if you or your customers care where social data is processed.

Built for production

We handle the platform edge cases, media processing and rate limits, return detailed errors you can act on, and run a public status page.

Supported platforms

  • FacebookFacebook
  • InstagramInstagram
  • XX (Twitter)
  • TikTokTikTok
  • LinkedInLinkedIn
  • PinterestPinterest
  • RedditReddit
  • DiscordDiscord
  • SlackSlack
  • MastodonMastodon
  • ThreadsThreads
  • YouTube
  • BlueskyBluesky
  • Google My BusinessGoogle Business Profile
  • SnapchatSnapchat

Pricing for agents

Do the math: $0.01 a post

You pay for posts created. At Pro ($100/month) you get 10,000 posts, which is $0.01 each. At Business ($400/month) you get 100,000 posts, or $0.004 each. Free covers a side project and Enterprise is custom. X posts also draw X's per-use charge ($0.015 a post) from a prepaid credit balance.

Weekend prototype

Up to 20 posts / month

Free

Free covers 20 posts a month, enough to wire things up and demo the agent.

Indie scheduler · 50 users × ~100 posts

~5,000 posts / month

Pro · $100/month

10,000 posts included, so there is room to grow.

Agent harness pushing content at scale

~30,000 posts / month

Business · $400/month

100,000 posts included, $0.004 a post at full use.

See full pricing

How we stack up for programmatic posting

bundle.social compared with Postiz, Ayrshare and Upload-Post for programmatic posting
Capabilitybundle.socialPostizAyrshareUpload-Post
Official MCP serverYesYes (postiz-agent)NoNo
Official CLIYes (+ OpenClaw skill)Yes (skill)NoNo
Typed SDKTypeScript, generated from OpenAPIThin clientJS / Python / PHPBasic
Platforms15~15~13Fewer
Pricing modelPlans by monthly postsSubscription tiersSubscription + add-onsSubscription
Open sourceNo (managed service)YesNoNo
EU-hostedYesSelf-host optionUSUS

Comparison compiled July 2026. Competitor capabilities change, so check their docs for the latest. Want a side-by-side? bundle.social vs Postiz. See also the unified social media API and the social media API for SaaS. For the execution and reporting layers behind agent workflows, see the posting API and the social media analytics API. Data hosting is described on the trust page.

Packages and reference

Questions builders ask

What is the MCP server for?

It exposes the whole bundle.social API as Model Context Protocol tools, so AI clients like Claude Desktop, Claude Code and Cursor can post, schedule, upload media, manage accounts and read analytics. It runs as a local stdio server: add npx -y bundlesocial-mcp to your client config with BUNDLESOCIAL_API_KEY set.

Which tools does an agent call on its first run?

Usually check_setup to confirm the API key, team and quotas, then list_integrations to see the connected accounts. After that, upload_media for images or video, create_post or schedule_post to publish, and get_post to read the status.

Can I build an AI social media agent in n8n?

Yes. On self-hosted n8n, set N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true, install the n8n-nodes-bundlesocial node, and attach it to an AI Agent node as a tool. You pick which operations the agent may call, such as Post > Create. On n8n Cloud the node becomes available once n8n verifies it.

How do AI agents use the CLI?

bundlesocial-cli prints one JSON value per command to stdout and status text to stderr, so an agent can parse the output directly. It ships with a SKILL.md that OpenClaw-style runtimes discover: npx skills add bundleglobal/bundlesocial-cli.

Do I have to use the CLI or MCP server?

No. Both are thin wrappers over the bundlesocial TypeScript SDK and the REST API. Many builders use the SDK directly to build their own scheduler, vertical product or agent harness.

Can a person review posts before the agent publishes them?

Yes. The agent can save a post as a draft with create_post or the CLI --draft flag, and nothing goes out until the post is scheduled or published. The approval screen itself lives in your product.

How is pricing calculated for agents?

By posts created per month. Free includes 20 posts, Pro ($100/month) includes 10,000 posts ($0.01 a post), Business ($400/month) includes 100,000, and Enterprise is custom. X charges per use for its API, so X posts are also billed from a prepaid credit balance at X's prices: $0.015 a post, or $0.20 for a post with a link.

Which platforms are supported?

Facebook, Instagram, X (Twitter), TikTok, LinkedIn, Pinterest, Reddit, Discord, Slack, Mastodon, Threads, YouTube, Bluesky, Google Business Profile and Snapchat, through one API with per-platform options.

Where is data hosted?

Application servers and databases are self-hosted in Germany, in the European Economic Area. Files and database backups are held in Cloudflare object storage. The trust page has the details.

Ship your agent's social layer this afternoon

Grab an API key, add the MCP server or CLI, connect an account, and post. 15 platforms, one API, plans priced by posts per month.