Influencer Studio MCP
Call Influencer Studio straight from Claude Code, Codex, Grok, Cursor or any Model Context Protocol client. Your agent can generate with every model, create and use influencers, manage voices and workspaces, check credits and post to your connected social accounts, all billed to your team's credits.
Server URL
https://influencerstudio.com/api/v2/mcp Transport: Streamable HTTP (stateless JSON). Auth: Authorization: Bearer <api key>.
Your API key
Stays in this tab only. Create a key for each agent under Settings → Team → API & MCP (requires an active subscription).
1. Connect Claude Code
One command registers the server for every project (--scope user). Drop the scope flag to add it to the current project only.
claude mcp add --transport http --scope user influencer-studio https://influencerstudio.com/api/v2/mcp \
--header "Authorization: Bearer YOUR_API_KEY" Prefer checking it into a repo? Put this in .mcp.json at the project root (use an environment variable instead of the literal key when the file is shared):
{
"mcpServers": {
"influencer-studio": {
"type": "http",
"url": "https://influencerstudio.com/api/v2/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
} Verify with claude mcp list or /mcp inside Claude Code — the server should show as connected with 28 tools.
2. Other clients
Any client that speaks Streamable HTTP and can send a static header works the same way.
Codex (OpenAI)
The Codex CLI, IDE extension and desktop app share one config file. Add this to ~/.codex/config.toml (or .codex/config.toml in a trusted project). The longer tool timeout lets wait_for_generation run its full 80 seconds; Codex stops a tool after 60 seconds by default.
[mcp_servers.influencer-studio]
url = "https://influencerstudio.com/api/v2/mcp"
bearer_token_env_var = "INFLUENCER_STUDIO_API_KEY"
tool_timeout_sec = 120 Codex sends the key from the INFLUENCER_STUDIO_API_KEY environment variable, so the key never sits in the config file. Add this line to your shell profile (~/.zshrc or ~/.bashrc) and restart Codex:
export INFLUENCER_STUDIO_API_KEY="YOUR_API_KEY" Check it with codex mcp list, or /mcp inside Codex.
Grok Build
Run this once to add the server to the grok CLI for all projects. Add --scope project to keep it in the current repo's .grok/config.toml instead.
grok mcp add --transport http influencer-studio https://influencerstudio.com/api/v2/mcp \
--header "Authorization: Bearer YOUR_API_KEY" Grok Build also loads servers from ~/.claude.json and project .mcp.json files, so a server you already added to Claude Code shows up without another step. Check it with grok mcp doctor influencer-studio.
Cursor
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"influencer-studio": {
"url": "https://influencerstudio.com/api/v2/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Claude Desktop and other stdio-only clients
Clients without a header field for remote servers can bridge through mcp-remote. Add to claude_desktop_config.json:
{
"mcpServers": {
"influencer-studio": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://influencerstudio.com/api/v2/mcp",
"--header",
"Authorization:Bearer YOUR_API_KEY"
]
}
}
}ChatGPT and grok.com
The ChatGPT and grok.com chat apps add custom servers with an OAuth sign-in and cannot send an API key, so they cannot connect yet. Use Codex or Grok Build on your computer, or call the server from the OpenAI or xAI API.
3. From the OpenAI or xAI API
Both Responses APIs can use a remote MCP server as a tool: their servers call Influencer Studio for the model while it answers. Put your Influencer Studio key in the tool's authorization field, without the Bearer prefix. Neither API stores it, so send it with every request. Keep these calls on your server, never in a browser.
OpenAI
OpenAI asks you to approve each tool call unless require_approval is "never". Leave it out to review calls, or allow only some tools with allowed_tools.
curl https://api.openai.com/v1/responses \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-astra",
"input": "List my influencers and how many credits I have left.",
"tools": [
{
"type": "mcp",
"server_label": "influencer_studio",
"server_url": "https://influencerstudio.com/api/v2/mcp",
"authorization": "YOUR_API_KEY",
"require_approval": "never"
}
]
}'xAI (Grok)
xAI runs the tool calls without asking. To limit what Grok can do, list the tools it may use in allowed_tools (allowed_tool_names in the xai_sdk mcp() helper).
curl https://api.x.ai/v1/responses \
-H "Authorization: Bearer $XAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.7",
"input": "List my influencers and how many credits I have left.",
"tools": [
{
"type": "mcp",
"server_label": "influencer_studio",
"server_url": "https://influencerstudio.com/api/v2/mcp",
"authorization": "YOUR_API_KEY"
}
]
}'4. What the agent can do
28 tools, running on the same code as the app and the REST API: same models, same inputs, same prices.
Models and generation
Every image, video, audio, 3D and text model in the catalog, with the same inputs and prices as the app.
| list_models | Browse every model, its operations and credit pricing. Filter by capability or search text. |
| get_model | The exact input schema, an example request and pricing for each operation of one model. |
| generate | Run any operation (for example flux-3/image-to-video). Deducts credits and returns a generation id. |
| wait_for_generation | Wait for a generation to finish (up to 80 seconds per call) and return the output URLs. |
| get_generation | One-off status check for a generation. |
| list_generations | Recent generations with status and URLs, filterable by type. |
| upload_file | Upload a local image, video or audio file (up to 25 MB) and get a URL to use as an input. |
| delete_generation | Remove a generation's images and videos from your library. |
Influencers
Create consistent characters and generate with them.
| list_influencers | Your influencers and whether each one is ready to generate with. |
| create_influencer | Create an influencer from 1–20 photos of the same person (250 credits). |
| train_influencer | Create an influencer from a single face image and train its angles in the background. |
| generate_influencer_image | Images of an influencer, optionally with an outfit, location, pose or product image. |
| generate_influencer_video | A short video of an influencer from a concept, with optional dialog and product. |
| set_influencer_archived | Archive an influencer or restore an archived one. |
Voices, music and LoRAs
The assets your generations can reference.
| list_voices | Custom, premium and library voices to use for text-to-speech and voice changing. |
| preview_voice | A playable sample of any voice. |
| list_music | Music tracks you have generated. |
| list_lora_models | Your trained LoRA models, their training status and weights URL. |
Workspaces
Keep results organised.
| list_workspaces | Your workspaces, to file generations and influencers into. |
| create_workspace | Create a workspace. |
Credits
See what things cost and top up.
| get_account | Team name and remaining credit balance. |
| get_credit_ledger | Every charge, refund and top-up, with the model and prompt behind each charge. |
| list_credit_packs | One-time credit packs and their prices. |
| create_credit_checkout | A checkout link for a credit pack. You complete the payment yourself in the browser. |
Social posting
Publish what you made to the accounts you have connected.
| list_social_accounts | Your connected Instagram, TikTok, YouTube, X and other accounts. |
| create_social_post | Publish or schedule an image, carousel or video to one or more accounts. |
| list_social_posts | Post history with status, links and engagement numbers. |
| write_social_caption | Draft a caption for an image or video. |
5. What the agent cannot do
These stay with a signed-in person in the app, on purpose.
- Spend money. An agent can spend the credits you already have, and can hand you a checkout link for more. It cannot charge your card, change your plan or cancel your subscription.
- Change who has access. API keys, team members and invitations, your email, password and login are only editable in the app.
- Delete permanently. An agent can remove generations from your library and archive influencers. Permanently deleting an influencer, your files or your account is done in the app.
- Connect social accounts. Linking Instagram, TikTok, YouTube or X needs you to sign in to that network, so it happens in the app under Social Posting. Once connected, the agent can post to them.
- Guided studios. Storyboard and Cinema projects, Ads, Viral posts, Mass Post batches, Trends, Automations and the bulk tools have no agent tools yet. The models behind them are all available through generate, so an agent can build the same results step by step.
6. Try it
Things to say to your agent once the server is connected:
- “Which video models can animate a still image? Pick the cheapest one that does 1080p.”
- “Upload ./product.jpg, make a 5 second product video from it with kling-4 and tell me what it cost.”
- “List my influencers and generate three outfit variations of the first one.”
- “Make a 9:16 video of my influencer Ava unboxing this product, write a caption and schedule it to her Instagram for 9am tomorrow.”
- “How many credits did I spend this week, and was anything refunded?”
Good to know
- Subscription required. The server answers only for teams on an active plan. If the plan lapses, calls return 403 until it is renewed.
- Posting is public.
create_social_postpublishes under your name. Agents are told to confirm the media, caption and accounts with you first; most clients also ask before running it. - Async by default.
generatereturns ageneration_id; the agent then callswait_for_generation(each call waits up to 80 seconds and can be repeated). Text and voice listing operations return immediately. - Media inputs are URLs. Reference images, source videos and audio must be publicly reachable.
upload_fileturns a local file into a URL on our CDN. - Credits. Every generation is priced exactly like the REST API and the app.
list_modelsandget_modelshow the rate;get_accountshows the balance. - Limits. 120 requests per minute and 10 concurrent requests per API key, shared with your REST traffic.
- Audit trail. Tool calls appear in your API request log alongside REST calls, tagged with the tool name.
- Keep the key private. Anyone holding the key can spend your credits and post to your connected accounts. Give each agent its own key, and revoke it from the API & MCP settings page if it leaks.
For developers
The endpoint is a stateless JSON-RPC 2.0 server: POST one message (or a batch) and read one JSON response. No sessions, no server-sent events, so plain HTTP tooling works:
curl -s https://influencerstudio.com/api/v2/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' Supported methods: initialize, ping, tools/list, tools/call. Protocol versions 2024-11-05 through 2025-11-25 are accepted. Notifications are answered with 202.