Skip to main content
ComfyArt serves an MCP server over HTTP. The built-in Agent uses it, and you can connect any other local MCP client to it, for example Claude Code or Codex in a terminal.

Enable it

Turn on Enable MCP in Agent Settings. The endpoint is:
The project id is the project value in the ComfyArt URL. Canvas tools are executed by the open ComfyArt tab of that project, so keep it open. For Claude Code:

Tools

generate_image and generate_video return at once with ids; call wait_generation with them to get the results. Use list_models to see which installed models accept references. Inside built-in Agent chats the agent also gets a tool to ask you multiple-choice questions.
The MCP server is part of your local ComfyUI and has no login of its own. Anyone who can reach your ComfyUI port can use it, so keep ComfyUI on localhost or a trusted network when MCP is on.