feat(mcp): add ComfyUI MCP server image - #43
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a standalone Docker image for
joenorton/comfyui-mcp-server— an HTTP MCP server that bridges AI agents to ComfyUI via the Model Context Protocol.What's included
services/mcp/dockerfile.comfy.mcp— standalone Python 3.12 image (not runtime-based); clonescomfyui-mcp-server@v1.1.1and patches the FastMCP constructor to bind0.0.0.0(required for container networking — upstream defaults to127.0.0.1)docker-bake.hcl— newmcptarget +mcpgroup; added to theallgroup.github/workflows/ci.yml—test-bake-targetsvalidates themcptargetImage details
python:3.12-slimjoenorton/comfyui-mcp-server@v1.1.1(Apache-2.0)/mcp)ghcr.io/pixeloven/comfyui/mcp:latestUsage
# Local test docker run --rm -p 9000:9000 -e COMFYUI_URL=http://host.docker.internal:8188 \ ghcr.io/pixeloven/comfyui/mcp:latestSource patch note
The upstream
server.pycallsFastMCP("...", port=9000)which defaultshost="127.0.0.1". FastMCP passes this as an explicit kwarg to its pydantic-settingsSettings, meaning theFASTMCP_HOSTenv var is ignored. A one-linesedpatch changesport=9000,→port=9000, host="0.0.0.0",in the Dockerfile — zero Harmony application logic.This was validated end-to-end in ductiletoaster/harmony before creating this PR (deployed to Kubernetes, confirmed
Uvicorn running on http://0.0.0.0:9000).🤖 Generated with Claude Code