Skip to main content
Glama

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

  • Node

  • An OpenAI API Key

    • Note that this requires an organization, with ID verification at the moment.

Installation

  1. Get an API KEY from the OpenAI website.

  2. Export it in your shell as API_KEY.

export API_KEY=sk-proj-....
  1. Then, paste this into that same shell:

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
  1. You're done! Ask Claude to generate you an image for something, and you'll see

> 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
Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A MCP server that enables Claude and other MCP-compatible assistants to generate images from text prompts using Together AI's image generation models.
    Last updated -
    4
    MIT License
    • Apple
    • Linux
  • -
    security
    A
    license
    -
    quality
    An MCP tool server that enables generating and editing images through OpenAI's image models, supporting text-to-image generation and advanced image editing (inpainting, outpainting) across various MCP-compatible clients.
    Last updated -
    80
    MIT License
    • Linux
    • Apple
  • -
    security
    A
    license
    -
    quality
    Provides tools for generating and editing images using OpenAI's gpt-image-1 model via an MCP interface, enabling AI assistants to create and modify images based on text prompts.
    Last updated -
    16
    Apache 2.0
    • Linux
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jbrower95/mcp-asset-gen'

If you have feedback or need assistance with the MCP directory API, please join our Discord server