claude-in-chrome: computer tool screenshot should support saving to file (filePath param)

Resolved 💬 2 comments Opened Mar 17, 2026 by kubi-dev Closed Mar 17, 2026

Problem

The mcp__claude-in-chrome__computer tool's screenshot action captures screenshots and returns an in-memory imageId (e.g., ss_xxx), but there is no way to save that screenshot to a file on disk.

This is a critical gap for any workflow that needs to capture browser screenshots and use them in local files — e.g., generating ebooks, documentation, reports, or any project where screenshots need to be saved as assets.

Current behavior

  1. computer action=screenshot → returns imageId (in-memory only)
  2. upload_image can upload that imageId to a web form — but cannot save to disk
  3. gif_creator can export to Downloads — but produces GIF with overlays, not a clean PNG

There is no tool in claude-in-chrome that accepts a file path and saves a screenshot there.

Expected behavior

The computer tool's screenshot action should support an optional filePath parameter (like chrome-devtools-mcp's take_screenshot does) that saves the screenshot directly to disk as PNG/JPEG.

Example:

mcp__claude-in-chrome__computer
  action: screenshot
  tabId: 12345
  filePath: "/path/to/project/assets/screenshot.png"

Why this matters

  • claude-in-chrome is the only MCP browser tool that uses the user's real, logged-in Chrome session — essential for screenshotting authenticated pages (ChatGPT, Gemini, ElevenLabs, etc.)
  • chrome-devtools-mcp has filePath support but runs a separate browser instance that is not logged in anywhere
  • The two tools are complementary but the gap between them makes it impossible to: navigate an authenticated page → save screenshot to disk — without fragile workarounds (html2canvas + JS download + bash move)

Workarounds tried (all fragile)

  1. chrome-devtools take_screenshot — different browser, not logged in
  2. html2canvas via javascript_tool — breaks on cross-origin, CSP restrictions
  3. gif_creator download — wrong format (GIF), includes overlays
  4. upload_image — uploads to web forms, doesn't save to disk

Environment

  • Claude Code CLI
  • claude-in-chrome extension
  • macOS

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