Let your agent run the schedule.
Command Tempo speaks MCP and plain REST. Give Claude or ChatGPT one link, sign in once, and your assistant runs the schedule from then on. Every post goes out at the time you set.
Connect an assistant
The server link is https://commandtempo.com/mcp. You need no key: your assistant signs in with your Command Tempo account.
Claude
- In Claude, open Settings, then Connectors, then Add custom connector.
- Paste
https://commandtempo.com/mcpand select Add. - Select Connect, sign in to Command Tempo, then select Allow.
The connector works in Claude on the web, the desktop app and the phone app.
ChatGPT
- In ChatGPT, open Settings, then Apps and Connectors, and create a connector. Some plans need developer mode on first (Settings, Advanced).
- Paste
https://commandtempo.com/mcpand choose OAuth. - Sign in to Command Tempo, then select Allow.
Claude Code
claude mcp add --transport http command-tempo https://commandtempo.com/mcpThen run /mcp in Claude Code and sign in.
Then ask your assistant something like: "Connect my accounts and queue my newest video for tomorrow at 9am." Each connection shows on your API key page as Connector: and the app name. Revoke it there and the assistant loses access at once.
For clients that look it up: protected resource metadata at /.well-known/oauth-protected-resource/mcp, authorization server metadata at /.well-known/oauth-authorization-server. OAuth 2.1 with PKCE (S256), dynamic client registration and client ID metadata documents.
MCP server
POSThttps://commandtempo.com/mcp
Streamable HTTP, JSON responses, no session to keep. Protocol versions 2025-03-26 to 2026-07-28. Tool calls go through the same checks as the app, so the queue cap and the account checks always apply.
| Tool | What it does |
|---|---|
queue_post | Queue one post. Needs account_id, kind (video, carousel or reel), media_ids and scheduled_at. Optional: caption, on_gap (keep or shift), options and client_ref. |
list_posts | List your posts, newest first. Filter by status; limit is 1 to 200. |
get_post | One post by id: status, time, link once posted, and the error if it failed. |
cancel_post | Cancel a queued post or a draft by id. A post that has started sending cannot be cancelled. |
list_accounts | Your connected TikTok and Instagram accounts. Only accounts with status active can post. |
next_free_slot | The next spaced time after after for one account. Optional: queue_post never needs it. |
upload_media | Fetch a file from a public https link and keep it for posts. Returns the media id. |
Uploads: mp4, mov, jpeg, png or webp, up to 50 MB. A file that no post uses is deleted after 7 days.
API keys
For your own code and scripts. Sign in and open API key. Keys start with cad_. One key covers MCP and REST for your workspace. Send it as Authorization: Bearer cad_YOUR_KEY. Keep it secret: anyone with it can queue posts to your accounts. Revoke a key there at any time.
Developer clients
Put your key where you see cad_YOUR_KEY.
Claude Code with a key
claude mcp add --transport http command-tempo https://commandtempo.com/mcp \
--header "Authorization: Bearer cad_YOUR_KEY"
Claude Desktop with a key
Add this to claude_desktop_config.json, then restart Claude Desktop.
{
"mcpServers": {
"command-tempo": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://commandtempo.com/mcp",
"--header", "Authorization: Bearer cad_YOUR_KEY"]
}
}
}
Claude API
The MCP connector lets Claude call Command Tempo inside one Messages request.
curl https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: mcp-client-2025-11-20" \
-H "content-type: application/json" \
-d '{
"model": "claude-opus-5-5",
"max_tokens": 2048,
"mcp_servers": [{
"type": "url",
"url": "https://commandtempo.com/mcp",
"name": "command-tempo",
"authorization_token": "cad_YOUR_KEY"
}],
"tools": [{"type": "mcp_toolset", "mcp_server_name": "command-tempo"}],
"messages": [{"role": "user", "content": "Queue my newest video for tomorrow 9am on my TikTok."}]
}'
OpenAI API
In the Responses API:
curl https://api.openai.com/v1/responses \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "content-type: application/json" \
-d '{
"model": "gpt-5",
"tools": [{
"type": "mcp",
"server_label": "command-tempo",
"server_url": "https://commandtempo.com/mcp",
"headers": {"Authorization": "Bearer cad_YOUR_KEY"},
"require_approval": "never"
}],
"input": "What is queued on my accounts this week?"
}'
Cursor
Add this to ~/.cursor/mcp.json or .cursor/mcp.json in your project.
{
"mcpServers": {
"command-tempo": {
"url": "https://commandtempo.com/mcp",
"headers": {"Authorization": "Bearer cad_YOUR_KEY"}
}
}
}REST
POST/api/v1/posts
Queue a post. Get account ids from list_accounts and media ids from upload_media or the app. Send the same client_ref again and you get the first post back with duplicate: true, so a retry never posts twice.
curl https://commandtempo.com/api/v1/posts \
-H "Authorization: Bearer cad_YOUR_KEY" \
-H "content-type: application/json" \
-d '{
"account_id": "ACCOUNT_ID",
"kind": "video",
"caption": "New glaze, first firing.",
"media_ids": ["MEDIA_ID"],
"scheduled_at": "2026-12-01T09:00:00+11:00",
"client_ref": "glaze-01"
}'201 Created
{"id": "POST_ID", "status": "queued", "scheduled_at": "2026-11-30T22:00:00.000Z"}
| Field | Rules |
|---|---|
account_id | Required. A connected account in your workspace. |
kind | Required. video, carousel or reel. |
media_ids | Required. 1 to 10 ids. |
scheduled_at | Required. ISO 8601 time, not in the past. |
caption | Up to 2,200 characters. |
on_gap | keep (default): the post stays at your time. shift: it moves to the next spaced time. |
client_ref | Your own id, up to 100 characters. |
options | TikTok settings: privacy_level, disable_comment, disable_duet, disable_stitch, brand_content_toggle, brand_organic_toggle. |
GET/api/v1/posts/:id
curl https://commandtempo.com/api/v1/posts/POST_ID \
-H "Authorization: Bearer cad_YOUR_KEY"{"id": "POST_ID", "status": "posted", "scheduled_at": "2026-11-30T22:00:00.000Z",
"posted_at": "2026-11-30T22:00:41.000Z", "post_url": "https://www.tiktok.com/...", "error": null}
Status is one of draft, queued, processing, posted, failed or canceled.
Errors
| Status | Error | Meaning |
|---|---|---|
| 401 | invalid_api_key | The key is missing, wrong or revoked. On MCP, the WWW-Authenticate header points assistants to sign-in. |
| 422 | invalid_fields | fields names each bad field. A time in the past is also this error. |
| 400 | invalid_id | An id is not in the right form. |
| 404 | account_not_found, media_not_found | The id is not in your workspace. |
| 409 | account_needs_reconnect | Connect the account again in the app. |
| 429 | queue_full | A workspace holds at most 100 queued posts. |
| 413 | body_too_large | Request bodies are at most 64 KB. |
Limits
- Spacing is guidance, never a block. A post close to another on the same account still goes at your time, and the answer adds
gap_notewithmin_gap_minutesandnext_spaced_time. Set the spacing in the app; 0 turns it off. - Queue: at most 100 queued posts per workspace.
- MCP: 120 calls a minute per key. Past that, calls get HTTP 429 with a
retry-afterheader. - Until TikTok approves direct posting, TikTok posts go to your TikTok drafts.