Screenplay
MCP server by gmpetrov Community
Screenplay records screen videos of any website or desktop app from a plain prompt. The assistant writes a scenario, Screenplay plays and films it, then edits the result with smooth cursor, zooms, click effects and captions. It suits product demos and walkthroughs.
Install Screenplay
Built from the published package, never by AI.
claude mcp add screenplay -- npx -y agent-screenplayRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"screenplay": {
"args": [
"-y",
"agent-screenplay"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"screenplay": {
"args": [
"-y",
"agent-screenplay"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"screenplay": {
"args": [
"-y",
"agent-screenplay"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add screenplay -- npx -y agent-screenplay{
"mcpServers": {
"screenplay": {
"args": [
"-y",
"agent-screenplay"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add screenplay npx -y agent-screenplayGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the screenplay block.
About
Screenplay is an MCP server that makes screen recordings of websites and desktop apps. The AI assistant explores the target and writes a short scenario of steps. Screenplay plays that scenario in a headless browser or a desktop app, films it, and edits the video with a smooth cursor, automatic zooms, click effects, callouts, captions, title cards and an optional voice-over.
Screenplay contains no AI and needs no model key, because the agent does the planning while Screenplay does the filming and editing. It needs Node.js 20 or later and is installed with npx agent-screenplay init, which also adds the server to Claude Code, Codex and Cursor. It is aimed at people who want walkthrough or demo videos made from a prompt. The project is released under the MIT license.
Written from the project's README and checked against it.
What you need
- Node.js 20 or later
- Chromium, downloaded by the init command
- ffmpeg, shipped with the package
- Screen Recording and Accessibility permissions on macOS for desktop apps
- An X11 session with the AT-SPI accessibility bus on Linux for desktop apps
- A Cartesia or ElevenLabs API key, only if you want a generated voice-over
Try asking
- Make a 30-second walkthrough of https://askli.co
- Film how to invite a teammate in our app, with a French voice-over.
- Make a screen recording of how the checkout flow works.
Good to know
- Desktop recordings need a real screen and cannot run in a headless container.
- Wayland is not supported on Linux for desktop apps.
- Some sites ask for human verification on every visit and cannot be filmed automatically.
- check and record perform real steps, so scenarios should point to a demo account or staging environment.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Product walkthrough videos
- Feature demo recordings
- Narrated app tutorials
Alternatives to Screenplay
All alternatives →HyperFrames is HeyGen's open-source AI video editor for people and agents. It turns HTML, CSS, JavaScript and seekable animations into MP4 videos, and can be used from a desktop app, coding agents or chat.
Remocn is a hosted MCP server that helps AI assistants make Remotion videos from 935 MIT-licensed components. It searches components, reads their docs, plans a storyboard and previews results. It is for developers building videos with Remotion.
Agent-Native Assets is the Assets agent from the Agent-Native framework, which creates and organizes on-brand media. It is for developers building agents that pair autonomous work with a purpose-built UI.
Runs an open source engine for a news site that finds hot AI events and writes daily, weekly and monthly briefs. Built for people who want an industry hot-news site in their own field, with MCP access for AI agents.
Turns long videos into captioned 9:16 shorts and can publish them to TikTok, Instagram, YouTube and other networks. It suits creators, marketing agencies and developers who want a self-hosted or hosted option.
Remove AI Watermarks removes AI provenance marks from images, video, audio, and text that you generated yourself. It is aimed at developers and researchers working on AI provenance signals.
Compare with HyperFrames by HeyGen, Remocn: Remotion MCP server or Agent-Native Assets
Screenplay: common questions
Does Screenplay need an AI model key?
No. Screenplay contains no AI and needs no model key. The agent writes the scenario, and Screenplay does the filming and editing.
Can Screenplay record desktop apps?
Yes. Use an app name instead of a URL. Steps run through agent-desktop and the window is filmed with ffmpeg on macOS, Windows, and Linux under X11.
Can a Screenplay video have a voice-over?
Yes, but it is off by default and turned on per scenario. The voice comes from Cartesia or ElevenLabs with an API key, or from your own audio files.
How do I install Screenplay?
In Claude Code run claude mcp add screenplay -- npx -y agent-screenplay. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Screenplay the official server?
Screenplay is a community project by gmpetrov, not verified by a company domain.
Is Screenplay free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Screenplay safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Screenplay?
Similar MCP servers: HyperFrames by HeyGen, Remocn: Remotion MCP server, Agent-Native Assets, AIHOT.
Does Screenplay work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
