Screenshots from Chrome DevTools MCP are larger than GitHub Copilot model context window #7390

Open
opened 2026-02-16 18:07:02 -05:00 by yindo · 4 comments
Owner

Originally created by @sin4ch on GitHub (Jan 23, 2026).

Originally assigned to: @fwang on GitHub.

Description

I have run into this issue numerous times: some screenshots taken by the Chrome DevTools MCP are larger than the context Window of Claude Opus 4.5 GitHub Copilot model.

Plugins

Chrome DevTools MCP, Exa MCP, opencode-antigravity-auth

OpenCode version

v1.1.34

Steps to reproduce

  1. Auth to GitHub Copilot
  2. Install Chrome DevTools MCP in ~/.config/opencode/opencode.json
  3. Select Claude Opus 4.5 (GitHub Copilot)
  4. Invoke Take Screenshot MCP tool call.

Screenshot and/or share link

Image

Image

Operating System

Fedora 43 Workstation Edition

Terminal

Ptyxis, Fedora 43's default terminal

Originally created by @sin4ch on GitHub (Jan 23, 2026). Originally assigned to: @fwang on GitHub. ### Description I have run into this issue numerous times: some screenshots taken by the Chrome DevTools MCP are larger than the context Window of Claude Opus 4.5 GitHub Copilot model. ### Plugins Chrome DevTools MCP, Exa MCP, opencode-antigravity-auth ### OpenCode version v1.1.34 ### Steps to reproduce 1. Auth to GitHub Copilot 2. Install Chrome DevTools MCP in ~/.config/opencode/opencode.json 3. Select Claude Opus 4.5 (GitHub Copilot) 4. Invoke Take Screenshot MCP tool call. ### Screenshot and/or share link <img width="2192" height="1088" alt="Image" src="https://github.com/user-attachments/assets/961a2947-bf3b-4b2f-ba4b-dd18446a21fb" /> <br/><br/> <img width="1602" height="1560" alt="Image" src="https://github.com/user-attachments/assets/48bec5ee-fbd3-4fac-9878-1542d0fd6652" /> ### Operating System Fedora 43 Workstation Edition ### Terminal Ptyxis, Fedora 43's default terminal
yindo added the bugzen labels 2026-02-16 18:07:02 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 23, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #10220: Request size exceeds model context window - users experiencing context window exceeded errors, potentially related to large content like screenshots
  • #6574: Request entity too large error - mentions screenshots causing 'request entity too large' responses with GitHub Copilot

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 23, 2026): This issue might be a duplicate of existing issues. Please check: - #10220: Request size exceeds model context window - users experiencing context window exceeded errors, potentially related to large content like screenshots - #6574: Request entity too large error - mentions screenshots causing 'request entity too large' responses with GitHub Copilot Feel free to ignore if none of these address your specific case.
Author
Owner

@bankjaneo commented on GitHub (Jan 23, 2026):

I also have the same problem. Opencode since version 1.1.32 has a problem with reading images. I have to downgrade to 1.1.31 for now.

@bankjaneo commented on GitHub (Jan 23, 2026): I also have the same problem. Opencode since version 1.1.32 has a problem with reading images. I have to downgrade to 1.1.31 for now.
Author
Owner

@kth8 commented on GitHub (Jan 24, 2026):

I noticed this too of a single screenshot being >500k tokens

Image
@kth8 commented on GitHub (Jan 24, 2026): I noticed this too of a single screenshot being >500k tokens <img width="1148" height="298" alt="Image" src="https://github.com/user-attachments/assets/394dd82c-33be-462e-8a23-dbdd2fd9a097" />
Author
Owner

@paolomainardi commented on GitHub (Feb 12, 2026):

I had the same issue; it happens quite randomly, this one more: https://github.com/anomalyco/opencode/issues/6574

@paolomainardi commented on GitHub (Feb 12, 2026): I had the same issue; it happens quite randomly, this one more: https://github.com/anomalyco/opencode/issues/6574
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7390