Skip to content
yeetpostyeetpost

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 code
claude mcp add --transport http \  --header 'Authorization: Bearer ${YEETPOST_API_KEY}' \  yeetpost https://api.yeetpost.com/api/v2/mcp

Any 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.

A grant behaves exactly like a key with the same two scopes: a grant given one profile sees that end customer only, a test grant reaches sandbox connections only, and rate limits are 60 requests a minute counted per grant. REST stays key-only. The full flow, endpoint by endpoint, is the "OAuth for MCP clients" section of the OpenAPI spec description.

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

get_context

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_profiles

List the profiles (end customers) of the account.

get_activity

The account's activity, newest first, including the post requests that were refused in the last 30 days and why.

Posts

create_post

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

List posts, newest first, filtered by status, tag, connection, platform, profile, send group or time, with paging.

get_post

One post by id, with the latest numbers read back from its platform.

delete_post

Delete a draft, cancel a scheduled post, or take a post that already went out down on its platform.

update_post

Edit a draft or a scheduled post, or move a scheduled post to a new time.

publish_draft

Send a stored draft now, at scheduledFor, or into the connection's next queue slot.

retry_post

Send a post that failed again.

get_post_metrics

A post's numbers over time, and whether yeetpost is collecting them for its connection.

Brand and image cards

get_voice

The tone of voice to write a connection's posts in, its own or the account's.

set_voice

Set a connection's own tone of voice and up to 5 example posts.

render_image

Render HTML into an image card for a post, and return a mediaId for create_post.

draw_card

Draw an image card for an existing post in its connection's look, to show the user and attach when they say yes.

set_look

Set how image cards look: a description, example cards as HTML and an optional logo, for one connection or the account.

draft_look_from_url

Draft a look from a brand's website: it screenshots the site and draws two example cards in that style.

get_brand

A connection's voice and look together. Call it before writing a post or a card.

Media

upload_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.

get_media

One image by mediaId: its details and the picture itself, downscaled to fit a model's context.

list_media

List your images, newest first, with the posts that use each.

delete_media

Delete an image. Posts that used it keep their text, and a scheduled post sends as text only.

Connections

list_connections

List your connected social media accounts and messaging channels, with their slugs.

get_connection

One connection in full: its status, timezone, queue slots, voice and look, and what waits in its queue.

set_connection_queue

Set a connection's weekly posting slots and timezone, or pause its queue.

disconnect_connection

Disconnect a connection and cancel the posts still waiting on it.

create_connect_link

Make the page where a customer connects an account into a profile, or reconnects one that stopped working.

create_sandbox_connection

Make the sandbox connection, which stores posts and answers like a real publish but publishes nothing. Every account already has one.

Sources

preview_source

See what yeetpost finds at a link (a page, a feed or a sitemap) before saving anything. Saves and posts nothing.

create_source

Watch a link and post what is new, queued or as drafts, in each connection's voice and look.

list_sources

List the links yeetpost watches, with each one's status, connections, mode and item counts.

get_source

One source: its link, connections, mode, instructions, status, last and next check, and item counts.

update_source

Change a source's connections, mode, instructions or card, or pause and resume it.

delete_source

Stop watching a link. Posts it already made are not touched.

check_source

Check a source now instead of waiting for the hourly check, and return the new items.

list_source_items

The items a source found, newest first, with each one's status, error and the posts it made.

add_source_items

Push items into a push source. An id already sent is counted as a duplicate, so a retry never posts twice.

retry_source_item

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

tools/call
{  "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.