Skip to content

MohamedAbdallah-14/prompt-to-asset

vmcp-server-v0.3.0 scope: mcp-server Breaking

This release includes breaking changes for platform teams planning a safe upgrade.

Published 1mo MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

app-icon asset-generation claude-code cli cursor favicon
+14 more
flux gpt-image-1 ideogram image-generation logo-generator mcp mcp-server model-context-protocol og-image pollinations recraft stable-diffusion typescript windsurf

Summary

AI summary

Seven new MCP tools add asset management, model browsing, export bundling, sprite sheets, nine‑slice scaling, brand scaffolding, and auto‑install native binaries.

Full changelog

Game-asset add-on + auto-install for native binaries

No breaking changes. Upgrade with npm i -g [email protected] (or restart your MCP-aware IDE after it picks up the new version via npx -y prompt-to-asset).

Seven new MCP tools (→ 24 total)

  • asset_doctor — structured environment inventory with ranked free-tier routes (Google AI Studio, HF Inference, Cloudflare, Pollinations, Stable Horde), paid key status, paste-only surfaces, and a concrete "what to try next" list. MCP equivalent of p2a doctor --json.
  • asset_models_list + asset_models_inspect — browse the 60+ model registry with filters (free, paid, paste_only, rgba, svg) and drill into one model for capability dump, paste targets, and every routing rule that references it.
  • asset_export_bundle — fan a 1024² master PNG out to iOS AppIconSet, Android adaptive, PWA maskable, visionOS parallax, Flutter launcher, and favicon from a single tool call. Offline. No key. Pair with asset_save_inline_svg to go from brief → full platform bundle without typing into a terminal.
  • asset_sprite_sheet — pack a frame directory into one sheet + TexturePacker-compatible JSON atlas (Phaser, PixiJS, Godot, Unity).
  • asset_nine_slice — 9-slice config + CSS border-image + engine-ready numbers (Unity / Godot / Phaser / PixiJS) + optional Android .9.png.
  • asset_init_brand — scaffold brand.json + auto-detect the framework (Next.js, Expo, Flutter, Xcode, Astro, Vite, Remix, Nuxt, React Native, Electron, Node).

p2a doctor --fix (and asset_doctor(auto_fix=true))

Opt-in installer for the native-binary gap. macOS: Homebrew for potrace; cargo for vtracer (it's not in brew-core — we tried). Windows: scoop where available. Linux + anything else: surfaces the exact apt/dnf/rustup commands rather than running them unprompted. Never sudo. --fix --dry-run previews. npm optional deps get a reinstall hint, not in-place manipulation.

Live end-to-end proof

tests/integration/pollinations.test.ts (gated behind INTEGRATION=1) actually hits image.pollinations.ai, generates a JPEG, feeds it through asset_ingest_external (restoration pre-pass on JPEG input verified), and asserts the bundle lands with the expected mode + asset_type + file sizes. Real zero-key generation, not just logic regression.

Fixed

  • createServer() internal version string was frozen at 0.1.0 through 0.2.x; now tracks package.json.
  • Sprite-sheet test suite used in-line require("node:fs"); converted to ESM imports so ESLint's no-require-imports rule stops complaining.

Install

npm i -g [email protected]
p2a doctor             # inventory
p2a doctor --fix       # install vtracer (cargo) + potrace (brew/scoop)
p2a init --register    # scaffold brand.json + wire your IDE's MCP config

Or use the attached .mcpb bundle in Claude Desktop — double-click and done.

Design thesis: you own the API keys; the LLM owns everything else. The only thing the user ever needs to do in a terminal is install the package and set API keys. Every other verb is an MCP tool the assistant calls.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track MohamedAbdallah-14/prompt-to-asset

Get notified when new releases ship.

Sign up free

About MohamedAbdallah-14/prompt-to-asset

Generates app icons, favicons, OG images, logos, and wordmarks. Routes each request across 30+ image models. Runs without an API key via Cloudflare Workers AI, NVIDIA NIM, HuggingFace, or Stable Horde. Three modes: inline SVG, external prompt-only, or full API. Validates contrast, OCR text accuracy, and palette before returning.

All releases →

Beta — feedback welcome: [email protected]