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-资产生成

此工具允许 Claude 与 OpenAI 通信,并使用gpt-image-1生成图像资源。这对于游戏或 Web 开发中需要打印单个资源时非常有用。

要求

  • 节点
  • OpenAI API 密钥
    • 请注意,这需要一个组织,目前具有身份验证。

安装

  1. OpenAI 网站获取 API KEY。
  2. 将其作为 API_KEY 导出到您的 shell 中。
export API_KEY=sk-proj-....
  1. 然后,将其粘贴到同一个 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. 大功告成!让 Claude 为你生成一个图像,你会看到
> 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

MCP 服务器允许 Claude 使用 OpenAI 的图像生成功能(gpt-image-1)为用户创建图像资产,这对于游戏和 Web 开发项目特别有用。

  1. 要求
    1. 安装

      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