Skip to main content
Glama
editin-record

editin-record

Official
by editin-labs

What is editin-record?

editin-record is a free, open source (MIT) AI screen recorder for web apps. You do not click through the demo yourself. You tell an AI agent (Claude, Cursor or another MCP client) what to show, and you get the video:

Make a screen recording of how to add text to a video on staging.reactvideoeditor.com. Add a headline, type "Lights out", make it bigger and drag it into place. Make a 16:9 and a 9:16 version.

You get these files:

  • final.mp4: a 1080p, 60 fps screen recording. The camera zooms in on each click and pans between actions, the same way as in an edited product demo.

  • final-9x16.mp4: a vertical 1080x1920 version. The crop follows the action.

  • raw.mp4: the full frame at 2880x1620 with no zoom, for your own video editor.

  • script.json: each step of the demo. Change a word and record again. You do not need to describe the demo again.

  • events.json: the time and the position of each click, each typed word and each drag, for captions and effects.

Who is it for?

  • SaaS founders and product teams who need product demo videos, feature launch videos and changelog videos for each release.

  • Marketers who need screen recording footage for ads, landing pages and social posts.

  • Developer relations and docs teams who make tutorial videos and how-to videos, and who must record them again after each UI change.

  • Agencies who make explainer videos for many clients.

  • Developers and AI agents who need a screen recording step that they can call from code or MCP.

Related MCP server: Agent Demo Studio

Quick start

You need Node.js 20 or later, pnpm and ffmpeg.

brew install ffmpeg                        # macOS. On Linux, use your package manager.
git clone https://github.com/editin-labs/editin-record
cd editin-record
pnpm install
pnpm exec playwright install chromium

Add the MCP server to Claude Code:

claude mcp add editin-record -- npx tsx "$(pwd)/src/cli.ts" mcp

Start Claude Code and ask for a recording in plain words. To try it with no AI agent, record the example script:

pnpm cli record examples/rve-add-text/script.json --aspect 16:9,9:16

How do I make a screen recording with Claude?

  1. Add the MCP server (see Quick start).

  2. Tell Claude the URL and what to show. Name the formats that you need, for example "16:9 and 9:16".

  3. Claude opens a browser, looks at the page, and does the demo one action at a time.

  4. Claude calls record. After about one minute, you get the videos and their paths.

  5. To change the demo, tell Claude what to change, or edit script.json and run pnpm cli record again.

Why does the recording look clean?

An AI agent that uses a browser is slow. It stops to think, and sometimes it misses a click. A video of that run is not good footage. Thus editin-record uses three passes:

  1. Plan pass. Claude controls the browser through MCP. Each action that works becomes a step in script.json. This pass records nothing.

  2. Record pass. editin-record replays the script like a person:

    • The cursor moves on soft curves and stops a little before each click.

    • A small ripple shows each click.

    • It types one key at a time.

    • It holds after each action, so the viewer can see the result.

    • Setup steps (for example, a cookie banner or a welcome pop-up) run before the recording starts.

  3. Render pass. ffmpeg adds the camera moves from events.json.

The replay uses one random seed, so the cursor path is the same each time. A new recording of the same script gives the same video.

How does the auto zoom work?

editin-record knows where each action happens, so it does not guess from the pixels:

  • Clicks: the camera zooms in on the button.

  • Typing: the camera fits the text field.

  • Drags: the camera fits both ends of the drag.

  • Actions close together: the camera stays in and pans between them.

  • After the last action: the camera zooms out.

  • Easing: each camera move is smooth.

The recording is 1.5x the page size (2880x1620 for a 1920x1080 page), so a 1.5x zoom stays sharp in a 1080p video. Set zoom: false on a step to keep the camera wide. Use --zoom 1 for no zoom.

To change the zoom, you do not need a new recording:

pnpm cli render recordings/how-to-add-text --zoom 1.3

How do I make a vertical 9:16 screen recording for TikTok, Reels and Shorts?

Add --aspect 9:16, or tell Claude "make a vertical version". editin-record does not record the demo again. It uses the same recording as the 16:9 video:

  • It crops a 9:16 window from the desktop frame.

  • The crop follows the cursor.

  • The camera zooms in on each action.

  • The desktop layout of the app stays the same.

Use 1:1 for a square video.

pnpm cli record script.json --aspect 16:9,9:16,1:1

How is it different from Screen Studio, Arcade, Loom or Playwright?

editin-record

Screen Studio

Arcade, Supademo

Loom

Playwright recordVideo

browser-use, Stagehand

You say what to show, and an AI does the demo

Yes

No

No

No

No (you write code)

Yes

Auto zoom on each click

Yes

Yes

Yes

No

No

No

Smooth drawn cursor

Yes

Yes

Yes

Real cursor

No cursor

No

60 fps video

Yes

Yes

No (interactive steps)

Yes

No

No

Vertical 9:16 version

Yes

Yes

No

No

No

No

Record again after a UI change

One command

Click through again

Capture again

Record again

Run the code again

The agent runs again (not the same each time)

MCP server for AI agents

Yes

No

No

No

No

Some

Open source

Yes (MIT)

No

No

No

Yes

Yes

Price

Free

Paid

Paid

Free plan and paid

Free

Free plus the model costs

editin-record is a free, open source Screen Studio alternative for web apps when you want an AI agent to make the demo. If you must record a desktop app or your own voice, use a usual screen recorder.

Use editin-record from Claude Code, Cursor or another AI agent (MCP)

For Claude Code:

claude mcp add editin-record -- npx tsx /path/to/editin-record/src/cli.ts mcp

