# prompt-to-asset

This MCP server turns natural-language briefs into visual assets and exports them for web, app, and mobile use.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 24
- Author: MohamedAbdallah-14
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/MohamedAbdallah-14/prompt-to-asset
- Updated: 2026-10-18
- HTML: https://affpapa.org/en/nevibecode/mcp/prompt-to-asset

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add prompt-to-asset -- npx -y prompt-to-asset
```

### Codex

**Platform CLI**
```bash
codex mcp add prompt-to-asset -- npx -y prompt-to-asset
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "prompt-to-asset": {
            "command": "npx",
            "args": [
                "-y",
                "prompt-to-asset"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "prompt-to-asset": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "prompt-to-asset"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add prompt-to-asset npx -y prompt-to-asset
```

## When to use it
- 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
- 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.png` for iOS, Android, and PWA.

## Similar
- [Next AI Draw.io](https://affpapa.org/en/nevibecode/mcp/next-ai-drawio.md) — MCP server · ★ 36398
- [tldraw](https://affpapa.org/en/nevibecode/mcp/tldraw.md) — MCP server · ★ 51091
- [Figma-Context-MCP](https://affpapa.org/en/nevibecode/mcp/figma-context-mcp.md) — MCP server · ★ 16062
- [Agent-Native Assets](https://affpapa.org/en/nevibecode/mcp/agent-native-assets.md) — MCP server · ★ 7506
- [Remove AI Watermarks](https://affpapa.org/en/nevibecode/mcp/remove-ai-watermarks.md) — MCP server · ★ 6114
- [Dembrandt](https://affpapa.org/en/nevibecode/mcp/dembrandt.md) — MCP server · ★ 3821

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
