Wistia MCP server for AI agents

Live

BEARER TOKEN

VIDEO HOSTING

Media

Wistia gives your agent video library management in your Wistia account: search media, folders, and channels, read viewing statistics and engagement, manage captions and tags, and import, move, archive, and delete media.

  • Per-user credentials: each call uses the actual user's access 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.
Wistia
agent · Acme Q3
Run
How many plays did the product demo video get?
S
wistia_media_stats_get
171ms
Video library agent
The product demo has 1,842 plays from 6,310 loads, a 29% play rate.
Sources: Wistia media stats, 1 video
wistia
1,842 plays
18:29
Message Claude...

Tools your video hosting agent reaches for on Wistia, scoped per user.

CALL ANY TOOL
30 tools for video hosting in Wistia: search media, folders, and channels, read viewing stats and engagement, manage captions and tags, and import, move, archive, and delete media.
wistia_account_get
Get account
Get a summary of the Wistia account. Returns id, name, url, media_count, video_limit, folder_count and channel_count. Use this to confirm which account the connection uses.
Parameters
Name
Type
Required
Description
—
No parameters required
wistia_account_stats_get
Get account stats
wistia_background_job_status_get
Get background job status
wistia_channels_list
List channels
wistia_folder_create
Create folder
wistia_folder_delete
Delete folder
wistia_folder_get
Get folder
wistia_folder_update
Update folder
wistia_folders_list
List folders
wistia_media_captions_create
Create media captions
wistia_media_captions_delete
Delete media captions
wistia_media_captions_get
Get media captions
wistia_media_captions_list
List media captions
wistia_media_copy
Copy media
wistia_media_delete
Delete media
wistia_media_engagement_get
Get media engagement
wistia_media_get
Get media
wistia_media_import_url
Media import url
wistia_media_stats_get
Get media stats
wistia_media_tags_add
Add media tags
wistia_media_update
Update media
wistia_medias_archive
Archive medias
wistia_medias_list
List medias
wistia_medias_move
Move medias
wistia_medias_restore
Restore medias
wistia_search
Search
wistia_subfolder_create
Create subfolder
wistia_subfolders_list
List subfolders
wistia_tag_create
Create tag
wistia_tags_list
List tags
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);

// Wistia tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["wistia"], toolNames: [
    "wistia_search",
    "wistia_media_stats_get",
    "wistia_media_engagement_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find the product demo video, show its play stats, and pull its engagement graph" }] });
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: ["wistia"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find the product demo video, show its play stats, and pull its engagement graph" }],
  tools,
});

// Execute the tool call with the user's vaulted Wistia access token
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: ["wistia"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find the product demo video, show its play stats, and pull its engagement graph" }],
  tools,
});

// Tool call runs with the user's vaulted Wistia access token
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: ["wistia"] }, pageSize: 100,
});

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

await agent.run("Find the product demo video, show its play stats, and pull its engagement graph");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Wistia tool. Click to copy, paste into your agent, done.
Find media
Copy the prompt
Copied
Search my Wistia account for onboarding videos.
Copy the prompt
Copied
List the media in the Marketing folder.
Copy the prompt
Copied
Show the engagement graph for the product demo.
Stats and captions
Copy the prompt
Copied
Show account-wide play counts and hours watched.
Copy the prompt
Copied
Get the viewing stats for the product demo video.
Copy the prompt
Copied
Get the English captions for the webinar recording.
Organize media
Copy the prompt
Copied
Import this video URL into the Marketing folder.
Copy the prompt
Copied
Tag these 10 videos with q4-launch.
Copy the prompt
Copied
Archive these 20 old videos.
SEE HOW AUTH WORKS
Each user connects their own Wistia access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Wistia
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Wistia
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Wistia
tool, we fetch the right credential 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
Wistia
tool call is logged: who triggered it, which tool ran, 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 media and marketing connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
Test other agents
See the same per-user auth pattern across other media and marketing connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Wistia access token looks fine in a demo. In production every media import and delete 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.
Wistia 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 Wistia as the user or through a shared token?
As the user. Each user connects their own Wistia access token once, and Scalekit sends it with every call. Every media import and delete in your audit trail is attributed to that user, not a shared service account.
Where is the Wistia access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Wistia?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the stats and list tools without wistia_folder_delete, which deletes a folder and all the media inside it, or wistia_media_delete. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Wistia access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
What happens to a video the agent deletes?
wistia_media_delete moves the media to the account's Recently Deleted area. wistia_medias_archive hides up to 100 media from the library without deleting them, and wistia_medias_restore restores archived media into a folder.
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"": {
""wistia"": {
""url"": ""https://mcp.scalekit.com/wistia"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.wistia]
url = ""https://mcp.scalekit.com/wistia""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""wistia"": {
""url"": ""https://mcp.scalekit.com/wistia"",
""type"": ""http""
}
}
}