prompt-to-asset — Claude Code MCP server: setup
This MCP server turns natural-language briefs into visual assets and exports them for web, app, and mobile use.
claude mcp add prompt-to-asset -- npx -y prompt-to-assetWhat prompt-to-asset does
prompt-to-asset accepts a request through MCP and routes image creation across more than 30 models. It can produce logos, favicon files, Open Graph artwork, SVG output, and platform-specific asset sets. An existing image can also be expanded into packages for iOS, Android, PWA, and other targets.
The server offers three paths: SVG authored by the assistant, a prompt prepared for an external web interface, or a provider API call. Free routes are tried first, including Cloudflare Workers AI, NVIDIA NIM, HF Inference, Stable Horde, and Pollinations. Some providers require a free token and account, while paid credentials remain optional.
Node ≥20.11 is required to run it. In Claude Code, the MCP entry is added with npx, after which the assistant can generate assets and prepare exports.
What it helps with
- create a logo from a written brief
- generate a favicon for an app
- export one image for iOS, Android, and PWA
- produce SVG and icon asset sets
- find a free image-generation route
Example prompts for the agent
- Create a flat SVG logo for my app in a warm orange palette.
- Generate a favicon that works on both light and dark backgrounds.
- Export
master.pngfor iOS, Android, and PWA.
How to install prompt-to-asset
Platform CLI
claude mcp add prompt-to-asset -- npx -y prompt-to-assetPlatform CLI
codex mcp add prompt-to-asset -- npx -y prompt-to-assetConfig file
{
"mcpServers": {
"prompt-to-asset": {
"command": "npx",
"args": [
"-y",
"prompt-to-asset"
]
}
}
}Config file
{
"servers": {
"prompt-to-asset": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"prompt-to-asset"
]
}
}
}Platform CLI
gemini mcp add prompt-to-asset npx -y prompt-to-assetStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about prompt-to-asset
How do I install prompt-to-asset in Claude Code?
Run claude mcp add prompt-to-asset -- npx -y prompt-to-asset.
What does prompt-to-asset do?
It turns a natural-language request into visual assets, selects an available generation route, and prepares files for websites, apps, and mobile platforms.
Do I need a paid API key?
No paid key is required. SVG generation and free routes are available; some providers still ask for a free token and account.