ComfyUI MCP

AIstdio
Repositorio

A lightweight MCP server for a local ComfyUI instance that lets AI agents generate and iteratively refine images, audio, and video. Agents can submit workflows, override prompts and sampler parameters, poll job status, and retrieve outputs, which makes conversational iteration on a local diffusion pipeline practical.

Conectar

Añade esta configuración a .claude/mcp.json

{
  "mcpServers": {
    "comfyui": {
      "command": "npx",
      "args": [],
      "env": {
        "COMFYUI_URL": "<YOUR_COMFYUI_URL>"
      }
    }
  }
}

Herramientas (2)

generate_image

Run a ComfyUI workflow to generate an image from a prompt.

{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "description": "Positive prompt text"
    },
    "workflow": {
      "type": "string",
      "description": "Name of the workflow to run"
    },
    "negative_prompt": {
      "type": "string",
      "description": "Negative prompt text"
    }
  }
}

get_job_status

Check the status of a queued ComfyUI job and fetch outputs when ready.

{
  "type": "object",
  "required": [
    "prompt_id"
  ],
  "properties": {
    "prompt_id": {
      "type": "string",
      "description": "Job identifier returned when the workflow was queued"
    }
  }
}

Recursos

Este servidor no expone ningún recurso.

Prompts

Este servidor no expone ningún prompt.

Información del servidor

Autor
Joe Norton (@joenorton)
Repositorio
https://github.com/joenorton/comfyui-mcp-server
Licencia
MIT
Estrellas
0
Última actualización
3 de agosto de 2026