For Cursor, Claude Desktop, Windsurf or another MCP client, add this to the MCP settings:

{
  "mcpServers": {
    "editin-record": { "command": "npx", "args": ["tsx", "/path/to/editin-record/src/cli.ts", "mcp"] }
  }
}

The server sends its instructions to the agent, so the agent knows the flow.

Tool

What it does

start_session

Opens a browser at a URL and starts a new script.

snapshot

Lists the visible elements with short refs, for example e12 button "Add text". Buttons with only an icon get a name from the icon, for example icon:type.

screenshot

Gives a picture of the page. Use it for canvases, timelines and drag targets.

click, hover, type, press, drag, upload, scroll, wait, goto

Do one action and save it as a step. Give an element by its ref, or give x and y.

undo_step, list_steps

Change the script.

end_session

Saves the script and closes the browser.

record

Replays the script, records it at 60 fps, and renders the videos.

render

Renders the videos again with a new aspect or zoom.

Each action can have these options:

  • caption: a short text for an explainer video. It goes into events.json.

  • pause_after: the time to hold after the action, in milliseconds.

  • zoom: false: the camera stays wide for this action.

  • setup: true: the action runs before the recording starts. This works only for actions at the start of the script.

The script

The script is a JSON file. Claude writes it, and you can also write or change it yourself. This is examples/rve-add-text/script.json in a short form:

{
  "version": 1,
  "title": "How to add text to a video in React Video Editor",
  "url": "https://staging.reactvideoeditor.com",
  "viewport": { "width": 1920, "height": 1080 },
  "steps": [
    { "action": "click", "setup": true, "target": { "role": "button", "name": "Got it" } },
    { "action": "click", "caption": "Open the Text panel", "target": { "css": "button:has(svg.lucide-type)" } },
    { "action": "type", "text": "Lights out", "clear": true, "target": { "placeholder": "Enter your text here..." } },
    { "action": "drag", "caption": "Drag it into place", "from": { "point": { "x": 1072, "y": 216 } }, "to": { "point": { "x": 1200, "y": 420 } } }
  ]
}

A target can contain more than one way to find the element. The replay tries testId, then role and name, label, placeholder, text and css. It uses the first one that finds exactly one visible element. If none of them finds an element, it uses point. Thus a script continues to work after small changes to the layout.

Apps that need a sign-in

pnpm cli login https://app.example.com --save auth.json

Sign in in the browser window, and then press Enter. Put "auth": "auth.json" in the script, or give auth to start_session. Do not commit this file, because it contains your session. The .gitignore file already excludes it.

Options

Option

Default

What it does

--aspect

16:9

16:9, 9:16, 1:1, or a list, for example 16:9,9:16.

--zoom

1.5

The largest zoom. Use 1 for no zoom.

--scale

1.5

The pixel density of the recording. 2 is sharper, but the frame rate is about 30 fps.

--headed

off

Shows the browser while it records.

--no-render

off

Makes only raw.mp4 and events.json.

--out

the script folder

The output folder.

How it works

  • Browser control: Playwright controls Chromium. The plan pass and the record pass use the same action code. Thus a step that works in the plan pass works the same way in the record pass.

  • Capture: the Chrome DevTools screencast sends a frame each time the page paints. The browser runs at a device scale factor of 1.5. Without this setting, the screencast sends frames at the CSS size.

  • Encode: ffmpeg gives each frame its real time and makes a constant 60 fps H.264 file.

  • Camera: editin-record calculates the camera keyframes from events.json. Then it writes them as one ffmpeg zoompan expression with smooth easing. For 9:16, a moving crop comes first.

  • Cursor: the cursor is an element that the page draws. It follows the real mouse events, so it is always where the click goes.

FAQ

Is editin-record free? Yes. It is MIT licensed and runs on your computer. If you use it from Claude Code, the plan pass uses your Claude plan. The record pass and the render pass use no AI.

Does it record my real screen? No. It records one browser tab that it controls. Your desktop, your notifications and your other windows do not show in the video.

Can it record a desktop app or a mobile app? Not now. It records web apps. You can record a mobile web view: set the viewport to a phone size, for example "viewport": { "width": 390, "height": 844 }.

Can I add a voice-over, music or captions? editin-record makes the footage. Each step's caption goes into events.json with its time, so a video editor can add captions at the correct time. Editin can add the voice-over, the captions and the brand.

What if the app changes after I record? Run pnpm cli record script.json again. Most targets use the role, the label or the text of the element, so small layout changes do not stop the script. If a step fails, the error names the step. Tell Claude to fix that step.

Can I use it without Claude? Yes. Write script.json yourself and run pnpm cli record. Any MCP client can also use the server, for example Cursor, Windsurf or your own agent.

Can it record a page that needs a sign-in? Yes. See Apps that need a sign-in.

Which formats does it make? MP4 (H.264, 60 fps): 1920x1080 for 16:9, 1080x1920 for 9:16, and 1080x1080 for 1:1. The raw file is 2880x1620.

Limits

  • It records one browser tab. It does not follow a new tab or record a native app.

  • A page that changes on each load (a random feed, a live clock) can move elements between the plan pass and the record pass. Targets with a role, a label or a test ID are safer than points.

  • It does not record audio.

Use it in a responsible way

Record only apps that you own or have permission to record. Do not use editin-record to make a demo that shows a feature that does not work.

Want a finished video, not only the footage?

editin-record gives you clean footage. Editin makes the finished video: a script, a voice-over, captions and your brand, in many formats.

Contribute

Issues and pull requests are welcome.

pnpm install
pnpm typecheck
pnpm test

License

MIT. Made by Editin.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers