Model Context Protocol (MCP)

MCP lets an AI assistant like Claude operate your doublespeed account for you: you describe what you want in plain English, and it calls doublespeed directly to research trends, create content, manage accounts, and queue posts.

Your assistant gets the same access you have in the dashboard. It reads your products, templates, and media library, then creates content that matches your brand.

Server URL:

https://doublespeed.ai/api/mcp

Connect Your Client

Claude Code

In your terminal, add the server:

claude mcp add --transport http doublespeed https://doublespeed.ai/api/mcp

Then start Claude Code by running claude, and inside the session type:

/mcp

Select doublespeed and follow the browser prompt to sign in. /mcp is a command you run inside the Claude Code session, not in your shell.

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "doublespeed": {
      "url": "https://doublespeed.ai/api/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json in your workspace:

{
  "servers": {
    "doublespeed": {
      "type": "http",
      "url": "https://doublespeed.ai/api/mcp"
    }
  }
}

Other Clients

Any MCP-compatible client can connect over streamable HTTP:

  • URL: https://doublespeed.ai/api/mcp
  • Auth: OAuth 2.0 with PKCE. Your browser opens to authorize, so there is no key to paste.

First Steps: Select a Product

Your MCP session is scoped to one product at a time, and most tools refuse to run until a product is selected. Do this first (or just ask your assistant to):

  1. whoami shows who you are and which product, if any, is currently active.
  2. list_products lists the products you can access.
  3. set_product selects the active product. Every tool call after this is scoped to it.

Your selection persists across sessions, so you usually only do this once. Generation charges credits to the active product, so confirm you are on the right one before creating content. Rendering previews, rendering slides or videos, and queueing posts do not consume credits.

Tool Reference

Getting started

ToolWhat It Does
whoamiYour identity, permissions, and the currently active product
list_productsList products you can access and show which is active
set_productSet the active product for this session (required before product-scoped tools)

Products

ToolWhat It Does
get_productGet the active product's title, overview, brand guide, and target audience
update_productUpdate fields on the active product

Accounts

ToolWhat It Does
list_accountsList social media accounts for the active product
get_accountGet one account's username, bio, status, platform, and profile info
update_accountUpdate account fields like bio (160 characters; 150 on Instagram, 80 on TikTok), the link-in-bio URL, and, where the product has location choice, the location during setup
list_warming_profilesList the warming profiles on an agency product and the accounts each one is on
list_account_locationsList the countries this product's accounts can post from and the region each is in
manage_warming_profileCreate, edit or archive a warming profile, or assign one to accounts, which copies its search terms onto them
get_posting_targetRead how many posts a day an account makes, the most it can be set to today, and when that goes up
set_posting_targetSet how many posts a day an account makes, up to 5 on any platform (default 2 on TikTok and YouTube, 1 on Instagram and Facebook). Agency products follow a weekly schedule after warming; other products confirm the risk before going above the default

Posts

ToolWhat It Does
list_postsList posts for the active product with filtering and search
list_account_postsList posts for a specific account
create_postCreate a slideshow or video post from media URLs, assigned to an account
queue_postQueue a draft variant as a post using the variant's own caption, account, and media
update_postUpdate a draft, scheduled, or pending post's caption, status, or account
request_post_deletionRequest takedown of a live or publishing post (irreversible once processed)
list_posting_queueShow the order queued posts will go out in, per account, with each post's expected publish time
reorder_posting_queueChange the order an account's queued posts go out in by swapping their slots

create_post, create_posts_bulk and queue_post take ai_generated to turn TikTok's AI-generated content label on (true) or off (false) for one post. Leave it out and the post follows your organization's setting, which get_product returns as ai_label_default and update_product changes. Only TikTok feed posts from Android phones get the label: posts from iPhone accounts and Stories go out without it.

Research

ToolWhat It Does
get_research_trending_runGet status and report data for an already-started research run

Research tools are available in admin (staff) MCP sessions only. Starting new trending-video research runs is temporarily unavailable while the research device workflow is repaired.

Generation

ToolWhat It Does
list_modelsList available image, video and 3D models with parameters and pricing
generate_imageGenerate an image with AI (text-to-image or image-to-image, uses credits)
generate_videoSubmit an async AI video generation job (uses credits)
generate_3dSubmit an async 3D model (GLB) generation job from images or a prompt (uses credits)
check_generation_statusCheck video generation jobs and get the URL when complete

Rendering and Drafts

ToolWhat It Does
render_slidesRender fast slide previews from scene data for visual iteration
render_videoRender a saved editor project (by project_id) or a full composition to a final mp4 or webm, or one frame to PNG/JPEG with still_at_ms
render_video_previewRender a baked preview video from editor-style state
save_editor_projectAssemble scenes, text, motion clips, voiceover, music, and captions into an editable /editor project
patch_editor_projectChange individual items of a saved editor project without resending the composition
upsert_slideshow_draftSave a slideshow as an editable draft, optionally with a review link
upsert_video_draftSave an editable video draft, optionally with a review link
get_draftRead a draft's variants, text, and structure
patch_draftEdit a draft variant's text, caption, music, account, or status

preview_slides, preview_video, and compose_video are aliases of render_slides, render_video_preview, and render_video.

Your own software can list these drafts, approve them into posts and decline them over the REST API, see Review drafts in the API Reference.

Templates

ToolWhat It Does
list_templatesList slideshow and video scene templates for the active product
get_templateFetch one template's scene data and variables
ToolWhat It Does
create_review_linkCreate a shareable review link for a draft
create_combined_review_linkCreate one review link that covers several drafts at once

Media Library

ToolWhat It Does
browse_mediaBrowse media library folders and files (images, videos, audio)
create_image_collectionCreate a new image collection folder
prepare_media_uploadGet an upload URL for a local media file
commit_media_uploadFinalize an upload and get its durable media URL
delete_media_filesPermanently delete files from the media library, such as tracks in a collection
prepare_font_uploadGet an upload URL for a custom font file (.woff2, .woff, .ttf or .otf)
commit_font_uploadRegister an uploaded font so it can be used as fontFamily on text

Content Agent

ToolWhat It Does
start_content_agent_runStart the content agent for chosen accounts. It uses the agent's own settings and the product's credits, and the drafts arrive as review links
get_content_agent_runRead a run's status, why it failed, and the drafts it delivered with their review links
create_content_agent_routineSchedule the content agent to ask for a batch of posts every few hours, daily, or on chosen weekdays. Each scheduled time sends the Doublespeed team a request, and the drafts arrive as review links

Hook + demo

Start the same Hook + demo batches as the Videos page and collect the finished videos. Each start copies the setup of the product's newest Hook + demo batch (or from_batch_id). A product with no batch yet starts a new setup from its saved avatars and brand brief, so your assistant can make the first batch too: give it reference links and a demo video. Batches run one at a time per product, are charged to the product's credits, and each finished video is saved as a draft on its account.

ToolWhat It Does
start_hook_demo_batchesStart one batch per account (account_ids, 1 to 50). Optional hook_direction, reference_links (TikTok or Instagram Reel links), avatar_ids, max_videos, product_context, clone_model and a demo (demo_video_id or demo_video_url) replace the copied setup. Uses credits, and your assistant asks you to confirm first
list_hook_demo_batchesList the product's Hook + demo batches, newest first
get_hook_demo_batchOne batch's status, with each video's video_url and draft_id once it finishes

The same batches are available over the REST API, see the API Reference.

Make photo carousels the way the Carousel Agent page's chat does. The product needs to have finished Carousel Agent setup on that page first. Each deck is charged to the product's credits, and a finished batch shares one review link for all its decks. Nothing is posted.

ToolWhat It Does
start_carousel_agent_batchMake 1 to 10 decks (deck_count). Optional direction (what they should be about), format (an id from list_carousel_agent_formats) and avatar_id. Answers at once with a batchId. Uses credits, and your assistant asks you to confirm first
get_carousel_agent_batchA batch's state (writing, making images, finished or failed), each deck's slides and images, and its reviewUrl once every deck is done
list_carousel_agent_formatsThe product's formats, with the one used by default marked

Creative sessions

Your assistant works in Blender or the Shotcut video editor on remote computers. Each step is its own tool. When a result includes a page link, you can watch the session live there and take over the mouse.

ToolWhat It Does
creative_session_create, creative_session_list, creative_session_wake, creative_session_sleep, creative_session_deleteStart sessions running Blender or Shotcut, list them, wake them, put them to sleep, and delete them
creative_session_blender_python, creative_session_runBuild the work: Python inside Blender, and shell commands for files
creative_session_editor_add_clip, creative_session_editor_trim_clip, creative_session_editor_transition and the other creative_session_editor_* toolsEdit a Shotcut timeline, one tool per change: tracks, clips, gaps, text, transitions, fades, color, transforms, crop, speed and captions
creative_session_inspect, creative_session_viewCheck the work: the scene or timeline, and pictures of the screen, the frame or a file
creative_session_render, creative_session_statusStart a render (gpu: true renders on a graphics card) and follow it
creative_session_upload, creative_session_files, creative_session_publishMove files in and out; publish saves a finished file to your media library
creative_session_guideWorking notes for the assistant

Session time is charged to the product's credits: 1 cent for each minute a session is awake and 15 cents for each minute of a GPU render. A sleeping session costs nothing. When the product runs out of credits, its sessions are put to sleep with their work saved. A session reaches your media library and nothing else on the internet.

Canvas

Your assistant reads and changes your Canvas boards and answers comments that mention @ds. It acts only when a comment mentions it or you ask it to: it waits for mentions, does the work, replies in the comment's thread and marks the comment answered. This tool is listed once Canvas shows in your sidebar.

ToolWhat It Does
canvasOne tool with an action: list_boards, create_board and read find and read boards; apply adds, moves, groups, marks and deletes items by their @handle; comment posts a comment on the board, an item, a point on it or a time range of a video; wait_for_mentions, reply and claim answer comments that mention @ds; generate makes images or videos from reference items and places them next to them; attach_session puts a creative session on a board. guide returns working notes for the assistant

generate uses the product's credits at the same prices as image and video generation. The other actions are free.

What Can I Actually Do With This?

Once connected, you work in plain English. Some real examples:

  • Queue a post across accounts: "Take the top variant from this review link and queue it to all three skincare accounts."
  • Render a slideshow draft: "Make a 5-slide carousel about morning routines using the livfresh emotional template, show me a preview, then save it as a draft with a review link."
  • Batch edits: "The hook text on slide 1 is overflowing on every variant in this draft, shorten each one to under 8 words."
  • Run Hook + demo across accounts: "Run Hook + demo on all my accounts with 5 videos each, then give me the finished video links when they are done."

FAQ

How do I get an API key?

You don't need one for MCP. The server uses OAuth: when you connect, your browser opens and you sign in to your doublespeed account.

If you want a key for the separate REST API, open your product in the dashboard, click API at the bottom left of the sidebar, and use Create Key. Keys start with ds- and are scoped to one product.

What auth does the MCP server use?

OAuth 2.0 with PKCE. Access tokens last 1 day and refresh automatically; refresh tokens last 90 days. Your session sees the same products you see in the dashboard.

I get "No product selected"

Most tools require an active product. Ask your assistant to run list_products and then set_product with the product you want. Only whoami, list_products, set_product, and list_models work without one.

I get "Active subscription required"

Generation tools use paid services and require an active subscription on the product. Rendering previews, rendering slides or videos, and queueing posts do not consume credits. Upgrade at doublespeed.ai.

I get "Invalid or expired token" or a 401

Re-authenticate. In Claude Code, run /mcp inside the session and reconnect doublespeed. If that fails, remove and re-add the server:

claude mcp remove doublespeed
claude mcp add --transport http doublespeed https://doublespeed.ai/api/mcp

Why did my call hit a rate limit?

Expensive operations (generation, rendering, research) are rate limited per user. The error tells you how long to wait before retrying.