Skip to content
For AI agentsBluesky Bluesky

Bluesky MCP server and posting API for AI agents

Give Claude, Cursor, Codex or your own code one MCP server and REST API that publish to Bluesky, and to every other network SleekPost supports. Connect a Bluesky account and an app password once in the dashboard; your agent never sees your Bluesky credentials.

Why not call the Bluesky API directly?

Doing it yourself with the Bluesky API

  • Bluesky's AT Protocol API is open, but you write the plumbing: sessions, image blob uploads and link facets (links and mentions are byte ranges).
  • Count text in graphemes and enforce the 300-character limit yourself.
  • There's no scheduling in the API, so you need your own job runner.

With SleekPost

  • Connect a Bluesky account and an app password in the dashboard once. No developer app, review or token handling on your side.
  • Give your agent an API key. Revoke it anytime.
  • One create_post call publishes, schedules or drafts, on Bluesky and any other network.
  • Bluesky's limits are checked before anything goes live, and errors say exactly what to fix.

Set up in a few minutes

1. Connect Bluesky

Create an app password in your Bluesky settings. SleekPost never needs your main password.

Connect accounts →

2. Create an API key

Generate a key in the dashboard. It is shown once.

Create a key →

3. Add the MCP server

Paste the snippet for your agent below, or call the REST API.

Full reference →
Run in your terminal
claude mcp add --transport http sleekpost https://sleekpost.com/mcp --header "Authorization: Bearer YOUR_SLEEKPOST_API_KEY"

Example: post to Bluesky

You ask your agent

“Cross-post this update to Bluesky and X now.”

The agent calls list_accounts to find the account id, then makes one create_post call.

create_post
{
  "tool": "create_post",
  "arguments": {
    "text": "New in v2.4: keyboard shortcuts for everything ⌨️ Press ? to see them all.",
    "account_ids": [
      "ACCOUNT_ID",
      "X_ACCOUNT_ID"
    ],
    "media_urls": [
      "https://example.com/shortcuts.png"
    ],
    "publish_now": true
  }
}

Bluesky rules your agent doesn't have to memorize

SleekPost validates every post against Bluesky's limits before publishing, so an agent gets an actionable answer instead of a half-failed post.
Text limit300 characters (post text)
MediaOptional (text-only posts work)
Images per postUp to 4
VideoLimited (use images)
Connect withA Bluesky account and an app password

If your agent sends a 320-character post to Bluesky, nothing is published and the API explains what to change:

400 response
{
  "error": {
    "code": "invalid_request",
    "message": "The post can't be published as-is: Bluesky allows 300 characters; this text has 320. Shorten it, or give this account its own shorter text in text_overrides.",
    "hint": "Fix the listed problems and send the request again. text_overrides lets you give individual accounts their own text.",
    "details": {
      "problems": [
        {
          "account_id": "ACCOUNT_ID",
          "platform": "bluesky",
          "message": "Bluesky allows 300 characters; this text has 320. Shorten it, or give this account its own shorter text in text_overrides."
        }
      ]
    }
  }
}

MCP tools

list_accounts

List connected social accounts and their ids.

create_post

Publish now, schedule, or draft a post to one or more accounts, with optional images/videos.

upload_media

Import an image or video from a public URL and get a media id.

list_posts

List scheduled, published, failed or draft posts.

get_post

Get a post's per-account status, errors and live URLs.

delete_post

Delete a draft or cancel a scheduled post.

Machine-readable docs: /llms.txt · /llms-full.txt · OpenAPI · MCP endpoint https://sleekpost.com/mcp

Other networks, same MCP server

Frequently asked questions

Do I need my own Bluesky developer app?

No. You connect a Bluesky account and an app password in the SleekPost dashboard once, and your agent only needs a SleekPost API key. It never sees your Bluesky login or tokens.

Which AI tools can use the MCP server?

Claude Code, Cursor, VS Code, Codex, Gemini CLI and Claude Desktop, and any other client that supports remote MCP servers over HTTP. Anything that can send HTTP requests can use the REST API instead.

Can my agent schedule Bluesky posts for later?

Yes. Pass scheduled_at as an ISO 8601 time to schedule, publish_now: true to post immediately, or draft: true to save a draft for a person to review.

How does the agent attach images or video?

Pass public URLs in media_urls. SleekPost downloads, converts and hosts the files, then publishes them with the post.

What does API and MCP access cost?

API and MCP access are included in every plan. Plans start at $9/month ($5.40/month billed yearly) with unlimited posts and a 7-day free trial.

Give your agent Bluesky.

API and MCP access are included in every plan. Plans start at $9/month ($5.40/month billed yearly) with unlimited posts and a 7-day free trial.