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/mcpConnect Your Client
Claude Code
In your terminal, add the server:
claude mcp add --transport http doublespeed https://doublespeed.ai/api/mcpThen start Claude Code by running claude, and inside the session type:
/mcpSelect 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):
whoamishows who you are and which product, if any, is currently active.list_productslists the products you can access.set_productselects 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
| Tool | What It Does |
|---|---|
whoami | Your identity, permissions, and the currently active product |
list_products | List products you can access and show which is active |
set_product | Set the active product for this session (required before product-scoped tools) |
Products
| Tool | What It Does |
|---|---|
get_product | Get the active product's title, overview, brand guide, and target audience |
update_product | Update fields on the active product |
Accounts
| Tool | What It Does |
|---|---|
list_accounts | List social media accounts for the active product |
get_account | Get one account's username, bio, status, platform, and profile info |
update_account | Update 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_profiles | List the warming profiles on an agency product and the accounts each one is on |
list_account_locations | List the countries this product's accounts can post from and the region each is in |
manage_warming_profile | Create, edit or archive a warming profile, or assign one to accounts, which copies its search terms onto them |
get_posting_target | Read how many posts a day an account makes, the most it can be set to today, and when that goes up |
set_posting_target | Set 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
| Tool | What It Does |
|---|---|
list_posts | List posts for the active product with filtering and search |
list_account_posts | List posts for a specific account |
create_post | Create a slideshow or video post from media URLs, assigned to an account |
queue_post | Queue a draft variant as a post using the variant's own caption, account, and media |
update_post | Update a draft, scheduled, or pending post's caption, status, or account |
request_post_deletion | Request takedown of a live or publishing post (irreversible once processed) |
list_posting_queue | Show the order queued posts will go out in, per account, with each post's expected publish time |
reorder_posting_queue | Change 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
| Tool | What It Does |
|---|---|
get_research_trending_run | Get 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
| Tool | What It Does |
|---|---|
list_models | List available image, video and 3D models with parameters and pricing |
generate_image | Generate an image with AI (text-to-image or image-to-image, uses credits) |
generate_video | Submit an async AI video generation job (uses credits) |
generate_3d | Submit an async 3D model (GLB) generation job from images or a prompt (uses credits) |
check_generation_status | Check video generation jobs and get the URL when complete |
Rendering and Drafts
| Tool | What It Does |
|---|---|
render_slides | Render fast slide previews from scene data for visual iteration |
render_video | Render 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_preview | Render a baked preview video from editor-style state |
save_editor_project | Assemble scenes, text, motion clips, voiceover, music, and captions into an editable /editor project |
patch_editor_project | Change individual items of a saved editor project without resending the composition |
upsert_slideshow_draft | Save a slideshow as an editable draft, optionally with a review link |
upsert_video_draft | Save an editable video draft, optionally with a review link |
get_draft | Read a draft's variants, text, and structure |
patch_draft | Edit 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
| Tool | What It Does |
|---|---|
list_templates | List slideshow and video scene templates for the active product |
get_template | Fetch one template's scene data and variables |
Review Links
| Tool | What It Does |
|---|---|
create_review_link | Create a shareable review link for a draft |
create_combined_review_link | Create one review link that covers several drafts at once |
Media Library
| Tool | What It Does |
|---|---|
browse_media | Browse media library folders and files (images, videos, audio) |
create_image_collection | Create a new image collection folder |
prepare_media_upload | Get an upload URL for a local media file |
commit_media_upload | Finalize an upload and get its durable media URL |
delete_media_files | Permanently delete files from the media library, such as tracks in a collection |
prepare_font_upload | Get an upload URL for a custom font file (.woff2, .woff, .ttf or .otf) |
commit_font_upload | Register an uploaded font so it can be used as fontFamily on text |
Content Agent
| Tool | What It Does |
|---|---|
start_content_agent_run | Start 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_run | Read a run's status, why it failed, and the drafts it delivered with their review links |
create_content_agent_routine | Schedule 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.
| Tool | What It Does |
|---|---|
start_hook_demo_batches | Start 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_batches | List the product's Hook + demo batches, newest first |
get_hook_demo_batch | One 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.
Carousel Agent
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.
| Tool | What It Does |
|---|---|
start_carousel_agent_batch | Make 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_batch | A 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_formats | The 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.
| Tool | What It Does |
|---|---|
creative_session_create, creative_session_list, creative_session_wake, creative_session_sleep, creative_session_delete | Start sessions running Blender or Shotcut, list them, wake them, put them to sleep, and delete them |
creative_session_blender_python, creative_session_run | Build 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_* tools | Edit a Shotcut timeline, one tool per change: tracks, clips, gaps, text, transitions, fades, color, transforms, crop, speed and captions |
creative_session_inspect, creative_session_view | Check the work: the scene or timeline, and pictures of the screen, the frame or a file |
creative_session_render, creative_session_status | Start a render (gpu: true renders on a graphics card) and follow it |
creative_session_upload, creative_session_files, creative_session_publish | Move files in and out; publish saves a finished file to your media library |
creative_session_guide | Working 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.
| Tool | What It Does |
|---|---|
canvas | One 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/mcpWhy 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.