---
title: AgentCut for developers and AI agents
url: https://getagentcut.com/developers
description: Quickstart, MCP tools, local HTTP API, command line and templates for AgentCut.
---

# AgentCut for developers and AI agents

AgentCut has two programmatic interfaces, and both run on your own computer:

1. **MCP server** (`agentcut-mcp`): a stdio Model Context Protocol server with 13 `agentcut_*` tools. Use it from Claude Code, Claude Desktop or any MCP client.
2. **Local HTTP API**: `http://127.0.0.1:7878`, JSON in snake_case, token-protected. Use it from scripts, CI jobs or agents without MCP.

There is no hosted cloud API, no API key to request and no rate limit: the API is the app running on your machine. Source: https://github.com/AmirS2411/agentcut

## Quickstart

1. Install AgentCut: macOS 15+ from https://github.com/AmirS2411/agentcut/releases/latest, Windows 10+ from https://github.com/AmirS2411/agentcut/releases?q=windows&expanded=true
2. Open it once. On Mac, grant Screen Recording and Accessibility, then reopen the app.
3. Register the MCP server:

```bash
# Claude Code, macOS
claude mcp add agentcut -s user -- /Applications/AgentCut.app/Contents/MacOS/agentcut-mcp
```

```powershell
# Claude Code, Windows
claude mcp add agentcut -s user -- "$env:LOCALAPPDATA\Programs\AgentCut\agentcut-mcp.exe"
```

```json
{ "mcpServers": { "agentcut": { "command": "/Applications/AgentCut.app/Contents/MacOS/agentcut-mcp" } } }
```

The JSON block goes in Claude Desktop's `claude_desktop_config.json`. The MCP server launches the app if it is not running.

Then ask your agent: "Record a walkthrough of creating a new project in our app, with a guide."

## MCP tools

| Tool | What it does |
|---|---|
| `agentcut_status` | App state, version and permissions |
| `agentcut_list_sources` | Displays, windows, apps and devices you can record |
| `agentcut_list_templates` | Built-in and custom templates |
| `agentcut_start_recording` | Start with a source, template, mode (`video`, `steps`, `both`) and title |
| `agentcut_add_step` | Narrate the next action; optional `x`/`y` (0 to 1) to aim the camera |
| `agentcut_add_marker` | Drop a labelled marker on the timeline |
| `agentcut_focus` | Hold the camera on a point for a few seconds |
| `agentcut_stop_recording` | Stop; returns steps, screenshots and guide paths, and starts the render |
| `agentcut_render` | Render or re-render with another template, mockup or aspect ratio |
| `agentcut_export_guide` | Write `guide.md` and `guide.html` |
| `agentcut_list_projects` | List takes |
| `agentcut_get_project` | One take with its render status |
| `agentcut_request_permissions` | Trigger the macOS permission prompts |

Typical flow: `agentcut_status` → `agentcut_list_sources` → `agentcut_start_recording` → (call `agentcut_add_step` before each action, pause about 1 second between actions) → `agentcut_stop_recording` → `agentcut_render` or poll `agentcut_get_project` until the render is `done`.

Coordinates are normalized 0 to 1, top-left origin, relative to the recorded area. Browser automation over the Chrome DevTools Protocol does not move the real cursor, so agents driving a browser should pass `x`/`y` with each step.

## Local HTTP API

- Base URL: `http://127.0.0.1:7878` (localhost only; override the port with `AGENTCUT_PORT`)
- OpenAPI 3.1 spec: https://getagentcut.com/openapi.json
- MCP server card: https://getagentcut.com/.well-known/mcp/server-card.json
- Authentication: header `X-AgentCut-Token`. The token is in `~/Library/Application Support/AgentCut/api-token` (Mac) or `%APPDATA%\AgentCut\api-token` (Windows). `/health` needs no token.

```
GET  /health
GET  /status
GET  /sources?kind=window
GET  /templates
GET  /projects
GET  /projects/<id>
POST /record/start  {source:{kind,id,rect}, template, mode, title, system_audio, microphone, auto_render, countdown}
POST /record/stop
POST /step          {title, detail, x, y}
POST /marker        {label}
POST /focus         {x, y, scale, duration}
POST /render        {project_id, template, mockup, aspect, wait}
POST /guide         {project_id}
POST /permissions/request
```

Example (macOS):

```bash
TOKEN=$(cat ~/Library/Application\ Support/AgentCut/api-token)
curl -s -X POST 127.0.0.1:7878/record/start -H "X-AgentCut-Token: $TOKEN" \
  -d '{"source":{"kind":"window","id":"Google Chrome"},"template":"onboarding","mode":"both","title":"Create a project"}'
curl -s -X POST 127.0.0.1:7878/step -H "X-AgentCut-Token: $TOKEN" -d '{"title":"Click New project","x":0.82,"y":0.12}'
curl -s -X POST 127.0.0.1:7878/record/stop -H "X-AgentCut-Token: $TOKEN"
```

## Command line

- `agentcut-mcp` ships inside the app (`/Applications/AgentCut.app/Contents/MacOS/agentcut-mcp` on Mac, `agentcut-mcp.exe` in the install folder on Windows). It is the stdio MCP server and the supported way to script AgentCut from a terminal-based agent.
- Plain shell scripts can call the HTTP API with `curl` as shown above.
- Build from source on Mac: `git clone https://github.com/AmirS2411/agentcut.git && cd agentcut && ./build.sh`

## Templates

Built-in: `onboarding` (default), `training`, `troubleshooting`, `feature-demo`, `laptop-showcase`, `bug-report`, `mobile-app` (9:16 iPhone), `mobile-showcase` (16:9 iPhone), `social-vertical` (9:16), `square-tutorial` (1:1).

Custom templates are JSON files in `~/Library/Application Support/AgentCut/Templates/` (Mac) or `%APPDATA%\AgentCut\Templates\` (Windows). Start from a built-in with `base` and override any field:

```json
{ "base": "training", "id": "acme-training", "name": "Acme Training", "accent": "#0A6CFF", "mockup": "browser" }
```

Fields: `aspect` (16:9, 9:16, 1:1, 4:3, source), `mockup` (none, window, browser, laptop, iphone, ipad), `background`, `backgroundAngle`, `padding`, `cornerRadius`, `shadow`, `fill`, `autoZoom`, `zoomScale`, `followCursor`, `clickEffects`, `captions`, `stepNumbers`, `keystrokeOverlay`, `introCard`, `accent`, `exportGuide`, `fps`.

## Output files

Each take is a folder in `~/Movies/AgentCut/<project-id>/` (Mac) or `%USERPROFILE%\Videos\AgentCut\<project-id>\` (Windows): `raw.mov` (`raw.mp4` on Windows), `meta.json`, `events.json`, `steps.json`, `steps/step-NN.png`, `guide.md`, `guide.html`, `renders/*.mp4`.

## Agent skill

A ready-made agent skill with the workflow and a template-by-use-case table: https://github.com/AmirS2411/agentcut/blob/main/skills/agentcut/SKILL.md

## Known limits (v0.1)

- Touches on a physical iPhone are not tracked; the iOS Simulator is.
- Region selection is API-only.
- On Windows, window and app sources record that window's area of the screen, so keep it on top. iPhone capture is Mac only.
