Repository navigation
fix(mcp): allow text-only preview snapshots - #234
Merged
Merged
Conversation
Repeated preview_snapshot calls add a PNG to each MCP result. Providers with image-count limits may reject the conversation. Optional includeImage=false returns the same page metadata without an image part. Adapted from pingdotgg#10232. Implemented with Grok 4.6 High in Grok Build via Orca.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Greptile SummaryThis PR adds an optional MCP-only Confidence Score: 5/5No outstanding issues require changes before merging. No new issues or outstanding previous-thread issues are present. Reviews (2): Last reviewed commit: "Merge branch 'main' into fix/preview-tex..." | Re-trigger Greptile |
This was referenced Sep 10, 2026
Merged
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Repeated preview_snapshot calls add a PNG to each MCP result. Providers or gateways with image-count limits may reject the accumulated conversation.
Fix
Add optional includeImage. {"includeImage":false} returns fresh page metadata and JSON text without an image content part. Omitted or true preserves the existing PNG response. The flag stays inside the MCP server. Browser capture is unchanged.
Adaptation
Reviewed port of pingdotgg#10232.
Verification
Implemented with Grok 4.6 High in Grok Build via Orca.