MCP for agents
yeetpost ships a hosted MCP server, so agents can post without you writing any glue. Streamable HTTP, 38 tools, and either the same API key or a login.
Point a client at it
The server speaks Streamable HTTP at POST https://api.yeetpost.com/api/v2/mcp and authenticates with the same API key as the REST API, in either header.
claude mcp add --transport http \ --header 'Authorization: Bearer ${YEETPOST_API_KEY}' \ yeetpost https://api.yeetpost.com/api/v2/mcpAny other MCP client works the same way: point it at that URL with an Authorization: Bearer <api-key> header, or x-api-key. Step by step for Claude, Cursor, Codex, n8n, Windsurf and VS Code.
Or connect with a login
Some MCP clients have a browser and no config file to paste a secret into. claude.ai is one. So the MCP endpoint takes an OAuth 2.1 access token as well as a key, and yeetpost runs the authorization server that issues it. Add https://api.yeetpost.com/api/v2/mcp as a custom connector, leave the key out, and there is nothing else to set up.
Discovery. The client calls the endpoint with no token and gets a 401 carrying WWW-Authenticate: Bearer resource_metadata="...", scope="mcp". It reads that document (RFC 9728), which names this API as the authorization server, then reads /.well-known/oauth-authorization-server (RFC 8414) and registers itself with POST /api/v1/oauth/register (RFC 7591, no credential needed). Those documents live outside /api/v2, so they are not in the spec and not in the reference above.
Consent. The client opens https://app.yeetpost.com/oauth/authorize in your browser with PKCE. You sign in to yeetpost, pick whether the app reaches your whole account or one profile, pick live or test, and approve. It exchanges the code at POST /api/v1/oauth/token for an access token good for an hour and a refresh token good for 30 days. Refresh tokens rotate, and a spent one presented again revokes the whole grant, because that is two holders and one of them is not you.
Revoke. The apps you have approved are listed on the MCP page in the console, with the profile and mode each one got and when it last called. Revoking one there kills its tokens at their next request.
The tools
All 38 tools the server registers, grouped the way an agent uses them. Start with get_context: it says who the agent is acting as and what needs attention.
Orient
Start here. Who you act as, live or test mode, the plan, what is left of today's allowance, and what needs attention (failed posts, expired logins, connections with no slots), each with its fix.
List the profiles (end customers) of the account.
The account's activity, newest first, including the post requests that were refused in the last 30 days and why.
Posts
Post to one or more connections now, at scheduledFor, into the queue, or as a draft, with images, a timezone and an idempotencyKey so a retry never posts twice.
List posts, newest first, filtered by status, tag, connection, platform, profile, send group or time, with paging.
One post by id, with the latest numbers read back from its platform.
Delete a draft, cancel a scheduled post, or take a post that already went out down on its platform.
Edit a draft or a scheduled post, or move a scheduled post to a new time.
Send a stored draft now, at scheduledFor, or into the connection's next queue slot.
Send a post that failed again.
A post's numbers over time, and whether yeetpost is collecting them for its connection.
Brand and image cards
The tone of voice to write a connection's posts in, its own or the account's.
Set a connection's own tone of voice and up to 5 example posts.
Render HTML into an image card for a post, and return a mediaId for create_post.
Draw an image card for an existing post in its connection's look, to show the user and attach when they say yes.
Set how image cards look: a description, example cards as HTML and an optional logo, for one connection or the account.
Draft a look from a brand's website: it screenshots the site and draws two example cards in that style.
A connection's voice and look together. Call it before writing a post or a card.
Media
Upload a PNG, JPEG, GIF or WebP from a public https url or base64 bytes, and get a mediaId for create_post and update_post.
One image by mediaId: its details and the picture itself, downscaled to fit a model's context.
List your images, newest first, with the posts that use each.
Delete an image. Posts that used it keep their text, and a scheduled post sends as text only.
Connections
List your connected social media accounts and messaging channels, with their slugs.
One connection in full: its status, timezone, queue slots, voice and look, and what waits in its queue.
Set a connection's weekly posting slots and timezone, or pause its queue.
Disconnect a connection and cancel the posts still waiting on it.
Make the page where a customer connects an account into a profile, or reconnects one that stopped working.
Make the sandbox connection, which stores posts and answers like a real publish but publishes nothing. Every account already has one.
Sources
See what yeetpost finds at a link (a page, a feed or a sitemap) before saving anything. Saves and posts nothing.
Watch a link and post what is new, queued or as drafts, in each connection's voice and look.
List the links yeetpost watches, with each one's status, connections, mode and item counts.
One source: its link, connections, mode, instructions, status, last and next check, and item counts.
Change a source's connections, mode, instructions or card, or pause and resume it.
Stop watching a link. Posts it already made are not touched.
Check a source now instead of waiting for the hourly check, and return the new items.
The items a source found, newest first, with each one's status, error and the posts it made.
Push items into a push source. An id already sent is counted as a duplicate, so a retry never posts twice.
Try a failed source item again after fixing what list_source_items said was wrong.
Tool arguments use the same camelCase names as the JSON endpoints: text, connectionSlugs, scheduledFor, postId, status, limit.
get_post_metrics returns one post's numbers over time. A window of totals, a per-day series and a per-platform split is GET /analytics over REST.
What a call looks like
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "create_post", "arguments": { "text": "shipped the new api docs today", "connectionSlugs": [ "linkedin", "x" ] } }}create_post returns the same per-connection results array as POST /posts, and a single connection failing is a failed item rather than a tool error. Tool errors are reserved for problems with the whole call: empty text, a bad scheduledFor, or none of the slugs matching a connection.Every endpoint page on these docs carries an MCP tab where a tool maps to the endpoint, so you can read the REST call and the tool call side by side.
Rate limits
The MCP endpoint has its own bucket: 60 requests per minute per API key, or per grant when the caller signed in, counted separately from /posts and /webhooks. See rate limits and request ids.