Sign in
Connect

Install the MCP server

Connect Rackpost to Claude, ChatGPT, Cursor or any other MCP client. You sign in with your browser; there is no key to copy. Your agent can then schedule posts and check their status for you, without opening the dashboard.

Before you start

  • A Rackpost account with at least one TikTok account. Your agent can set up its profile with request_profile.
  • An MCP client, such as Claude Code, Claude Desktop or Cursor.

Server details

Server URL
https://rackpost.app/api/mcp
Sign-in
OAuth in your browser, with your Rackpost email link. No key to copy.

Install

  1. 1

    Add Rackpost to your client

    Pick your client, then run the command or paste the settings.

    Run this in your terminal. Then type /mcp in Claude Code, pick rackpost and choose Authenticate.

    claude mcp add --transport http rackpost https://rackpost.app/api/mcp
  2. 2

    Sign in and allow

    Your browser opens Rackpost. Sign in with the email link, check the app name and click Allow. You can disconnect the app any time in Settings, under Your connections.

    Open Settings →
  3. 3

    Check the connection

    Ask your agent a simple question. If it answers with your posts, you are connected.

    List my Rackpost posts and their status.

  4. 4

    Schedule your first post

    Give your agent a local file or a public link, the account and the caption. A local file is uploaded by the script upload_file returns. A slideshow is one upload_file call with every photo, not one call per photo. Production puts parts on rackpost-upload.cfr2domain.com. Preview puts them on rackpost-upload-beta.cfr2domain.com.

    Post ~/clip.mp4 to @yourhandle with the caption "Behind the scenes #bts".

What your agent can do

Your agent gets a short guide when it connects: the account stages, the post statuses and the order to call the tools in. Every result says where things stand and what to do next, with a link. See Accounts and posting for what each stage and status means and where your data lives.

list_accountsYour accounts, each with its stage, what it means and your next step.
request_profileSets an account's TikTok username, display name and bio (the setup step), once every 30 days.
create_uploadDownloads a public https video (up to 500 MB) or JPG/PNG photos into Rackpost storage and returns an upload id. No storage address is returned.
upload_filePrepares a local video, or every photo of one slideshow in a single call. Returns one shell script (split -b 8m, curl PUT per part, then finish). Run it, then pass upload_id or upload_ids to create_post.
create_postPosts a video or photo post to a ready account, now or at a set time. It goes to TikTok for real.
get_postOne post with its status, what that means and, if it failed, what to do.
list_postsYour newest posts with their status, in a compact list.
list_accounts

Your accounts, each with its stage, what it means and your next step. Annotations: readOnlyHint: true, openWorldHint: false.

Sample result

{
  "summary": "2 accounts, 1 ready to post, 1 waiting for your profile.",
  "dashboard": "https://rackpost.app/dashboard",
  "accounts": [
    {
      "id": "17",
      "label": "TikTok account 1",
      "username": "yourbrand",
      "display_name": "Your Brand",
      "stage": "active",
      "ready": true,
      "status": "Ready to post.",
      "next_step": null
    },
    {
      "id": "18",
      "label": "TikTok account 2",
      "username": null,
      "display_name": null,
      "stage": "setup",
      "ready": false,
      "status": "No TikTok profile chosen yet. Posting is closed.",
      "next_step": "Set the TikTok profile (username, display name, optional bio and photo) at https://rackpost.app/dashboard?profile=18, or call request_profile."
    }
  ]
}
request_profile

Sets an account's TikTok username, display name and bio (the setup step), once every 30 days. Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true.

Sample result

{
  "done": "Profile change saved. It goes live on TikTok within 6 hours.",
  "account": {
    "id": "18",
    "label": "TikTok account 2",
    "username": "yourbrand2",
    "display_name": "Your Brand",
    "stage": "pending",
    "ready": false,
    "status": "Our team is putting your profile on TikTok, by 2026-11-18T15:00:00.000Z. Posting opens then.",
    "next_step": "Nothing to do. We email you when posting opens."
  }
}
create_upload

Downloads a public https video (up to 500 MB) or JPG/PNG photos into Rackpost storage and returns an upload id. No storage address is returned. Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false.

Sample result

{
  "upload_id": "upl_…"
}
upload_file

Prepares a local video, or every photo of one slideshow in a single call. Returns one shell script (split -b 8m, curl PUT per part, then finish). Run it, then pass upload_id or upload_ids to create_post. Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false.

Sample result

