Connect your AI coding agent or autonomous workflow directly to the MuxPost social media posting API over Streamable HTTP MCP (2025-03-26). Instead of cloning an AGPL-3.0 monorepo or babysitting local stdio processes, Playwright sessions, and Redis workers, every client authenticates once against a hosted HTTPS endpoint and invokes typed social publishing tools out of the box.

Live Endpoint and Authentication

  • Streamable HTTP MCP URL: https://muxpost.com/api/mcp
  • Agent Skill Spec: https://muxpost.com/skill.md
  • Authentication: Authorization: Bearer mp_live_YOUR_API_KEY

Public discovery and lint tools (list_platforms and validate_post) work without an API key so agents can inspect network limits before asking a user to connect accounts. Account lookup, scheduling, and live publishing require an mp_live_ token created in your MuxPost workspace; see transparent pricing plans starting from the free $0 Sandbox.

Client Setup Snippets

Claude Code CLI

claude mcp add --transport http muxpost \
  https://muxpost.com/api/mcp \
  --header "Authorization: Bearer mp_live_YOUR_API_KEY"

Claude Desktop, Cursor, and Windsurf

Add the server definition to claude_desktop_config.json, .cursor/mcp.json, or ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "muxpost": {
      "type": "streamable-http",
      "url": "https://muxpost.com/api/mcp",
      "headers": {
        "Authorization": "Bearer mp_live_YOUR_API_KEY"
      }
    }
  }
}

For Windsurf configs that expect serverUrl instead of url, keep the same endpoint and Authorization header. For n8n's MCP Client node or OpenClaw adapters, choose Streamable HTTP transport and pass the same Bearer token.

Six MCP Tools Built for AI Agents

Tool Name Auth Required Purpose
list_platforms Public Returns all 12 networks, live OAuth/BYOK readiness, character caps, and media constraints.
validate_post Public Runs zero-cost pre-flight checks: X 23-char t.co URL weight, YouTube video & title rules, and X $0.20 link-tax alerts.
list_accounts mp_live_ Key Lists connected sandbox, Bluesky ATProto, or OAuth profiles and returns exact accountIds.
publish_post mp_live_ Key Validates and dispatches across one or many connected profiles with idempotencyKey retry protection.
schedule_post mp_live_ Key Queues a multi-platform release for a future ISO 8601 UTC timestamp.
get_post_status mp_live_ Key Returns per-platform state (published, partial, queued, failed) plus live external post URLs.

Built-In Guardrails Against Agent Failures

  • Idempotency Keys: Reasoning models frequently retry timed-out tool calls. Passing idempotencyKey ensures duplicate retries resolve to the original job instead of double-posting to client accounts.
  • Pre-Flight X Link-Tax Detection: When an agent drafts an X post containing an external URL, validate_post flags the ~$0.20 link surcharge compared to ~$0.015 plain-text posts and recommends keeping links in a follow-up reply or attaching a BYOK X token.
  • Channel-Specific Rules: Agents automatically inspect container and ratio requirements before shipping—pair MCP with our dedicated Instagram posting API and LinkedIn posting API guides when tuning vertical Reels or company page permissions.

If you prefer calling HTTP endpoints or TypeScript/Python code directly outside an agent session, switch seamlessly to our REST API v1 documentation. Teams migrating off self-hosted stacks can also compare licensing and infrastructure overhead on our Postiz alternative, Ayrshare alternative, and Post Bridge alternative guides, or reach engineering support on our contact page.

Frequently Asked Questions

Do I need to run Docker or a local Node process for MuxPost MCP?

No. MuxPost hosts the Streamable HTTP MCP server at /api/mcp on Cloudflare Workers, so Claude Code, Cursor, Claude Desktop, and n8n connect directly over HTTPS without local Docker, Redis, or Python wrappers.

Can I test MCP tool discovery without an API key?

Yes. Public tools list_platforms and validate_post respond without a token, while list_accounts, publish_post, schedule_post, and get_post_status require an mp_live_ API key.

How does MuxPost prevent AI agents from double-posting on retries?

Every publish_post and schedule_post call accepts an idempotencyKey so automatic retries from Claude, Cursor, or OpenClaw return the existing dispatch record without creating duplicate posts.

Are all 12 social networks available through the Hosted MCP tools?

Yes. All 12 supported networks—X, LinkedIn, Bluesky, YouTube, TikTok, Instagram, Threads, Pinterest, Reddit, Facebook Pages, Mastodon, and Telegram—are exposed identically through REST v1 and Hosted MCP.

Ready to test your workflow in 60 seconds?

Try the free browser validator, spin up 12-platform Sandbox channels, or wire Claude and Cursor to Hosted MCP.

Run Pre-Flight Validator