trackmcp
Back to directory
jbrower95

mcp-asset-gen

View on GitHub

An MCP Server for generating images via OpenAI's `gpt-image-1`

3 stars JavaScriptAI & Machine Learning Updated Aug 5, 2025

Documentation

mcp-asset-gen

npm version

This tool allows Claude to speak to OpenAI, and use `gpt-image-1` to generate image assets. This can be pretty useful for game or web development, when you need to print individual assets.

Requirements

Installation

1. Get an API KEY from the OpenAI website.

2. Export it in your shell as API_KEY.

bash
export API_KEY=sk-proj-....

3. Then, paste this into that same shell:

bash
jq --arg apiKey "$API_KEY" \
'.mcpServers = (.mcpServers // {}) | 
 .mcpServers["mcp-asset-gen"] = {
   type: "stdio",
   command: "npx",
   args: ["mcp-asset-gen"],
   env: { API_KEY: $apiKey }
 }' ~/.claude.json > ~/.claude.tmp && mv ~/.claude.tmp ~/.claude.json

4. You're done! Ask Claude to generate you an image for something, and you'll see

code
> generate a small logo image that i could use for my arcade game

 I'll generate a logo for your arcade game. Please provide a more specific description of what you'd like to see in the logo (colors, style,
  game theme, etc.) for better results.

> It should look like an old school pacman machine (liek a wooden arcade machine)

⏺ mcp-asset-gen:generateImag(outputPathAbsolute: "/Users/jbrower/projects/mcp-asset-gen/arcade-logo.png", prompt: "An old school wooden arcade…
   (MCP)                    machine logo in the style of Pacman, with retro colors and pixelated elements, top-down view of the cabinet,
                            nostalgic arcade gaming feel, vibrant colors against dark background", quality: "high", size: "1024x1024")
  ⎿  The image is now available at /Users/jbrower/projects/mcp-asset-gen/arcade-logo.png.

⏺ Generated arcade logo saved to /Users/jbrower/projects/mcp-asset-gen/arcade-logo.png

Frequently asked questions

What is mcp-asset-gen?

mcp-asset-gen is An MCP Server for generating images via OpenAI's `gpt-image-1`

How do I install mcp-asset-gen?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-asset-gen open source?

Yes — it is hosted on GitHub at https://github.com/jbrower95/mcp-asset-gen and has 3 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP