Koskamo

ComfyUI MCP

An open-source, self-hosted MCP server that wraps ComfyUI to expose image generation capabilities via HTTP/SSE. It allows AI agents like Claude Code or Cursor to request images using SDXL presets without requiring local installation of PyTorch or heavy dependencies on the client side, acting as a middleware that communicates with a backend ComfyUI instance.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

ComfyUI MCP logo, by GermaniUCommunity listingLocal stdioSource reviewed; not executedPublished by GermaniU
Vendor documentation

What you can do with it

  • Generate images via SDXL presets for AI agents
  • Expose ComfyUI inference to MCP-compatible clients
  • Manage GPU resources with intelligent arbiter

Source and maintenance

Community listingRegistry 0.1.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

ghcr.io/germaniu/comfyui-mcp:0.1.1

oci
ghcr.io/germaniu/comfyui-mcp:0.1.1 package definition
{
  "transport": "stdio",
  "identifier": "ghcr.io/germaniu/comfyui-mcp:0.1.1",
  "registryType": "oci",
  "packageArguments": [
    {
      "type": "positional",
      "value": "--stdio"
    }
  ],
  "environmentVariables": [
    {
      "name": "COMFYUI_URL",
      "format": "string",
      "default": "http://127.0.0.1:8188",
      "description": "Loopback URL of the ComfyUI engine. Inside a container 127.0.0.1 is the container itself, so point it at the host running ComfyUI (e.g. http://host.docker.internal:8188 or the LAN IP)."
    },
    {
      "name": "COMFYUI_PUBLIC_URL",
      "format": "string",
      "description": "LAN base URL used to build direct image download links."
    },
    {
      "name": "MCP_AUTH_TOKEN",
      "format": "string",
      "description": "Only applies when the container runs in HTTP mode. If set, every HTTP request must carry an Authorization: Bearer header."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "comfyui-mcp-0-1-1": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "COMFYUI_URL=<YOUR_COMFYUI_URL>",
        "-e",
        "COMFYUI_PUBLIC_URL=<YOUR_COMFYUI_PUBLIC_URL>",
        "-e",
        "MCP_AUTH_TOKEN=<YOUR_MCP_AUTH_TOKEN>",
        "ghcr.io/germaniu/comfyui-mcp:0.1.1",
        "--stdio"
      ],
      "env": {
        "COMFYUI_URL": "<YOUR_COMFYUI_URL>",
        "COMFYUI_PUBLIC_URL": "<YOUR_COMFYUI_PUBLIC_URL>",
        "MCP_AUTH_TOKEN": "<YOUR_MCP_AUTH_TOKEN>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "comfyui-mcp-0-1-1": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "COMFYUI_URL=<YOUR_COMFYUI_URL>",
        "-e",
        "COMFYUI_PUBLIC_URL=<YOUR_COMFYUI_PUBLIC_URL>",
        "-e",
        "MCP_AUTH_TOKEN=<YOUR_MCP_AUTH_TOKEN>",
        "ghcr.io/germaniu/comfyui-mcp:0.1.1",
        "--stdio"
      ],
      "env": {
        "COMFYUI_URL": "<YOUR_COMFYUI_URL>",
        "COMFYUI_PUBLIC_URL": "<YOUR_COMFYUI_PUBLIC_URL>",
        "MCP_AUTH_TOKEN": "<YOUR_MCP_AUTH_TOKEN>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "comfyui-mcp-0-1-1": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "COMFYUI_URL=<YOUR_COMFYUI_URL>",
        "-e",
        "COMFYUI_PUBLIC_URL=<YOUR_COMFYUI_PUBLIC_URL>",
        "-e",
        "MCP_AUTH_TOKEN=<YOUR_MCP_AUTH_TOKEN>",
        "ghcr.io/germaniu/comfyui-mcp:0.1.1",
        "--stdio"
      ],
      "env": {
        "COMFYUI_URL": "<YOUR_COMFYUI_URL>",
        "COMFYUI_PUBLIC_URL": "<YOUR_COMFYUI_PUBLIC_URL>",
        "MCP_AUTH_TOKEN": "<YOUR_MCP_AUTH_TOKEN>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "comfyui-mcp-0-1-1": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "COMFYUI_URL=<YOUR_COMFYUI_URL>",
        "-e",
        "COMFYUI_PUBLIC_URL=<YOUR_COMFYUI_PUBLIC_URL>",
        "-e",
        "MCP_AUTH_TOKEN=<YOUR_MCP_AUTH_TOKEN>",
        "ghcr.io/germaniu/comfyui-mcp:0.1.1",
        "--stdio"
      ],
      "env": {
        "COMFYUI_URL": "<YOUR_COMFYUI_URL>",
        "COMFYUI_PUBLIC_URL": "<YOUR_COMFYUI_PUBLIC_URL>",
        "MCP_AUTH_TOKEN": "<YOUR_MCP_AUTH_TOKEN>"
      }
    }
  }
}

Let your agent find its tools

Find servers like ComfyUI MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.