# AgentFX MCP server

> Enables AI agents to script, lint, preview, and render motion graphics and video effects using a native Rust-based renderer.

- Repository: https://github.com/agentfxhq/agentfx
- Page: https://hostedmcp.org/servers/agentfxhq/agentfx
- Transport: stdio
- Stars: 4
- License: Apache-2.0
- Latest version: 0.1.1

## Install

### Claude Code

```sh
claude mcp add agentfx -- docker run -i --rm ghcr.io/agentfxhq/agentfx:0.1.1
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "agentfx": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/agentfxhq/agentfx:0.1.1"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "agentfx": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/agentfxhq/agentfx:0.1.1"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"agentfx","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/agentfxhq/agentfx:0.1.1"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "agentfx": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/agentfxhq/agentfx:0.1.1"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add agentfx -- docker run -i --rm ghcr.io/agentfxhq/agentfx:0.1.1
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.agentfx]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/agentfxhq/agentfx:0.1.1"]
```

### Gemini CLI

```sh
gemini mcp add -s user agentfx docker -- run -i --rm ghcr.io/agentfxhq/agentfx:0.1.1
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "agentfx": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/agentfxhq/agentfx:0.1.1"
      ]
    }
  }
}
```

## FAQ

### What video formats does AgentFX support for output?

It supports MP4 (H.264, VAAPI/QSV, NVENC, or macOS VideoToolbox), ProRes 4444, VP9 with alpha, GIF, animated WebP, and PNG sequences.

### Can the AI agent see the video it is creating?

Yes, the MCP server provides frames and contact sheets as images so the agent can inspect its work.
