# Local GPU Imagegen [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/ChevalGrand520/local-gpu-imagegen  
**GitHub Stars:** 1  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/local-gpu-imagegen

## Description
MCP-first control plane for ComfyUI workflows with explicit approvals and no silent downloads.

## Tools
Capabilities this server exposes over MCP:

- **local_gpu_discover_models** — Plan or execute bounded API/filesystem inventory without loading model weights.
- **local_gpu_inspect_workflow** — Inspect one ordinary ComfyUI API `txt2img` workflow and return diagnostic or registerable hashes and bindings.
- **local_gpu_register_workflow** — Recheck an exact proposal and store its immutable registered workflow copy after later digest-bound confirmation.
- **local_gpu_set_model_trust** — Inspect a reviewed component bundle without mutation, or approve/revoke one exact identity in user-local state after confirmation.
- **local_gpu_recommend_models** — Return one deterministic route and at most two explained alternatives.
- **local_gpu_list_profiles** — List registered use-case profiles and the current backend capabilities.
- **local_gpu_start_run** — Persist a confirmed intent, profile, constraints, backend choice, and round budget.
- **local_gpu_get_run** — Read the durable manifest and its `recoverable_next_actions`.
- **local_gpu_branch_run** — Create an immutable child run from one reviewed parent round and preserve/change contract.
- **local_gpu_prepare_mask** — Prepare a user or rectangle/polygon mask and return a bounded JPEG overlay.
- **local_gpu_confirm_mask** — Confirm an unchanged prepared mask after explicit user approval.
- **local_gpu_generate_round** — Generate one root or fixed-mode child round and optionally return a bounded JPEG preview.
- **local_gpu_record_review** — Store rubric scores, required structured visual checks, hard failures, constraint and preservation results, critique, and next action.
- **local_gpu_finalize_run** — Verify the image-bound user confirmation and publish the nominated eligible round as the final local PNG.
- **local_gpu_cleanup_run** — Remove intermediates or the entire confirmed run directory.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "local-gpu-imagegen": {
    "command": "uvx",
    "args": ["local-gpu-imagegen","serve"]
  }
}
```

## Documentation

## What Local GPU Imagegen MCP server does

Local GPU Imagegen is an MCP control plane for running supported ComfyUI API workflows through an agent. ComfyUI remains responsible for producing pixels; the server handles workflow onboarding, model identity, approvals, run state, review records, recovery actions, and final publication.

The Local GPU Imagegen MCP server does not silently download or switch models. Discovery can inventory API and filesystem information without loading weights. A supported workflow can be inspected, registered against exact digests and bindings, and reused with its relevant settings, prompt, seed, budget, and output hashes recorded in a durable manifest.

Its run model separates generation from acceptance. Agents can prepare and confirm masks, generate individual rounds, record structured visual checks and rubric results, branch from a reviewed round, and finalize only an eligible image after image-bound user confirmation.

## How it works

The normal path starts with an ordinary ComfyUI API `txt2img` workflow using the supported built-in topology. The server inspects the graph, identifies its component bindings, and stores an immutable registered copy after a later confirmation step. Model trust is managed per exact identity in user-local state.

A run persists the selected profile, constraints, backend choice, confirmed intent, and round budget. `local_gpu_get_run` exposes the durable manifest and recoverable next actions, while branching creates an immutable child run with an explicit preserve/change contract. Generation can use prompt refinement, img2img, or explicitly confirmed inpainting where the selected route supports it.

Review data includes rubric scores, required visual checks, hard failures, constraint and preservation results, critique, and the next action. Finalization verifies the confirmation against the reviewed image bytes before publishing a local PNG. Cleanup can remove intermediates or the confirmed run directory.

## Tools and capabilities

The MCP tool set covers:

- Model inventory, workflow inspection, workflow registration, trust approval, and deterministic model recommendations.
- Profile and backend-capability listing, confirmed run creation, run inspection, immutable branching, and cleanup.
- Mask preparation and confirmation, bounded JPEG previews, one-round generation, structured review recording, and byte-bound finalization.
- Durable evidence for routes, budgets, attempts, reviews, recovery actions, image hashes, and final artifacts.

The server supports three documented delivery profiles: standalone illustrations, presentation visuals, and UI visual assets. It also includes an agent skill for turning a natural-language brief into a catalog-gated, confirmed run.

## Setup and configuration

The documented setup requires Python 3.11 or 3.12, Codex or Claude Code, an existing local ComfyUI installation, an installed model, and one supported API workflow. Use `uvx local-gpu-imagegen verify` to check readiness, then delegate client setup with the official client command, such as `uvx local-gpu-imagegen setup codex --apply` or the corresponding Claude Code command.

The launcher is version-pinned during setup. The apply operation does not directly edit client configuration files or download a model. `doctor` can inspect local backend readiness. An optional Windows managed-start mode registers an existing portable ComfyUI root and uses the loopback endpoint at `127.0.0.1:8188`; an already-running endpoint is reused but not owned or stopped.

## Limitations and notes

The v0.9 managed-generation scope is Windows 10/11 x64 with NVIDIA hardware. The ordinary golden path is `sdxl-txt2img`; workflows requiring unsupported custom nodes, UI-format JSON conversion, backend installation, or model downloads are outside that path.

The guided bootstrap is also limited to Windows 10/11 x64 with NVIDIA RTX 20-series or newer, 10 GiB of VRAM, and 30 GiB of free disk. It provides explicit plans, hashes, byte ceilings, and confirmation before downloads, but does not prove generation quality or production readiness. Reported acceptance evidence covers one local non-human environment image; it does not establish prominent-human anatomy quality, broad client generation coverage, performance, or complete acceptance criteria.

_Full upstream README: https://allmcps.com/mcp/local-gpu-imagegen/readme_

