Comfy MCP Pipeline logo

Comfy MCP Pipeline

by lalanikarim

This is a pipeline wrapper for comfy-mcp-server for Open WebUI, allowing users to integrate ComfyUI workflows into Open WebUI. It enables image generation within Open WebUI using ComfyUI's powerful workflow capabilities.

View on GitHub

Last updated: N/A

What is Comfy MCP Pipeline?

The Comfy MCP Pipeline is a bridge between Open WebUI and ComfyUI, enabling users to leverage ComfyUI workflows for image generation directly within the Open WebUI environment. It utilizes the comfy-mcp-server to facilitate communication and execution of ComfyUI workflows.

How to use Comfy MCP Pipeline?

  1. Install Open WebUI, Open WebUI Pipelines, and ComfyUI. 2. Update requirements.txt for the pipelines server. 3. Export a ComfyUI workflow as a JSON file. 4. Upload the comfy-mcp-pipeline.py to the Open WebUI Pipeline server. 5. Configure the pipeline valves with the ComfyUI server URL, external URL, workflow JSON file path, prompt node ID, and output node ID. 6. Select 'Comfy MCP Pipeline' in Open WebUI and enter a prompt to generate an image.

Key features of Comfy MCP Pipeline

  • Integration with Open WebUI

  • Utilizes ComfyUI workflows

  • Image generation from text prompts

  • Configurable pipeline valves

  • Easy setup and usage

Use cases of Comfy MCP Pipeline

  • Generating images from text prompts within Open WebUI

  • Integrating complex ComfyUI workflows into a chat interface

  • Automating image generation tasks

  • Experimenting with different ComfyUI workflows

  • Creating custom image generation pipelines

FAQ from Comfy MCP Pipeline

What is ComfyUI?

ComfyUI is a powerful and modular graph/node based interface for Stable Diffusion.

What is Open WebUI?

Open WebUI is a user-friendly web interface for interacting with language models and other AI tools.

What is a pipeline in Open WebUI?

A pipeline in Open WebUI allows you to connect different AI tools and services together to create complex workflows.

Where do I find the Prompt Node ID and Output Node ID?

These IDs can be found within the exported ComfyUI workflow JSON file. Inspect the JSON structure to identify the appropriate nodes.

What if the image generation fails?

Check the ComfyUI server logs and the Open WebUI pipeline server logs for any errors. Ensure that the ComfyUI server is running and accessible from the Open WebUI pipeline server. Also, verify the configuration of the pipeline valves.