Skip to the main content

MCP server

The Looptake API as MCP tools. Hosted over HTTP or local over stdio, with the same scopes as your key.

Hosted or local

  • Hosted: Streamable HTTP at https://looptake.com/mcp. Sign in with OAuth, or send Authorization: Bearer <API key>. Nothing to install.
  • Local: stdio via npx -y @looptake/mcp, key in LOOPTAKE_API_KEY. Needs Node 22.12 or later. The key stays on your machine.

Both expose the same tools as the REST API, with the same scopes and errors. A tool is listed only if the key has its scope. Included on every account.

Connect with OAuth

Add the hosted URL to your MCP client and sign in with your Looptake account. You need no API key.

  1. In your MCP client, add a remote server. If it asks for a transport, choose Streamable HTTP.
  2. Enter https://looptake.com/mcp as the URL. Add no headers.
  3. The client opens a Looptake page in your browser. Sign in if you are signed out.
  4. Read what the app asks for, then press Approve. The browser goes back to the client.

The app acts for you, on the team you are signed in to. It never gets more access than your role gives you.

ScopeLets the app
readRead your workspaces, posts, videos, credits and analytics.
createMake videos and images, which spends credits.
publishSchedule and publish posts to your connected accounts.

No app gets approvals, webhooks or admin tools through OAuth. A person approves posts in Looptake, and webhooks need an API key.

  • An access token lasts 1 hour. A refresh token lasts 30 days, and each use replaces it.
  • A refresh token used twice ends the connection. Connect the app again to continue.
  • To disconnect an app, open Settings, API keys and press Revoke under Connected apps. Its next call fails.

For client developers

  • A call without a valid token answers 401. Its WWW-Authenticate header points to https://looptake.com/.well-known/oauth-protected-resource/mcp, which names the authorization server https://looptake.com.
  • Server metadata is at https://looptake.com/.well-known/oauth-authorization-server. Register at /oauth/register, or use the https URL of a client ID metadata document as your client_id.
  • PKCE with S256 and a state value are required. Send resource=https://looptake.com/mcp.
  • Redirect URIs use https. A native app can use http on 127.0.0.1, [::1] or localhost, on any port, or a private-use scheme such as com.example.app:/callback.
  • A token missing a scope a tool needs gets 403 with error="insufficient_scope".

Hosted with a key

POST https://looptake.com/mcp speaks Streamable HTTP with JSON responses. Send your API key as Authorization: Bearer lt_live_…. For Claude Code and Cursor, see the commands below. For a client that reads mcpServers JSON:

Hosted, Claude

{
  "mcpServers": {
    "looptake": {
      "type": "http",
      "url": "https://looptake.com/mcp",
      "headers": { "Authorization": "Bearer lt_live_…" }
    }
  }
}

Platform operators use https://looptake.com/mcp/admin with a key that has the admin scope. Locally, npx -y @looptake/mcp --admin serves the same admin tools over stdio.

Claude Code

Terminal

# Hosted, OAuth: then run /mcp in Claude Code to sign in
claude mcp add --transport http looptake https://looptake.com/mcp

# Hosted, API key
claude mcp add --transport http looptake https://looptake.com/mcp \
  --header "Authorization: Bearer lt_live_…"

# Local
claude mcp add looptake --env LOOPTAKE_API_KEY=lt_live_… -- npx -y @looptake/mcp

Claude Desktop

Add to claude_desktop_config.json, then restart Claude Desktop.

Local

{
  "mcpServers": {
    "looptake": {
      "command": "npx",
      "args": ["-y", "@looptake/mcp"],
      "env": { "LOOPTAKE_API_KEY": "lt_live_…" }
    }
  }
}

Hosted, through an npx bridge

