app-screenshots
Drive Open Screenshot Generator headlessly (puppeteer-core + Edge) to take UI screenshots, add palette elements, upload device…
Drives the live Open Screenshot Generator editor tool by tool over MCP, using `osg mcp` to expose the design tools (artboards, elements, backgrounds, fonts, the asset libraries, templates, App Preview timelines, 57 locales and PNG export) to any MCP client, plus `osg install` to
Claude Code
$ npx -y skills add dotnetdreamer/open-screenshot-generator --skill editor-tools --agent claude-code
Codex
$ npx skills add dotnetdreamer/open-screenshot-generator --skill editor-tools -a codex -y
Cursor
$ npx skills add dotnetdreamer/open-screenshot-generator --skill editor-tools -a cursor -y
Gemini CLI
$ npx skills add dotnetdreamer/open-screenshot-generator --skill editor-tools -a gemini-cli -y
GitHub Copilot
$ npx skills add dotnetdreamer/open-screenshot-generator --skill editor-tools -a github-copilot -y
OpenCode
$ npx skills add dotnetdreamer/open-screenshot-generator --skill editor-tools -a opencode -y
Windsurf
$ npx skills add dotnetdreamer/open-screenshot-generator --skill editor-tools -a windsurf -y
name: editor-tools description: >- Drives the live Open Screenshot Generator editor tool by tool over MCP, using `osg mcp` to expose the design tools (artboards, elements, backgrounds, fonts, the asset libraries, templates, App Preview timelines, 57 locales and PNG export) to any MCP client, plus `osg install` to write the server entry into a detected agent config. Use this whenever someone wants to edit an existing screenshot project rather than regenerate it, asks to connect the design tools to Claude Code, Cursor, Claude Desktop or VS Code, or says things like "move that headline", "make the phone bigger", "add an MCP server for my screenshots", "let me edit the design from here" or "what tools do I have". Read it before making any direct tool call, because the element, locale and export tools have asymmetries that silently do nothing if you guess. license: MIT metadata: package: open-screenshot-generator homepage: https://openscrgen.app
**The end state**: an MCP client holding a live connection to the real editor, with the user's project open, making precise edits that land as real undo steps in a project file the user can open in the app afterwards.
Nothing here is a reimplementation. Every call lands in the same function a click in the UI lands in, inside the real editor page. That is why an edit you make is indistinguishable from an edit the user made by hand.
npx -y open-screenshot-generator@0 install
`install` detects the agent configs on this machine and writes the server entry. Prefer it over hand editing, especially on Windows where several clients need the command wrapped.
The manual form, for a config it did not know about:
{
"mcpServers": {
"open-screenshot-generator": {
"command": "npx",
"args": ["-y", "open-screenshot-generator@0", "mcp", "--stdio"]
}
}
}`--stdio` is the default and the right choice: no port, no firewall prompt, no shared secret. Use `--http --port 8722` only when the client cannot spawn a process, and it then speaks Streamable HTTP at `http://127.0.0.1:8722/mcp`.
Two behaviours worth knowing so the server does not feel broken:
browser at all. Every client calls `tools/list` at session start and paying a browser boot for a handshake would be unacceptable.
the first real call is slow and every one after it is not.
One capability exists here that no other transport has: `export_png` and `export_all` with `save: true` actually write files. In a browser tab that throws, because a tab cannot write to disk.
For one off calls without a client, the CLI is the same surface:
npx -y open-screenshot-generator@0 call list_artboards npx -y open-screenshot-generator@0 edit --script osg/edits.json
`osg call` prints the raw JSON result on stdout, so it pipes into `jq`. `osg edit --script` runs a list of calls in order, which is the quoting proof form on Windows.
These are not style preferences. Each one is a way to make a call that returns success and changes nothing.
**1. One call in flight, always.** The tool api closes over the artboards of the render that produced it. Two mutations dispatched in the same tick both read the pre change state and the second silently clobbers the first. The CLI serializes every bridge call for exactly this reason. If you are driving the page yourself, await each response fully before sending the next. The desktop app and the web relay also put concurrent calls in one line, but a call that waits there past its time budget is refused rather than run, so a burst of parallel calls turns into errors, not speed.
**2. There is one door, and it is the same door the UI uses.** Every mutating tool commits through the app's single update path, which repositions the boards, writes the project, and pushes one undo entry. That is why one tool call is one Ctrl+Z, and why `add_elements` is strictly better than a loop of `add_element`: one round trip, one undo step, and nothing is added at all if any entry is rejected, so you never end up with a half built board.
**3. An artboard's `position` is derived.** It is recomputed and overwritten on every update. Authoring it does nothing. Move a board along the canvas with `update_artboard` `index` instead, 0 being leftmost.
**4. `x`/`y` and `width`/`height` are not symmetric.** `position` is written if **either** `x` or `y` is present, filling the missing one with 0, so `update_element` with only `x` also slams the element to y=0. `size` is written only when **both** `width` and `height` are present, so a lone `width` is dropped with no error at all. Always pass the pairs together.
**5. An explicit `null` clears a property.** Omitting it leaves it alone. `null` is the only way to remove a `shadow`, a `fillGradient`, an animation `enter` or `exit`, or a preview duration override.
**6. An unknown `fontFamily` is rejected, not substituted.** The error names the closest available families. This is deliberate: a browser silently falls back to a default serif, which looks like the design changed for no reason. `list_fonts` is the allowlist, filterable by script (`latin`, `arabic`, `urdu`, `hebrew`, `cjk`, `thai`, `devanagari`, `bengali`, `multilingual`).
**7. Text does not measure the way you expect.** Glyphs render at roughly 3.3x the stored `fontSize` and wrap inside the element box, which clips. So ~48 is a phone headline, not 96, and the real ink bounds cannot be predicted from the props. `measure_element` returns what the element actually occupies on the rendered canvas. Use it before aligning anything to a headline's edge.
**8. Elements paint in list order**, first at the back, a
Make screenshots and preview videos for the App Store and Google Play. Start with a template, add screenshots of your app, change the text and colors, then export the finished files at store sizes.
Drive Open Screenshot Generator headlessly (puppeteer-core + Edge) to take UI screenshots, add palette elements, upload device…
Check the latest xtekky/gpt4free releases for provider additions/changes and decide whether Open Screenshot Generator's AI…
Rewrite AI-sounding text so it reads naturally without changing what it says. Use when editing or reviewing prose for inflated…
Add properly licensed Adobe Stock photos to the Images palette library (e.g. the Touch hand group) via the Adobe MCP — search…
How a sentence the user reads is written in Open Screenshot Generator - toasts, dialog titles and bodies, buttons, tooltips…
Builds an App Store App Preview video (and a Play Store or landing page promo cut) from a screen recording of the app, using the…
Choose GPT-Image2 / gpt-image-2 visual styles and industrial prompt templates from the awesome-gpt-image-2 style library. Use…
Remove visible Gemini image watermarks from local image files by calling the project's CLI. Use when the user wants an agent to…
Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures,…
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference…