> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Tools

> Use ComfyUI with AI agents through Comfy MCP, Comfy CLI, and Comfy Agent.

<CardGroup cols={2}>
  <Card title="Comfy MCP" icon="bolt" href="/agent-tools/mcp">
    Connect any AI agent to ComfyUI, on Comfy Cloud or on your own machine. **Start here.**
  </Card>

  <Card title="Comfy Agent" icon="comments" href="/agent-tools/in-app-agent">
    Built-in ComfyUI assistant for building, editing, and running workflows. **Generally available on Cloud.** Local (Comfy Desktop) coming soon.
  </Card>

  <Card title="Comfy CLI" icon="terminal" href="/agent-tools/cli">
    ComfyUI in the terminal. Install and update ComfyUI, manage models and nodes, and generate from scripts, CI, or batch jobs.
  </Card>
</CardGroup>

***

## Which one should I use?

| | Comfy MCP<br />Cloud Connection | Comfy MCP<br />Local Connection | Comfy Agent |
| - | - | - | - |
| **What is it** | Run Comfy Cloud workflows with your own agent. | Drive your own local ComfyUI with your own agent. | Chat with an Agent inside ComfyUI to understand, build, edit, and run a selected workflow. |
| **Best for** | Beginners who don't want to set up ComfyUI locally.<br />People who want to share workflows. | People who have ComfyUI locally.<br />People who have private custom nodes.<br />People who need to interact with the local file system. | Building and editing workflows while viewing the canvas. |
| **Requires** | Your own agent.<br />An active Comfy Cloud subscription. | Your own agent.<br />A local ComfyUI setup. | A Comfy account. No waitlist on Cloud; Comfy Desktop is coming soon. |
| **GPU** | Cloud GPUs (no hardware requirements) | Your local GPU | Cloud GPUs today. Local hardware once Comfy Desktop support ships. |
| **Models** | Comfy Cloud models.<br />You can import your own models. | Local models downloaded to your machine. | Cloud models today. Local models once Comfy Desktop support ships. |
| **Custom nodes** | The custom nodes supported on Comfy Cloud. | You can install any custom node. | Cloud-supported nodes today. Any local node once Comfy Desktop support ships. |

Both MCP columns are the **same product and the same page**. See [Comfy MCP](/agent-tools/mcp) to pick one. You can connect both at once.

***

## 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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.