{
  "mcpServers": {
    "looptake": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://looptake.com/mcp", "--header", "Authorization: Bearer ${LOOPTAKE_API_KEY}"],
      "env": { "LOOPTAKE_API_KEY": "lt_live_…" }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json or .cursor/mcp.json in a project.

Hosted, OAuth

{
  "mcpServers": {
    "looptake": { "url": "https://looptake.com/mcp" }
  }
}

Hosted, API key

{
  "mcpServers": {
    "looptake": {
      "url": "https://looptake.com/mcp",
      "headers": { "Authorization": "Bearer lt_live_…" }
    }
  }
}

Local

{
  "mcpServers": {
    "looptake": {
      "command": "npx",
      "args": ["-y", "@looptake/mcp"],
      "env": { "LOOPTAKE_API_KEY": "lt_live_…" }
    }
  }
}

Local options

Environment variables for the local server. If you use the CLI, looptake mcp starts the same server with the stored key.

Environment

LOOPTAKE_API_KEY=lt_live_…    # required
LOOPTAKE_WORKSPACE=<id>             # pin every call to one workspace
LOOPTAKE_READ_ONLY=1                # register read tools only
LOOPTAKE_TIMEOUT_MS=60000           # per-request timeout

Tools

85 tools. Tools marked below need confirm: true in the call, so an agent cannot publish, spend or delete by accident.

ToolScopeDoes
looptake_get_meanyTeam, credit balance and the scopes this key carries.
looptake_get_creditscredits:readCredit balance and ledger.
looptake_billing_historycredits:readEvery paid top-up, with its method and receipt link when available.
looptake_billing_statementcredits:readA UTC monthly statement, with balances and spend by workspace and model.
looptake_list_workspacesworkspaces:readWorkspaces this key can reach, with last analysis time.
looptake_create_workspaceworkspaces:writeAdd a brand and queue the first crawl of its website.
looptake_get_workspaceworkspaces:readOne workspace with the brand context every generation is written from.
looptake_archive_workspaceworkspaces:writeArchive a workspace. Scheduled posts are withheld, not cancelled; restore resumes them.Destructive
looptake_restore_workspaceworkspaces:writeRestore an archived workspace and its withheld work.
looptake_set_default_workspaceworkspaces:writeSet the team default workspace, used when workspaceId is omitted.Destructive
looptake_get_brand_kitworkspaces:readThe look every render in a workspace gets: captions, font, logo, outro, watermark and voice.
looptake_update_brand_kitworkspaces:writeChange a workspace brand kit. Omitted fields keep their value; null clears.
looptake_reset_brand_kitworkspaces:writeRemove a workspace brand kit so renders use the house look.Destructive
looptake_list_accountsaccounts:readConnected accounts and their ids, which every publish call needs.
looptake_create_videogenerations:writeMake a finished video from one sentence. No brand profile needed. Poll looptake_get_video.
looptake_remix_videogenerations:writeRemix a viral video link onto your topic: same structure, new video. Poll looptake_get_video.
looptake_edit_videogenerations:writeRe-render a ready video from your own scenes, hook first. No AI rewrite. Poll looptake_get_video.
looptake_clip_videogenerations:writeCut a long video into scored 9:16 clips. Costs 46 credits per minute of source. Poll looptake_get_video.Spends credits
looptake_bulk_videosgenerations:writeMake up to 100 videos from CSV or rows, optionally scheduled. Poll looptake_get_bulk.Spends credits
looptake_get_bulkgenerations:readProgress of a bulk batch.
looptake_generate_suggestionsgenerations:writeGenerate suggestions from the brand context, or from a prompt. Billed from the writing model’s receipt.
looptake_list_generationsgenerations:readRead the pending suggestion queue.
looptake_get_generationgenerations:readOne suggestion in full, including its deck.
looptake_accept_generationgenerations:writeTurn a suggestion into a content piece.
looptake_create_variantsgenerations:writeWrite A/B hook variants of a suggestion.
looptake_create_postposts:writeSchedule or publish a post.Publishes
looptake_preview_postposts:writeShow what each account would receive (text, YouTube title, declarations, refusals). Creates nothing.
looptake_import_postsposts:writeImport a CSV of captions, video URLs and times as posts, all or none. Drafts unless schedule is "scheduled". Use validateOnly first to check resolved UTC times.Publishes
looptake_list_postsposts:readPosts by status, automation or date range.
looptake_get_postposts:readOne post with per-platform results and analytics.
looptake_edit_postposts:writeEdit the caption, hashtags, per-platform text or declarations of an unpublished post. declarations replaces the whole object. Re-opens an approved post for review.Publishes
looptake_cancel_postposts:writeCancel a post that has not published yet.Destructive
looptake_reschedule_postposts:writeMove an unpublished post to a new time. Re-opens an approved post for review.Publishes
looptake_publish_postposts:writeRelease a draft. It publishes at its stored time, or at once if it has none.Publishes
looptake_get_calendarposts:readThe schedule grouped by local day.
looptake_create_automationautomations:writeCreate a draft run with a cadence and a target set.
looptake_list_automationsautomations:readEvery run, with its status.
looptake_get_automationautomations:readOne run with its settings, targets and counts.
looptake_update_automationautomations:writeEdit a run while it is still a draft.
looptake_generate_automationautomations:writeFill every slot in a run. Publishes nothing.
looptake_extend_automationautomations:writeAdd days to a running automation.Publishes
looptake_launch_automationautomations:writeSchedule every post of a reviewed run.Publishes
looptake_cancel_automationautomations:writeCancel a run and every post it has not published yet.Destructive
looptake_list_automation_postsautomations:readThe review queue of a run, and its history after launch.
looptake_list_influencersinfluencers:readThe AI presenters this workspace has created.
looptake_create_influencerinfluencers:writeCreate a reusable AI presenter. Spends 360 credits.Spends credits
looptake_get_influencerinfluencers:readOne presenter, with the voice and accounts it publishes from.
looptake_delete_influencerinfluencers:writeDelete a presenter, its videos and its consent history, and free its slot. Refunds nothing.Destructive
looptake_create_influencer_videoinfluencers:writeRender a talking head. Spends 60 credits per second.Spends credits
looptake_list_influencer_videosinfluencers:readEvery video rendered for one presenter.
looptake_get_videogenerations:readPoll one video, prompt-first or influencer, until it is ready or failed.
looptake_list_assetsassets:readThe workspace library of clips, images, audio and fonts.
looptake_create_assetassets:writeAdd an asset to the library by URL.
looptake_get_contentcontent:writePoll a render and read the finished media.
looptake_download_contentcontent:writeA short-lived signed URL for finished media.
looptake_create_studio_rendercontent:writeStart any studio render. Spends 1,361 credits.Spends credits
looptake_get_analyticsanalytics:readPerformance for a window, per platform and in total.
looptake_list_analytics_postsanalytics:readPer-post performance, sortable, with attribution-link clicks.
looptake_get_trendsgenerations:readThe daily trend library.
looptake_list_webhookswebhooks:writeThe endpoints events are delivered to.
looptake_create_webhookwebhooks:writeSubscribe a URL to post, content and credit events.
looptake_delete_webhookwebhooks:writeStop deliveries to an endpoint.Destructive
looptake_analyze_brandworkspaces:writeRe-read the website and rebuild the brand context.
looptake_clear_brandworkspaces:writeThrow away a workspace’s derived brand context.Destructive
looptake_update_workspaceworkspaces:writeCorrect a workspace’s name, handle, site, logo or timezone.
looptake_list_modelsanyEvery image and video model: kind, lengths, tiers, tags and the provider’s list price per second or per image. Use its ids in every Lab call.
looptake_quote_modelgenerations:readThe price of one job on one model, in USD and credits, and the hold a run takes: 1.5 times the quote.
looptake_plan_briefgenerations:writePlan a plain brief, such as "3 TikTok ads under $5", into priced run, recipe, finish and plan cards. Reads trends, the workspace’s best posts and a post’s results. Starts nothing: start a run card with looptake_start_lab_run and a plan card with looptake_run_plan. The planner is billed from its receipt.
looptake_run_plangenerations:writeRun a plan of up to 8 steps, each on the last one’s output, such as video, captions, reframe to 9:16, then a scheduled post. Each step holds 1.5 times its quote when it starts and is billed from its receipt. A failed step stops the plan. Poll looptake_get_plan.Spends credits
looptake_get_plangenerations:readPoll a plan until it succeeds or fails: each step’s status, run, item and output, the failed step and why, and the post it made.
looptake_start_lab_rungenerations:writeRun one prompt on one to six models of one kind. Holds 1.5 times each quote, bills the provider receipt and refunds the rest. Items past the parallel limit wait as queued. Poll looptake_get_lab_run.Spends credits
looptake_list_lab_runsgenerations:readA workspace’s Lab runs, newest first, with each item’s id, model, tier, status and marks. Filters by kind, model, dates, failed, liked, downloaded and prompt words; pages by cursor.
looptake_get_lab_rungenerations:readPoll a Lab run until every item has succeeded or failed. A succeeded item carries its outputs and charge.
looptake_mark_lab_itemgenerations:writeLike a succeeded take, take the like back, or record a download. Its library copies take the same like.
looptake_finish_lab_itemgenerations:writeRe-run a succeeded draft at its final tier with the same prompt and seed, or upscale its clip. A new run, held and billed like any.Spends credits
looptake_advise_modelsgenerations:writeRank the models that can make a shot, with fit, reason and price, and the cheapest inside a budget. Billed from the model’s receipt.
looptake_compose_promptgenerations:writeWrite the Director fields and prompt for an idea, with its Twist level and one way to raise it. Billed from the model’s receipt.
looptake_list_looksassets:readThe workspace’s saved looks.
looptake_create_lookassets:writeSave a look: prompt text added to every prompt it is used with.
looptake_delete_lookassets:writeDelete a saved look.Destructive
looptake_look_from_imageassets:writeWrite and save a look from a reference image.
looptake_list_referencesassets:readThe workspace’s cast, sets, props and voices.
looptake_create_referenceassets:writeSave a character, set, prop or voice reference.
looptake_delete_referenceassets:writeDelete a saved reference.Destructive
looptake_render_sheetgenerations:writeRender a character, set or prop sheet on an image model.Spends credits

Limits for agents

  • Start with an lt_test_ key. It runs every tool and never posts.
  • Scopes are the agent's permissions. A read-only key: generations:read, posts:read, automations:read, influencers:read, assets:read, accounts:read, credits:read, workspaces:read, analytics:read.
  • Approving posts and attesting avatar consent are not available as tools. A person does those.
  • Use an automation for volume: it publishes nothing until launch.

Describe it. Looptake writes, renders, scores and posts it to TikTok, Reels and Shorts.

Credits never expire. Top up from $5.