MCP
Pure Frame exposes your video library as an MCP server. Once connected, any MCP-compatible AI client can search footage, list collections, and retrieve video details — all through natural language. Try asking your agent: “Find the moment our CEO mentions pricing.”
Quick Start
Claude Code
Claude Desktop
Cursor
VS Code
Codex
OpenCode
Run this once:
Or add it manually to ~/.claude.json:
Try it: “Search my videos for a customer mentioning pricing objections.”
What is MCP?
The Model Context Protocol (MCP) is an open standard for connecting AI clients to external tools and data sources. Instead of writing custom integration code for each AI product, you configure one MCP server and every MCP-compatible client — Claude, Cursor, VS Code, Codex, OpenCode, and others — can call it the same way.
How It Works
- Your AI client sends a natural-language request to the model (e.g. “find the moment someone mentions churn”)
- The model decides to call the
search_videostool and generates its input - The MCP server forwards the call to Pure Frame’s API and returns matching clips — including
thumbnail_base64, a base64-encoded JPEG of the matched frame - The model reads the frame directly, in the same turn, without fetching a URL, and can answer follow-up questions about what’s visible
Available Tools
Detailed Configuration
All six clients above use the same underlying local server, started via npx -y pureframe-mcp, with one required environment variable:
Config file locations:
Advanced Setup
Remote MCP (no install) — for clients that support remote MCP endpoints, including Claude.ai web, skip the local npx process entirely and point at Pure Frame’s hosted Worker:
Scoping to a collection — pass collection_id to search_videos to limit results to one library. Call list_collections first to discover available IDs:
Rate limits — agent tool calls share the same limits as the REST API: 30 requests/minute for search_videos. See Rate Limits.
Usage Examples
Search footage
- “Find the moment someone mentions the annual contract.”
- “Search for a clip of a whiteboard diagram.”
Browse collections
- “List all my video collections.”
- “How much storage is the ‘Sales calls’ collection using?”
Inspect a video
- “Get the playback URL for video vid_abc123.”
- “How long is the demo recording from last Tuesday?”
Troubleshooting
Client doesn’t detect the server — restart the client after editing its config file. For Claude Code, confirm with claude mcp list.
“Invalid API key” errors — check that PUREFRAME_API_KEY (or the Authorization header for remote MCP) is set correctly and hasn’t been revoked in API Keys.
No results returned — the query may not match any indexed content, or collection_id may be scoping the search too narrowly. Try list_collections first, or omit collection_id to search the whole library.
npx command not found — the local server requires Node.js. Install it, or use the remote MCP endpoint instead, which requires no local runtime.
Further Resources
- Agent Vision — the concept behind giving agents visual search
- API Reference — every endpoint, parameter, and response field
- SDKs — official Python and TypeScript clients