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

# Overview

> Using ComfyUI as a Developer

ComfyUI is a modular GenAI inference engine that can be run as a server, accessed via API, extended with custom nodes, and managed from the command line. Choose your path below.

## Deploy ComfyUI as a Server

Run ComfyUI in your own environment and expose it as an API endpoint. Learn about the WebSocket message protocol, available routes, and execution modes.

<Card title="ComfyUI Server API" icon="server" href="/development/comfyui-server/comms_overview">
  Run ComfyUI as a server on your own machine. Start, configure, and call it via REST and WebSocket APIs.
</Card>

See also: [API Examples](/development/comfyui-server/api-examples) · [Partner Node API Integration](/development/comfyui-server/api-key-integration)

## Cloud API

Run workflows programmatically on Comfy Cloud without managing your own hardware. Use the REST API, browse the OpenAPI spec, and integrate Partner Nodes via API Key.

<Card title="Cloud API Overview" icon="cloud" href="/development/cloud/overview">
  Learn how to authenticate, submit jobs, check status, and download results from Comfy Cloud.
</Card>

See also: [API Reference](/development/cloud/api-reference) · [OpenAPI Specification](/development/cloud/openapi) · [Getting an API Key](/development/api-development/getting-an-api-key) · [APIs Overview](/development/api-development/overview)

## Agent Tools / MCP

Connect AI agents to ComfyUI via the Model Context Protocol (MCP). Use the hosted Cloud MCP or run the Partner MCP server locally for generation across 30+ providers.

<Card title="MCP Overview" icon="robot" href="/agent-tools">
  Compare Cloud MCP and Partner MCP, and find the right setup for your AI agent integration.
</Card>

See also: [Comfy Cloud MCP](/agent-tools/cloud) · [Comfy Partner MCP](/agent-tools/partner-mcp)

## Comfy CLI

Manage your ComfyUI installation, custom nodes, and workflows from the command line. Install, update, configure, and automate with ease.

<Card title="CLI Getting Started" icon="terminal" href="/comfy-cli/getting-started">
  Learn how to install, update, and manage ComfyUI from the terminal.
</Card>

See also: [CLI Reference](/comfy-cli/reference) · [Troubleshooting](/comfy-cli/troubleshooting)

## Develop Custom Nodes

Custom nodes let you extend ComfyUI with your own Python backends, JavaScript UI widgets, and integrations. This is one of the most powerful ways to contribute to the ecosystem.

<CardGroup cols={2}>
  <Card title="Getting Started" icon="compass" href="/custom-nodes/overview">
    New to custom nodes? Learn the anatomy of a node, how to publish it, and best practices.

    <br />

    <br />

    Key pages: <a href="/custom-nodes/walkthrough">Walkthrough</a> · <a href="/custom-nodes/v3_migration">v3 Migration Guide</a>
  </Card>

  <Card title="Backend (Python)" icon="python" href="/custom-nodes/backend/server_overview">
    Build the server-side of your custom node. Covers data types, image & mask handling, lazy evaluation, tensors, and more.

    <br />

    <br />

    Key pages: <a href="/custom-nodes/backend/datatypes">Data Types</a> · <a href="/custom-nodes/backend/images_and_masks">Images & Masks</a> · <a href="/custom-nodes/backend/lazy_evaluation">Lazy Evaluation</a> · <a href="/custom-nodes/backend/expansion">Node Expansion</a>
  </Card>

  <Card title="Frontend (JavaScript)" icon="js" href="/custom-nodes/js/javascript_overview">
    Add custom UI widgets, sidebar tabs, keybindings, and dialogs to your nodes. Full control over the ComfyUI frontend.

    <br />

    <br />

    Key pages: <a href="/custom-nodes/js/javascript_hooks">Hooks</a> · <a href="/custom-nodes/js/javascript_sidebar_tabs">Sidebar Tabs</a> · <a href="/custom-nodes/js/javascript_commands_keybindings">Commands & Keybindings</a> · <a href="/custom-nodes/js/javascript_examples">Examples</a>
  </Card>
</CardGroup>

See also: <a href="/custom-nodes/i18n">Internationalization (i18n)</a>

## Registry

Publish and manage your custom nodes through the Comfy Registry. The Registry provides versioning, security scanning, and discovery for the community.

<Card title="Publishing Overview" icon="puzzle-piece" href="/registry/overview">
  Register as a publisher, publish your first node, claim existing ones, and set up CI/CD for automated releases.
</Card>

See also: [Publishing Tutorial](/registry/publishing) · [Standards](/registry/standards) · [CI/CD](/registry/cicd) · [Specifications](/registry/specifications)
