generación de activos mcp
Esta herramienta permite a Claude comunicarse con OpenAI y usar gpt-image-1 para generar recursos de imagen. Esto puede ser muy útil para el desarrollo de juegos o web, cuando se necesita imprimir recursos individuales.
Requisitos
Nodo
Una clave API de OpenAI
Tenga en cuenta que esto requiere una organización, con verificación de identidad en este momento.
Instalación
Obtenga una CLAVE API del sitio web de OpenAI .
Exportelo en su shell como API_KEY.
export API_KEY=sk-proj-....
Luego, pega esto en ese mismo 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
¡Listo! Pídele a Claude que te genere una imagen para algo y lo verás.
> 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
Related MCP Servers
- AsecurityAlicenseAqualityA 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 -4MIT License
- AsecurityAlicenseAqualityA server that enables Claude Desktop to generate images using Google's Gemini AI models through the Model Context Protocol (MCP).Last updated -82013MIT License
- -securityAlicense-qualityAn 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 -80MIT License
- -securityAlicense-qualityProvides 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 -16Apache 2.0