# Comfyui MCP Server

> Comfyui MCP Server is an open-source MCP server. MCP Server that transforms ComfyUI workflows into AI-callable tools for MCP Host. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/metabrain-labs/comfyui-mcp-server-typescript
- **MCP Registry name:** io.github.MetaBrain-Labs/comfyui-mcp-server
- **Listing updated:** 2026-11-13

## About

MCP Server that transforms ComfyUI workflows into AI-callable tools for MCP Host

## Install

### Claude Code (Terminal)

```sh
claude mcp add comfyui-mcp-server -- npx -y @metabrain-labs/comfyui-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "comfyui-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@metabrain-labs/comfyui-mcp-server"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "comfyui-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@metabrain-labs/comfyui-mcp-server"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "comfyui-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@metabrain-labs/comfyui-mcp-server"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "comfyui-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@metabrain-labs/comfyui-mcp-server"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "comfyui-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@metabrain-labs/comfyui-mcp-server"
      ]
    }
  }
}
```

## FAQ

### Is Comfyui MCP Server free?

Yes. Comfyui MCP Server is open source, so you can use and self-host it for free.

### How do I add Comfyui MCP Server to Claude Code?

Run this command in your terminal: claude mcp add comfyui-mcp-server -- npx -y @metabrain-labs/comfyui-mcp-server

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/comfyui-mcp-server
