MCP for agents

View as Markdown

This page explains how to connect an AI agent, such as Claude, Codex or Cursor, to Blitframe. The Model Context Protocol (MCP) is the standard way to give an agent tools. Blitframe runs an MCP server, and an agent connected to it can create projects, edit compositions and render videos for you. The server's address is:

https://blitframe.codeartworks.com/mcp

An agent also needs Blitframe's skills, the instructions it reads to do each task. Quickstart: AI Agent sets up both. To build your own agent on a model's API, see Build your own agent.

Connect your agent

Most agents connect by signing in with your Code Artworks account: you give the agent the URL, and it opens a sign-in page. Quickstart: AI Agent shows how in each agent.

An agent that can't open a browser, such as one in CI, connects with an API key instead. Create one in Console → API keys, put it in the BLITFRAME_API_KEY environment variable, and add the server as below.

Claude

The Claude app connects by signing in. In Claude Code:

claude mcp add --transport http --scope user blitframe https://blitframe.codeartworks.com/mcp \
  --header "Authorization: Bearer $BLITFRAME_API_KEY"

The shell puts the key itself into Claude Code's settings. Install the skills separately, as Skills says.

Codex

codex mcp add blitframe --url https://blitframe.codeartworks.com/mcp --bearer-token-env-var BLITFRAME_API_KEY

Codex reads the key from the variable each time, so its settings hold no key.

Cursor

Add the blitframe entry to ~/.cursor/mcp.json. Cursor reads the key from the variable:

{
  "mcpServers": {
    "blitframe": {
      "url": "https://blitframe.codeartworks.com/mcp",
      "headers": { "Authorization": "Bearer ${env:BLITFRAME_API_KEY}" }
    }
  }
}

VS Code

Add the blitframe entry to .vscode/mcp.json in your project folder. VS Code asks for the key the first time it connects and keeps it out of the file:

{
  "inputs": [
    { "type": "promptString", "id": "blitframe-key", "description": "Blitframe API key", "password": true }
  ],
  "servers": {
    "blitframe": {
      "type": "http",
      "url": "https://blitframe.codeartworks.com/mcp",
      "headers": { "Authorization": "Bearer ${input:blitframe-key}" }
    }
  }
}

Gemini CLI

gemini mcp add --transport http --scope user --header "Authorization: Bearer $BLITFRAME_API_KEY" blitframe https://blitframe.codeartworks.com/mcp

Any other client

Any client that speaks MCP over HTTP can connect. Give it these settings:

Setting Value
Transport Streamable HTTP
URL https://blitframe.codeartworks.com/mcp
Header Authorization: Bearer blitframe_...

To check that the key works without an agent, see Check the connection. For an agent you build on Claude's or OpenAI's API, see Build your own agent.

Find it in MCP directories

Blitframe's server is listed in the official MCP Registry as com.codeartworks/blitframe, and on Glama, where you can browse its tools.

Signing in

An agent that signs in works under your Code Artworks account and needs no API key. On the sign-in page the agent opens:

  1. Sign in.
  2. Approve the app for one workspace. The agent then acts as you in that workspace, with your role there.

What the agent can do depends on who signed in:

Who signs in What happens
An owner, admin or developer Can use every tool
A billing member Every request is refused with 403 role_not_allowed, because this role cannot use the API
An account that has not confirmed its email address Every request is refused with 403 email_not_verified until the address is confirmed

To take an app's access away, disconnect it in Console → Account → Security, under Connected apps. The app's requests can still be accepted for up to 10 more minutes. To move an app to another workspace, disconnect it and connect it again.

An agent that connects with a key should have a key of its own. To cut off that agent alone, revoke its key.

Tools

A tool is one action the agent can take, such as create_project, edit_project or render. Each tool runs the same operation as a REST endpoint. The Agent reference lists them all.

A tool call carries text, not binary files. To add an image, video, audio, font or ZIP file, the agent creates an upload and sends the file to the upload's address with an HTTP PUT. An agent that cannot send an HTTP request itself, such as one in a chat app without a shell, cannot add those files. It can still write compositions and reuse files that are already in your workspace.

What agents are told

When an agent connects, the server sends it short instructions: which calls to confirm with you first, the edit and render workflow, and the composition rules agents get wrong most often. They tell the agent to read the Agent reference for the rest.

An agent can also read these docs through the server, as MCP resources: blitframe://docs/{page} for each page, and blitframe://docs/data-json-format/{section} for each section of the format reference.