{
  "upload_id": "upl_…",
  "ticket": "utk_example",
  "parts": 2,
  "part_bytes": 8388608,
  "url": "https://rackpost-upload.cfr2domain.com/part",
  "script": "split -b 8m -- 'video.mp4' rackpost-part-\netag1=$(curl -fsS -X PUT 'https://rackpost-upload.cfr2domain.com/part' -H 'authorization: Bearer utk_example' -H 'x-part: 1' --data-binary @rackpost-part-aa | python3 -c 'import json,sys,re; e=json.load(sys.stdin)[\"etag\"].strip(\"\\\"\"); assert re.fullmatch(r\"[A-Za-z0-9-]{1,100}\", e); print(e)')\netag2=$(curl -fsS -X PUT 'https://rackpost-upload.cfr2domain.com/part' -H 'authorization: Bearer utk_example' -H 'x-part: 2' --data-binary @rackpost-part-ab | python3 -c 'import json,sys,re; e=json.load(sys.stdin)[\"etag\"].strip(\"\\\"\"); assert re.fullmatch(r\"[A-Za-z0-9-]{1,100}\", e); print(e)')\ncurl -fsS -X POST 'https://rackpost.app/api/upload/finish' -H 'content-type: application/json' -d \"{\\\"ticket\\\":\\\"utk_example\\\",\\\"parts\\\":[{\\\"PartNumber\\\":1,\\\"ETag\\\":\\\"$etag1\\\"},{\\\"PartNumber\\\":2,\\\"ETag\\\":\\\"$etag2\\\"}]}\""
}
create_post

Posts a video or photo post to a ready account, now or at a set time. It goes to TikTok for real. Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true.

Sample result

{
  "id": "1042",
  "account_id": "17",
  "type": "video",
  "title": "Behind the scenes #bts",
  "caption": "Behind the scenes #bts",
  "status": "queued",
  "status_meaning": "Saved, waiting to go to our posting partner. Can still be changed or cancelled.",
  "scheduled_at": "2026-12-01T15:30:00.000Z",
  "created_at": "2026-11-18T09:12:44.000Z",
  "changeable": true,
  "error": null,
  "next_step": null
}
get_post

One post with its status, what that means and, if it failed, what to do. Annotations: readOnlyHint: true, openWorldHint: false.

Sample result

{
  "id": "1042",
  "account_id": "17",
  "type": "video",
  "title": "Behind the scenes #bts",
  "caption": "Behind the scenes #bts",
  "status": "sent",
  "status_meaning": "With our posting partner. It goes live on TikTok at scheduled_at, or within minutes when posted now.",
  "scheduled_at": "2026-12-01T15:30:00.000Z",
  "created_at": "2026-11-18T09:12:44.000Z",
  "changeable": true,
  "error": null,
  "next_step": null
}
list_posts

Your newest posts with their status, in a compact list. Annotations: readOnlyHint: true, openWorldHint: false.

Sample result

{
  "summary": "2 posts: 1 sent, 1 failed.",
  "statuses": {
    "sent": "With our posting partner. It goes live on TikTok at scheduled_at, or within minutes when posted now.",
    "failed": "Did not post. error says why."
  },
  "posts": [
    {
      "id": "1042",
      "account_id": "17",
      "type": "video",
      "title": "Behind the scenes #bts",
      "status": "sent",
      "scheduled_at": "2026-12-01T15:30:00.000Z",
      "created_at": "2026-11-18T09:12:44.000Z",
      "changeable": true
    },
    {
      "id": "1039",
      "account_id": "17",
      "type": "video",
      "title": "Launch day",
      "status": "failed",
      "scheduled_at": null,
      "created_at": "2026-11-18T09:12:44.000Z",
      "changeable": false,
      "error": "The video is too short for TikTok.",
      "next_step": "Our team is alerted and checks it. If error points at your media or caption, fix it and create a new post. Questions: hello@rackpost.app."
    }
  ]
}

Sample error

An error names the cause and, where the message alone does not say it, the fix.

{
  "error": "Set up this account's TikTok profile first. Posting opens once our team has it live.",
  "fix": "This account is not ready: its stage is setup or pending (see list_accounts). In setup, set the profile at https://rackpost.app/dashboard?profile=18 or call request_profile; in pending, wait for our email."
}

For scripts

Scripts, CI jobs and clients that cannot open a browser can send your API key instead. Copy it from Settings, under API, and send it as Authorization: Bearer <key>. Your API key keeps working until you replace it.

# Claude Code, with your key in RACKPOST_API_KEY
claude mcp add --transport http rackpost https://rackpost.app/api/mcp \
  --header "Authorization: Bearer $RACKPOST_API_KEY"

# Clients that take a JSON config
{
  "mcpServers": {
    "rackpost": {
      "url": "https://rackpost.app/api/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}
Your agent cannot connect?

Remove Rackpost from your client and add it again, so it signs in afresh. If you use an API key and replaced it in Settings, the old one stops working, so add the new key to your client.