ComfyUI MCP ServerServer

Overseer66
GitHub
image generationAIMCP

Loading subscription status...

💡 Description

An MCP server implementation that integrates ComfyUI with natural language processing for AI image generation, allowing users to generate and download images via text interactions. It requires a running ComfyUI server.

📝 JSON Entries

{
  "mcpServers": [
    {
      "comfyui": {
        "args": [
          "--directory",
          "PATH/MCP/comfyui",
          "run",
          "--with",
          "mcp",
          "--with",
          "websocket-client",
          "--with",
          "python-dotenv",
          "mcp",
          "run",
          "src/server.py:mcp"
        ],
        "command": "uv"
      }
    },
    {
      "comfyui": {
        "args": [
          "run",
          "-i",
          "--rm",
          "-p",
          "3001:3000",
          "mcp/comfyui"
        ],
        "command": "docker"
      }
    },
    {
      "comfyui": {
        "args": [
          "run",
          "-i",
          "--rm",
          "-p",
          "3001:3000",
          "overseer66/mcp-comfyui"
        ],
        "command": "docker"
      }
    },
    {
      "comfyui": {
        "url": "http://localhost:8001/sse"
      }
    }
  ]
}

🛠️ Tools

text_to_imagedownload_imagerun_workflow_with_filerun_workflow_with_json

Features

  • AI image generation
  • Custom workflow integration
  • Docker support

💬 Example Queries

  • Run comfyui workflow with text_to_image.json
  • Run comfyui workflow with this { '3': { 'inputs': { 'seed': 156680208700286, 'steps': 20, ... (workflow JSON example) } } }