Add appscreen MCP server#1
Merged
Merged
Conversation
A Model Context Protocol server that generates App Store / Play Store / web marketing screenshots server-side — a Node port of appscreen's 2D rendering pipeline using @napi-rs/canvas (no browser). - Tools: list_output_sizes, list_gradient_presets, generate_screenshot, generate_batch - Transports: stdio (default) and Streamable HTTP (--http / MCP_TRANSPORT=http) - Full parameter coverage faithful to app.js: gradient/solid/image backgrounds with noise, screenshot placement (scale/position/rotation/perspective/corner radius/shadow/device frame), headline + subheadline text, free-floating elements (text/emoji/icon/graphic) with laurel/badge/star frames across all three z-order layers, cropped "popout" callouts, and multi-language text maps - layout.avoidTextOverlap: measures the text block and constrains the screenshot to the free band so text never overlaps the image regardless of line count Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Summary
Adds an MCP (Model Context Protocol) server under
mcp-server/that generates App Store / Play Store / web marketing screenshots server-side — a Node port of appscreen's 2D rendering pipeline (app.js) using@napi-rs/canvas, no browser required.What it does
list_output_sizes,list_gradient_presets,generate_screenshot,generate_batch--http/MCP_TRANSPORT=http)app.js— reuses the same output sizes, the 25 gradient presets, and the exact background / placement / text / element / popout maths, in the app's layer order.Parameter coverage
textsmaps selected bylanguageelements[]: text / emoji / icon / graphic on any z-layer, with laurel / badge / star framespopouts[]: cropped zoom callouts of the screenshotlayout.avoidTextOverlap: measures the text block and constrains the screenshot to the free band so the headline never overlaps the image, whatever the line countNotes
mcp-server/is touched;node_modules/,dist/and local example output are gitignored.🤖 Generated with Claude Code