Pagecastのロゴ

Pagecast

組織
mcpware

Record any browser page as GIF or video via MCP — powered by Playwright + ffmpeg

公開者mcpware
リポジトリpagecast
言語JavaScript
フォーク
5
スター
52
利用可能なツール
0
通信方式stdio
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Pagecastは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには52件のスターと5件のフォークがあります。

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 Code
claude mcp add pagecast -- npx -y @mcpware/pagecast

# Or run directly
npx @mcpware/pagecast

# Headless mode (no visible browser)
claude mcp add pagecast -- npx -y @mcpware/pagecast --headless

# First time: install browser
npx 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

PagecastのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Pagecastに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Pagecastをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. PagecastのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "pagecast": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてPagecastのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. PagecastのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Pagecastを使ってこのタスクを手伝ってもらえますか?
Pagecast
はい、読みました。
Pagecastで調べた結果をお伝えします。

よくある質問

Pagecast MCPサーバーは何に使いますか?

Pagecastは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでPagecast MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでPagecastを利用できます。

TypingMindでPagecast MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Pagecastを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Pagecast MCPをTypingMindに接続するにはどうすればよいですか?

PagecastはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでPagecast MCPのどのようなツールを利用できますか?

PagecastはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Pagecast MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Pagecastで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