MCP Asset Generator

by jbrower95
MIT License

Integrations

  • Allows installation and execution of the MCP server as an npm package

  • Utilizes OpenAI's gpt-image-1 model to generate image assets that can be used for game or web development

mcp-asset-gen

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

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

An MCP server that allows Claude to use OpenAI's image generation capabilities (gpt-image-1) to create image assets for users, which is particularly useful for game and web development projects.

  1. Requirements
    1. Installation

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        An MCP server for analyzing images using OpenRouter vision models, offering capabilities like automatic image resizing, model configuration, and handling custom queries about images.
        Last updated -
        5
        JavaScript
        MIT License
      • -
        security
        F
        license
        -
        quality
        An MCP server that allows users to generate, edit, and create variations of images through OpenAI's DALL-E API, supporting both DALL-E 2 and DALL-E 3 models.
        Last updated -
        2
        TypeScript
      • -
        security
        -
        license
        -
        quality
        A TypeScript-based MCP server that lets users generate images using OpenAI's dall-e-3 model by providing a prompt and image name.
        Last updated -
        1
      • -
        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 -
        11
        TypeScript
        MIT License

      View all related MCP servers

      ID: 3t5ny7h01a