Pagecast

io.github.mcpware由 GitHub 账号 mcpware 发布v0.2.1更新于 Oct 24, 2026

Record any browser page as GIF or video via MCP

已验证STDIO仅桌面浏览器自动化媒体与设计

概览

AI 生成的概览

把浏览器页面录制成 GIF 或 MP4 演示视频,让助手操作页面并导出带缩放特效的成品。

可以做什么
  • 在 Chromium 中打开网址并开始录制,自动注入光标高亮与点击波纹
  • 操作页面:点击、输入、悬停、滚动、按键、选择、跳转、等待元素出现
  • 停止录制并保存 webm 文件与交互时间线
  • 导出为 GIF 或 MP4,可选提示框特写、电影式裁切平移或普通转换,并可设置帧率、宽度与裁剪
  • 一次调用完成录制与导出,支持 GitHub、YouTube、Reels、TikTok、Instagram 等平台预设
  • 列出输出目录中已有的 webm、GIF 和 MP4 文件
适用场景
适合需要为 README、产品页、社交媒体或缺陷报告制作网页应用演示动图或视频,并希望由助手自动点击操作、直接产出成品,而不用另开录屏软件或视频剪辑工具的场景。
运行要求
以 stdio 方式在本地运行 npm 包,需要 Node.js 20 或更高版本、已安装 ffmpeg,并在首次使用时安装 Playwright 的 Chromium 浏览器。浏览器默认可见,也可用无头模式运行。输出默认写入 ./recordings,可通过 RECORDING_OUTPUT_DIR 修改。
安装前请注意
助手会操控真实浏览器,对给定网址执行点击、输入和跳转,因此只应指向可信页面,避免登录敏感账号。录制文件与时间线会写入输出目录,可能包含页面上可见的任何内容。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Pagecast,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Pagecast

[npm version] [npm downloads] [license] [GitHub stars] [GitHub forks]

English | 廣東話

Turn AI browser interactions into polished product demos.

Tell your AI to demo your app. Pagecast records the browser, tracks every click and keystroke, and exports a shipping-ready GIF or MP4 — with tooltip zoom overlays and cinematic pan effects. No screen recorder. No video editor. No post-production. Make a demo gif automatically after every PR if you want.

Without Pagecast — plain screen recording, you do the demonstration yourself and record yourself and you need to repead every time you changed the UI. You can see the cursor moving, but the actual interactions are too small to follow:

[Original]

With Pagecast (tooltip mode) — a magnified close-up appears on every interaction so viewers can actually see what's happening, and it design what to demo and make a new demo gif automatically:

[Tooltip Demo]

With Pagecast (cinematic mode) — the camera crops and pans to follow each action, and it design what to demo and make a new demo gif automatically:

[Cinematic Demo]

Two ways to use Pagecast

1. Product demo tool (the main use case)

You built a web app. You need a demo GIF for the README. Normally you'd:

  1. Open a screen recorder, manually click through the demo
  2. Open a video editor, zoom into the important parts
  3. Export, figure out ffmpeg, optimize the file size
  4. UI changes → repeat everything

With Pagecast, you tell your AI:

"Record a demo of localhost:3000 for my GitHub README"

The AI opens a real browser, interacts with your app, and exports a polished GIF with auto-zoom on every interaction. UI changes? Just re-run. The demo rebuilds itself.

2. Screen recording tool (also works)

Don't need zoom effects? Pagecast works as a plain screen recorder too:

"Record my app for 10 seconds and export as MP4"

The AI records, you get a .webm → optimized .gif or .mp4. Two-pass ffmpeg palette optimization, platform-aware sizing, one tool call.

Export Modes

ModeToolWhat it doesBest for
Tooltipsmart_exportFull viewport visible + magnified tooltip inset near each interactionREADME demos, product pages
Cinematiccinematic_exportCamera crops and pans to follow each interactionSocial media, dramatic reveals
Plainconvert_to_gif / convert_to_mp4Standard screen recording, no zoom effectsBug reports, QA captures

Just Say Where It's Going

You don't need to know viewport sizes or formats. Just tell your AI the destination:

"Record a demo for GitHub README"           → 1280×720 GIF"Record my app for Instagram Reels"         → 1080×1920 MP4"Make a TikTok demo of my dashboard"        → 1080×1920 MP4"Record for YouTube"                        → 1280×720 MP4
PlatformSizeFormatAspect
github / readme1280×720GIF16:9
youtube / twitter1280×720MP416:9
reels / tiktok / shorts1080×1920MP49:16
instagram / linkedin1080×1080MP41:1
CustomAny sizeYour choiceAny

Quick Start

Node.js ≥ 20 and ffmpeg required.

