ComfyUI

by jonpojonpo

3 stars
Not rated
GitHub

About

Integrates ComfyUI's stable diffusion interface to enable programmatic image generation through customizable node-based workflows.

Details

Author
jonpojonpo
Repository
jonpojonpo/comfy-ui-mcp-server
GitHub stars
3
License
MIT License
Categories
Developer Tools, AI, Automation, Productivity, Design, Media, Infrastructure, Frontend

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name ComfyUI
    Command (node, npx, python, etc.) uv
    Arguments
    • Argument 1 --directory
    • Argument 2 E:\Claude\comfy-ui-mcp-server
    • Argument 3 run
    • Argument 4 comfy-ui-mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

<details>
<summary>Development/Unpublished Servers Configuration</summary>

  "mcpServers": {
"comfy-ui-mcp-server": {
"command": "uv",
"args": [
"--directory",
"E:\Claude\comfy-ui-mcp-server",
"run",
"comfy-ui-mcp-server"
]
}
}

</details>

<details>
<summary>Published Servers Configuration</summary>

  "mcpServers": {
"comfy-ui-mcp-server": {
"command": "uvx",
"args": [
"comfy-ui-mcp-server"
]
}
}

</details>

summarize-notes

Creates summaries of all stored notes. Optional 'style' argument to control detail level (brief/detailed). Generates prompt combining all current notes with style preference.

add-note

Adds a new note to the server. Takes 'name' and 'content' as required string arguments. Updates server state and notifies clients of resource changes.

The server implements one tool:
- add-note: Adds a new note to the server
- Takes "name" and "content" as required string arguments
- Updates server state and notifies clients of resource changes

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "comfyui": {
            "cwd": "E:\\Claude\\comfy-ui-mcp-server",
            "env": {},
            "args": [
                "--directory",
                "E:\\Claude\\comfy-ui-mcp-server",
                "run",
                "comfy-ui-mcp-server"
            ],
            "command": "uv"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "comfy-ui-mcp-server"
    ],
    "command": "uvx"
}

Macos

{
    "cwd": "E:\\Claude\\comfy-ui-mcp-server",
    "env": [],
    "args": [
        "--directory",
        "E:\\Claude\\comfy-ui-mcp-server",
        "run",
        "comfy-ui-mcp-server"
    ],
    "command": "uv"
}

Windows

{
    "env": [],
    "args": [
        "comfy-ui-mcp-server"
    ],
    "command": "uvx"
}

The server implements a simple note storage system with:

- Custom note:// URI scheme for accessing individual notes
- Each note resource has a name, description and text/plain mimetype

- summarize-notes: Creates summaries of all stored notes

- Optional "style" argument to control detail level (brief/detailed)
- Generates prompt combining all current notes with style preference

- add-note: Adds a new note to the server

- Takes "name" and "content" as required string arguments
- Updates server state and notifies clients of resource changes

[TODO: Add configuration details specific to your implementation]

On MacOS:~/Library/Application\ Support/Claude/claude_desktop_config.jsonOn Windows:%APPDATA%/Claude/claude_desktop_config.json

To prepare the package for distribution:

This will create source and wheel distributions in thedist/directory.

Note: You'll need to set PyPI credentials via environment variables or command flags:

- Token:--tokenorUV_PUBLISH_TOKEN
- Or username/password:--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using theMCP Inspector.

You can launch the MCP Inspector vianpmwith this command:

npx @modelcontextprotocol/inspector uv --directory E:\Claude\comfy-ui-mcp-server run comfy-ui-mcp-server

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Interact with your MLOps and LLMOps pipelines through your ZenML MCP server

Integrates ComfyUI with MCP, allowing the use of custom workflows. Requires a running ComfyUI server.

An image generation server that connects to a local ComfyUI instance via its API, supporting dynamic workflows.

Deploy and serve Haystack pipelines as REST APIs, MCP Tools, and OpenAI-compatible chat completion backends.

Localization as code — 7 MCP tools to push, pull, translate, extract strings, and search translations. AI-powered, type-safe, 182 languages.

An MCP server with an LLMling backend that uses YAML files to configure LLM applications.

A universal command-line interface (CLI) gateway to the MCP ecosystem, integrating multiple MCP servers, AI models, and transport protocols.

Translate JSON i18n files using Google Gemini or local Ollama models, with incremental caching support.

Agentic Document Parsing and Extraction (ADP)

ADP automatically classifies overseas invoices, domestic vouchers, procurement contracts, logistics documents, financial statements and trading contracts, and accurately extracts key fields. It also supports table parsing, content verification and multilingual recognition. Requiring no template setup, data labeling or ongoing rule maintenance, it efficiently handles high-volume document processing tasks.

Official MCP server for Comfy Cloud - generate images, video, audio, and 3D, run ComfyUI workflows, and search models directly from Claude and other AI agents

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.