Skip to content

Claude Code

Anthropic’s official CLI for Claude. Uses your Popcorn API key as a Bearer header.

First, generate a security token. Then run this in your terminal:

Terminal window
claude mcp add --transport http popcorn https://api.popcorn.co/mcp \
--header "Authorization: Bearer YOUR_POPCORN_API_KEY"

The --transport http flag is required (Popcorn uses Streamable HTTP).

By default, Claude Code writes the MCP config to ~/.claude.json (user-wide). To scope it differently:

| Scope | Flag | Where it writes | | --- | --- | --- | | User | (default) | ~/.claude.json | | Project | --scope project | .mcp.json at the repo root | | Local user | --scope user | User-wide config |

Start a new Claude Code session and ask:

Use Popcorn to make me a 15-second vertical product promo. When it’s done, share the link.

Claude Code will call create_movie, poll get_movie until it’s ready, and hand you the video URL.