# Remotion MCP (Documentation Lookup)

Remotion provides an official MCP server that indexes their documentation into a vector database. Use this for real-time, accurate API lookups.

**Package:** `@remotion/mcp`
**Docs:** https://www.remotion.dev/docs/ai/mcp

## Why Use It

- Get up-to-date API references (not stale training data)
- Vector-indexed search across all Remotion docs
- Useful when unsure about specific API signatures or options

## Configuration

### For Cursor

```json
{
  "mcpServers": {
    "remotion-documentation": {
      "command": "npx",
      "args": ["@remotion/mcp@latest"]
    }
  }
}
```

### For VS Code (GitHub Copilot)

```json
{
  "name": "remotion-documentation",
  "command": "npx",
  "args": ["@remotion/mcp@latest"]
}
```

### For Claude Desktop / OpenClaw

Add to your MCP config:

```json
{
  "mcpServers": {
    "remotion-documentation": {
      "command": "npx",
      "args": ["@remotion/mcp@latest"]
    }
  }
}
```

## Usage Pattern

When generating Remotion code and you need to verify:
- Exact prop names or types
- Available options for a component
- Correct import paths
- API changes in recent versions

Query the MCP with specific questions like:
- "What props does useCurrentFrame return?"
- "How do I use spring() with custom config?"
- "What are the options for Img component?"

## Note

This is in test phase — Remotion may restrict usage if it gets expensive. Use for specific lookups, not bulk queries.
