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
idempotencyKeyensures 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_postflags 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.