bash
# Add to Claude Codeclaude mcp add pagecast -- npx -y @mcpware/pagecast
# Or run directlynpx @mcpware/pagecast
# Headless mode (no visible browser)claude mcp add pagecast -- npx -y @mcpware/pagecast --headless
# First time: install browsernpx playwright install chromium

How It Works

You: "Record a demo of my app"            ↓AI → record_page(url, platform: "github")    Opens Chromium (visible) at 1280×720    Injects cursor highlight + click ripple            ↓AI → interact_page(click, type, hover...)    Each action records bounding box + timestamp            ↓AI → stop_recording    Saves .webm + timeline.json            ↓AI → smart_export (tooltip mode)        or cinematic_export (crop-pan mode)        or convert_to_gif (plain mode)            ↓    Shipping-ready .gif or .mp4

What makes the demo look professional:

  • Cursor highlight — red dot tracks the mouse so viewers can follow the action
  • Click ripple — visual feedback on every click
  • Tooltip overlay — magnified close-up appears near each interaction, with a small arrow pointing toward it
  • Cinematic pan — smooth crop transitions between interaction targets with easeInOut curves

MCP Tools

ToolWhat it does
record_pageOpen a URL, start recording. Auto-injects cursor highlight + click ripple
interact_pagescroll, click, hover, type, press keys, select, navigate, waitForSelector — all captured with bounding boxes
stop_recordingStop and save .webm + -timeline.json (event timeline with interaction positions)
smart_exportTooltip overlay — magnified tooltip close-up on each interaction
cinematic_exportCinematic crop-pan — camera follows the action between interaction targets
convert_to_gifWebM → optimized GIF (ffmpeg two-pass palette, configurable FPS/width/trim)
convert_to_mp4WebM → MP4 (H.264, ready for social/sharing/embedding)
record_and_exportAll-in-one: record → auto-export to GIF or MP4 based on platform
list_recordingsList all .webm, .gif, and .mp4 files in output directory

Comparison

AutomatedInteractionsDemo zoomOutputAI-drivenPlatform presets
Pagecast✅✅ click/type/scroll/hover✅ tooltip + cinematicGIF + WebM + MP4✅✅
Screen Studio❌ manual❌✅ cursor-basedMP4❌❌
AutoZoom❌ manual❌✅ click-basedMP4❌❌
Playwright MCP✅✅❌Raw .webmPartial❌
gifcap.dev / Peek / Kap❌ manual❌❌GIF❌❌
VHS (Charmbracelet)✅ scriptedTerminal only❌GIF❌❌

Screen Studio and AutoZoom have great zoom — but require manual recording. Pagecast is the only tool where the AI records AND the demo effects are automatic.

Configuration

SettingDefaultNotes
BrowserHeaded (visible)--headless for background
GIF FPS12Higher = smoother, larger
GIF width800pxHeight auto-scaled
Tooltip magnify1.6xHow much the tooltip zooms in
Tooltip size380pxSize of the tooltip inset
Cinematic zoom2.5xHow much the camera zooms in
Zoom transition0.35sSmoothstep ease-in/out duration
Cursor overlayOnRed dot + click ripple effect
Video viewport1280×720Or use platform parameter
Output dir./recordingsOverride: RECORDING_OUTPUT_DIR

Architecture

src/├── index.js        # MCP server — 9 tools, platform presets, stdio transport├── recorder.js     # Playwright browser lifecycle + sessions + event timeline├── converter.js    # ffmpeg GIF/MP4 + tooltip overlay + cinematic zoom conversion├── zoom.js         # Zoom engine — chains, panning, tooltip events, FFmpeg expressions├── tooltip.js      # Tooltip PNG generator (rounded rect + arrow, pure Node.js)└── remotion/    ├── ZoomComposition.jsx  # React composition for cinematic zoom    ├── Root.jsx             # Remotion entry point    └── render.js            # Remotion CLI wrapper
  • Event timeline — every interaction records bounding box + timestamp
  • Cursor overlay — red dot + click ripple injected into the page
  • Tooltip overlay — magnified close-up in a clean tooltip frame with directional arrow
  • Cinematic zoom chains — nearby interactions form chains that zoom in, pan, zoom out
  • Thread-safe FFmpeg expressions — crop filters work correctly with multi-threaded encoding
  • Headed by default — watch what the AI does
  • execFile not exec — safe against shell injection

More from @mcpware

ProjectWhat it doesInstall
Instagram MCP23 Instagram Graph API tools — posts, comments, DMs, stories, analyticsnpx @mcpware/instagram-mcp
Claude Code OrganizerVisual dashboard for Claude Code memories, skills, MCP servers, hooksnpx @mcpware/claude-code-organizer
UI AnnotatorHover labels on any web page — AI references elements by namenpx @mcpware/ui-annotator
LogoLoomAI logo design → SVG → full brand kit exportnpx @mcpware/logoloom

License

MIT

来源:README.md,提交 6bbf3c9

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分