IconForge MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
IconForge MCP
A project-aware MCP server for generating 2D game UI icons and sprite-style graphics with Codex image generation. IconForge turns structured briefs into individual raster images and saves validated outputs into your project. Its main use case is clear, readable icons; it also supports symbol-only brand marks, wide banners, seamless concept textures, and cohesive sets of related graphics.
IconForge generates images rather than building complete game assets. It does not assemble sprite sheets, animation sequences, or 3D models. HUD icons and banners can use either a flat 2D treatment or a restrained stylized 3D look; brand marks and textures are flat 2D.
It uses the Model Context Protocol over stdio and delegates image creation to the locally installed Codex CLI. It has no npm runtime dependencies.
What it does
Builds and validates briefs before starting an image-generation job.
Generates individual graphics for game interfaces, especially small HUD icons that remain readable at icon scale.
Creates cohesive sets of related graphics with shared visual constraints, persistent manifests, and follow-up extensions.
Validates project-relative output paths and generated image files before copying them into the project.
Bounds concurrent jobs and runs each generation in an isolated Codex home.
sequenceDiagram
participant Client as MCP client
participant Forge as IconForge
participant Codex as Codex CLI
participant Project as Game project
Client->>Forge: build brief or generate asset
Forge->>Codex: isolated image-generation job
Codex-->>Forge: generated image
Forge->>Project: validated asset and style manifest
Forge-->>Client: tool resultRelated MCP server: qiaomu-codex-imagegen
Requirements
Node.js 18 or newer
Codex CLI installed and authenticated
The Codex image-generation capability and its
imagegenskill available in the configured Codex homeAn MCP client that supports stdio servers; the included example uses Oh My Pi (OMP)
Quick start
Clone the repository and copy the example project profile into the game project that will receive generated assets:
git clone https://github.com/lefthandeddev/icon-forge-mcp.git
cd icon-forge-mcp
mkdir -p /path/to/game-project/.omp/icon-forge
cp examples/project.json /path/to/game-project/.omp/icon-forge/project.jsonSet CODEX_HOME to the authenticated Codex home directory. Add IconForge to your MCP client using the absolute path to server.mjs. An OMP configuration example is in examples/omp.mcp.json.
By default, IconForge treats the MCP server's working directory as the game project. If your client starts the server from another directory, set ICON_FORGE_PROJECT_ROOT to the game project's absolute path.
After restarting the MCP client, start with a build_*_brief tool to inspect the validated request, then call the matching generate_* tool.
Project profile
Every target project needs .omp/icon-forge/project.json. The example file is intentionally generic:
{
"schemaVersion": 1,
"projectName": "Your Project",
"artDirection": "Describe the visual direction, materials, palette, and lighting.",
"generatedAssetRoot": "Assets/Art/Generated",
"categories": ["ui", "icons", "branding", "environment"]
}generatedAssetRoot must be a safe project-relative path. IconForge rejects invalid profiles and unsafe paths rather than writing outside the project.
MCP tools
Focused image types
Tool | Purpose |
| Validate a HUD icon brief, then generate an icon |
| Validate and generate a brand mark |
| Validate and generate a banner |
| Validate and generate a seamless texture |
Style sets
Tool | Purpose |
| Plan and generate a cohesive asset family |
| Plan and add an item to an existing style set |
| List the style sets saved for the project |
Brief-building tools return the validated design information and generation guidance before any image is created. Style-set manifests are stored under .omp/icon-forge/styles/; temporary lock files are stored under .omp/icon-forge/style-locks/.
Configuration
Variable | Default | Description |
| Required | Authenticated Codex home with image-generation resources |
|
| Codex executable or absolute path to it |
| Current working directory | Existing project directory for profiles and generated assets |
|
| Concurrent generation limit ( |
|
| Per-generation timeout in milliseconds ( |
| Generation timeout | Maximum wait for a generation slot ( |
The MCP protocol default is 2024-11-05; IconForge also accepts 2025-03-26 and 2025-06-18.
Development
There are no runtime or development dependencies to install.
npm testThe test suite uses a fixture Codex executable and does not require live image-generation credentials or make model calls.
Security notes
Do not commit a real
CODEX_HOME, credentials, or personal MCP-client configuration. The example config contains placeholders only.Generation runs use private per-job Codex homes. IconForge validates generated files and project-relative output paths before copying results into the target project.
Treat generated assets as drafts: review content, transparency, dimensions, and licensing before shipping them in a game or product.
License
MIT. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn prompts into production-ready game assets: animated characters, textures, terrain, VFX, HUD.
Images and video from Claude Code or Codex: priced before you spend, saved into your project.
Generate sprites, animations, tilesets, 3D models, VFX and game audio, and export them.
Design, save, and run outcome-aligned AI workflows and verifiers, with reliable image output.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables Codex to generate finite image batches using its built-in image tool, managing jobs, saving outputs, and supporting pause/resume.MIT
- AlicenseNot gradedqualityBmaintenanceExposes Codex's built-in image generation to any MCP-capable agent, returning file paths, pixel dimensions, and the prompts used, with support for image-to-image editing via reference images. Ships scenario presets (Xiaohongshu, video cover, poster, book/album cover and more) plus built-in prompt assembly and catalog listing tools so agents can generate or preview prompts without spending credits.141MIT
- AlicenseNot gradedqualityBmaintenanceEnables Codex to inspect, edit, validate, and run image and video canvas boards, including generation, asset saving, timeline editing, export, and version comparison through local stdio tools.MIT
- AlicenseAqualityBmaintenanceEnables MCP clients to generate images, edit existing ones, and create matching image sets using either the Codex CLI or the OpenAI Images API. It returns previews and saved file paths so agents can inspect results and continue iterating.3208 npm1MIT