> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-feat-openapi-i18n.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Tools / MCP

> Connect AI agents to ComfyUI via the Model Context Protocol (MCP) for image, video, audio, and 3D content generation.

ComfyUI provides **MCP servers** and **Comfy CLI** so AI agents and developers can generate images, video, audio, and 3D content without always opening the ComfyUI canvas.

<Note>
  **Comfy Cloud MCP is in public beta.** Setup, feedback channels, and related tools (Comfy Skills, Comfy CLI) are on the [Comfy Cloud MCP](/agent-tools/cloud) page.
</Note>

<CardGroup cols={2}>
  <Card title="Comfy Cloud MCP" icon="cloud" href="/agent-tools/cloud">
    Connect to the hosted MCP server at <code>cloud.comfy.org/mcp</code>. Generate images, video, audio, and 3D on Cloud GPUs, search templates/models/nodes, run workflows, and share saved workflows from chat.
  </Card>

  <Card title="Comfy Partner MCP" icon="plug" href="/agent-tools/partner-mcp">
    Run a local MCP server using the Comfy Partner-Node SDK. Provides unified <code>generate\_image</code>, <code>generate\_video</code>, <code>generate\_3d</code>, and more tools across 30+ partner providers.
  </Card>

  <Card title="Comfy Local MCP" icon="server" href="/agent-tools/local">
    First-party local MCP server that drives your **own** ComfyUI install via <code>comfy-cli</code>. *Private test; not publicly available yet.*
  </Card>

  <Card title="Comfy CLI" icon="terminal" href="/agent-tools/comfy-cli">
    Short agent-oriented overview of <code>comfy generate</code>. For the complete CLI guide, see [Getting started](/comfy-cli/getting-started).
  </Card>
</CardGroup>

***

## Which One Should I Use?

|               | Comfy Cloud MCP                     | Comfy Partner MCP                                                           | Comfy Local MCP                                                     | Comfy CLI                                                        |
| ------------- | ----------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------- | ---------------------------------------------------------------- |
| **Type**      | Remote (hosted)                     | Local MCP server                                                            | Local MCP server                                                    | Local CLI                                                        |
| **Requires**  | Comfy Cloud subscription            | [Comfy API key](/development/api-development/getting-an-api-key)            | Local ComfyUI + [comfy-cli](https://github.com/Comfy-Org/comfy-cli) | [Comfy API key](/development/api-development/getting-an-api-key) |
| **Models**    | Comfy Cloud models (pre-installed)  | 30+ partner providers (BFL, Ideogram, Kling, Runway, Veo, ElevenLabs, etc.) | Your local models and custom nodes                                  | Partner nodes via `comfy generate`                               |
| **Workflows** | Full ComfyUI workflow execution     | Partner API generation (no custom workflows)                                | Full local ComfyUI workflow execution                               | One-shot partner API calls (no workflow JSON)                    |
| **GPU**       | Cloud GPUs (no local GPU needed)    | No GPU needed (API-based)                                                   | Your local GPU                                                      | No GPU needed (API-based)                                        |
| **Best for**  | Chat-driven agents, template search | Unified MCP tools across providers                                          | Driving your own local ComfyUI from chat                            | Scripts, CI, batch jobs                                          |

***

## What about local ComfyUI?

Want to drive a **local** ComfyUI install with an agent instead of (or alongside) Comfy Cloud MCP? See [**Comfy Local MCP**](/agent-tools/local) for our first-party local MCP server, setup, and client configuration. It is in **private test** and not publicly available yet.

**Community MCP servers.** Several community projects also connect MCP clients to a local ComfyUI instance:

| Project            | Repository                                                                      |
| ------------------ | ------------------------------------------------------------------------------- |
| comfyui-mcp        | [artokun/comfyui-mcp](https://github.com/artokun/comfyui-mcp)                   |
| comfyui-mcp        | [shawnrushefsky/comfyui-mcp](https://github.com/shawnrushefsky/comfyui-mcp)     |
| comfyui-mcp-server | [joenorton/comfyui-mcp-server](https://github.com/joenorton/comfyui-mcp-server) |
| comfy-mcp-server   | [lalanikarim/comfy-mcp-server](https://github.com/lalanikarim/comfy-mcp-server) |

These are **community-maintained**. We link them for convenience; support, features, and compatibility vary by project.

**Want a terminal workflow instead of chat?** See [Comfy CLI](/agent-tools/comfy-cli) (`comfy generate`, beta) for scripts and automation. To install and launch local ComfyUI from the terminal, start with [Comfy CLI getting started](/comfy-cli/getting-started).

***

## What is MCP?

The **Model Context Protocol (MCP)** is an open standard that allows AI assistants to interact with external tools and services through a standardized interface. Instead of an AI agent needing to know custom API formats for every service, MCP provides a uniform way to expose tools.

When you connect an MCP server to Claude Desktop, Claude Code, Cursor, or Amp, the AI assistant can:

* **Generate images** from text descriptions
* **Create videos** from text or images
* **Generate 3D models** from text or images
* **Generate audio and music** using AI models
* **Search models and templates** to find the right tools for your task

...all through natural language conversation, without writing API calls manually.
