Hh MCP Comfyui MCP Server

这是一个基于Model Context Protocol (MCP)的ComfyUI图像生成服务,通过API调用本地ComfyUI实例生成图片。

Local serverstdioPython

What is the Hh MCP Comfyui MCP server?

If you want an AI assistant working directly with Hh MCP Comfyui, the hh mcp comfyui mcp server is the bridge. 这是一个基于Model Context Protocol (MCP)的ComfyUI图像生成服务,通过API调用本地ComfyUI实例生成图片。.

What Hh MCP Comfyui does

这是一个基于Model Context Protocol (MCP)的ComfyUI图像生成服务,通过API调用本地ComfyUI实例生成图片。

Installing the hh mcp comfyui mcp server

The server is distributed via npm as @modelcontextprotocol/inspector, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

The server reads 2 environment variables: COMFYUI_API_BASE, COMFYUI_WORKFLOWS_DIR. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Hh MCP Comfyui sits in that group. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by zjf2671, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the hh mcp comfyui mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

How to install the Hh MCP Comfyui MCP server

{
  "mcpServers": {
    "hh-mcp-comfyui": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"],
      "env": {
        "COMFYUI_API_BASE": "your-value",
        "COMFYUI_WORKFLOWS_DIR": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
COMFYUI_API_BASEConfiguration value read at startup.Optional
COMFYUI_WORKFLOWS_DIRFilesystem location the server is allowed to use.Optional

Frequently asked questions

It connects Hh MCP Comfyui to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Hh MCP Comfyui directly.