Motion MCP server for AI agents

Live

OAUTH 2.1

AD CREATIVES

Productivity

Motion MCP gives your agent authenticated access to ad creative analytics: performance insights, AI summaries, transcripts, demographic breakdowns, and competitor creatives.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Motion MCP
agent · Acme Q3
Run
Which of our ad creatives drove the most spend in the last 30 days?
S
motionmcp_get_creative_insights
96ms
Creative agent
Your top 3 creatives by spend in the last 30 days are 2 video ads and 1 image ad. The lead video also has the strongest ROAS of the set.
Sources: 1 workspace, last 30 days
motionmcp
3 creatives
18:29
Message Claude...

Tools your marketing agent reaches for on Motion, scoped per user.

CALL ANY TOOL
15 tools for ad creative analytics: rank your own creatives, pull AI summaries and video transcripts, and research competitor brands and their creatives.
motionmcp_get_ad_creative_map
Get ad creative map
Bulk export of every Meta ad with spend in a date range, mapped to its Motion creative asset. Use for programmatic or data-pipeline pulls (e.g. 'which ads share the same creative?'), not for performance analysis — use get_creative_insights for that. Each row is { adId, adName, adsetId, campaignId, creativeAssetId, launchDate, spend }. Ads that share a creativeAssetId run the same creative. Rows are sorted by spend descending. Pages hold up to 1000 rows (`limit`, default 1000). Pagination is offset-based: the response includes `pagination.totalCount` and `pagination.nextOffset`; to fetch everything, request offsets 0, limit, 2*limit, ... up to totalCount — these calls are independent and can run in parallel. If a page returns fewer rows than `limit` while `nextOffset` is non-null, also fetch from `nextOffset` so no rows are skipped. Keep the date range and limit identical across pages. If the report is still compiling, the tool returns `status: 'waiting'` with `pollAfterMs`; call again with identical params. Ads without a resolved creative asset and catalog/feed (dynamic product) ads are excluded. The request may write private compilation state and enqueue an internal report job over stored Motion data, but it does not start a live Facebook report. This call records private operational logs and usage telemetry.
Parameters
Name
Type
Required
Description
organizationId
string
Required
The organization ID from get_auth_context
workspaceId
string
Required
The workspace ID from get_auth_context
datePreset
string
Optional
Predefined date range. Omit if using startDate/endDate. One of: `TODAY`, `YESTERDAY`, `THIS_MONTH`, `LAST_MONTH`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_90_DAYS`, `CUSTOM`.
endDate
string
Optional
Custom end date (YYYY-MM-DD). Requires datePreset=CUSTOM.
limit
integer
Optional
Rows per page, up to 1000. Default: `1000`.
offset
integer
Optional
Zero-based row offset. Use multiples of limit; pages can be requested in parallel. Default: `0`.
startDate
string
Optional
Custom start date (YYYY-MM-DD). Requires datePreset=CUSTOM.
motionmcp_get_auth_context
Get auth context
motionmcp_get_brand_by_domain
Get brand by domain
motionmcp_get_creative_insights
Get creative insights
motionmcp_get_creative_summary
Get creative summary
motionmcp_get_creative_transcript
Get creative transcript
motionmcp_get_demographic_breakdown
Get demographic breakdown
motionmcp_get_glossary_values
Get glossary values
motionmcp_get_inspo_brand_context
Get inspo brand context
motionmcp_get_inspo_creatives
Get inspo creatives
motionmcp_get_reports
Get reports
motionmcp_get_workspace_brand
Get workspace brand
motionmcp_get_workspace_competitors
Get workspace competitors
motionmcp_search_brands
Search brands
motionmcp_submit_feedback
Submit feedback
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Motion MCP tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["motionmcp"], toolNames: [
    "motionmcp_get_auth_context",
    "motionmcp_get_creative_insights",
    "motionmcp_get_creative_summary"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Rank our ad creatives by spend for the last 30 days" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["motionmcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Rank our ad creatives by spend for the last 30 days" }],
  tools,
});

// Execute the tool call with the user's vaulted Motion credential
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["motionmcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Rank our ad creatives by spend for the last 30 days" }],
  tools,
});

// Tool call runs with the user's vaulted Motion credential
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["motionmcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "creative_agent",
  model: "gemini-2.5-pro",
  instruction: "Motion MCP tools scoped to this user",
  tools,
});

await agent.run("Rank our ad creatives by spend for the last 30 days");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Motion MCP tool. Click to copy, paste into your agent, done.
Creative performance
Copy the prompt
Copied
Rank my ad creatives by ROAS for the last 14 days.
Copy the prompt
Copied
Summarize the top-spending video creative from this month.
Copy the prompt
Copied
Pull the transcript for my best-performing video ad.
Audiences and reports
Copy the prompt
Copied
Break down last month's ad performance by age and gender.
Copy the prompt
Copied
List the saved reports in my workspace.
Copy the prompt
Copied
Show the glossary tags my workspace uses to label creatives.
Competitor research
Copy the prompt
Copied
List the competitor brands my workspace tracks.
Copy the prompt
Copied
Show active creatives these competitors launched in the last 30 days.
Copy the prompt
Copied
Get the brand positioning and messaging angles for example.com.
SEE HOW AUTH WORKS
Each user signs in to Motion once; Scalekit stores and refreshes their tokens. Every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Motion MCP
once. We tie it to their identity and the meetings they approved — no shared bot account, no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Motion MCP
token lives in a vault scoped to them. User A's meetings are never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tokens:
auto-refreshed
3
Resolve
When your agent calls a
Motion MCP
tool, we fetch the right token server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Motion MCP
tool call is logged — who triggered it, which meeting was fetched, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other marketing and analytics connectors.
Support and Ops Teams
Email-to-calendar agent
Reads scheduling intent out of Gmail threads, resolves the times everyone actually has free, and creates the event on the user's own Google Calendar. No shared service account.
Support and Ops Teams
Meeting prep
Pulls agenda, participant context, and open action items before every meeting.
GTM and RevOps Teams
Sales call prep agent
Reads tomorrow's calls from Google Calendar, mines past Granola notes and Attio history for context, and delivers each rep a prep brief in Slack, scoped to the calls that rep actually owns.
GTM and RevOps Teams
CRM AI agent
Reads the Granola transcript after every call, extracts next steps and updates the HubSpot record, drafts the follow-up in Gmail, and confirms in Slack, all on the rep's own delegated OAuth.
Test other agents
See the same per-user auth pattern across other marketing and analytics connectors.
OPS
Email-to-calendar scheduling agent
Read scheduling intent out of Gmail threads, resolve mutual free time, and create the Google Calendar event.
OPS
Meeting prep agent
Assemble the agenda, HubSpot attendee history, and open action items from Gmail before every meeting on the calendar.
SALES
Sales call prep agent
Read tomorrow's calls from Google Calendar, mine Granola notes and Attio history, and deliver each rep a prep brief in Slack.
GTM
CRM AI agent
Turn each Granola call transcript into a HubSpot record update, a drafted Gmail follow-up, and a Slack recap.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Motion token looks fine in a demo. In production every creative report looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Motion today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Motion as the user or through a shared key?
As the user. Scalekit resolves the credential of the person who triggered the agent at request time, so every Motion query in your audit trail is attributed to a real user, not a shared service account.
Where is the Motion token stored?
Each user signs in to Motion once; Scalekit stores and refreshes their tokens. The credential sits in an AES-256 encrypted vault with per-tenant namespacing, is resolved at request time, never enters LLM context, and can be revoked from one dashboard.
Can I limit what the agent does in Motion?
Yes. Filter by tool name in listScopedTools to expose only what you want. Scalekit also enforces scope checks before every API call.
What happens when a user revokes access?
The credential is invalidated at the next tool call. The call fails closed, other users' connections are unaffected, and the revocation is logged in the audit chain.
What can the agent do with Motion MCP?
Motion MCP has 15 tools: 14 read and 1 write. Your agent can rank your own ad creatives, pull AI summaries and video transcripts, break down performance by age and gender, open saved reports, and research competitor brands and their creatives. Start with motionmcp_get_auth_context, which returns the workspaceId the other tools need.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""motionmcp"": {
""url"": ""https://mcp.scalekit.com/motionmcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.motionmcp]
url = ""https://mcp.scalekit.com/motionmcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""motionmcp"": {
""url"": ""https://mcp.scalekit.com/motionmcp"",
""type"": ""http""
}
}
}