MCPとツール呼び出し

comfyui-mcp

artokun/comfyui-mcp

A local-first, agent-native control plane for ComfyUI that provides an MCP server and sidebar agent to generate images, video, and audio, author and run workflows, and edit live graphs using natural language across any LLM.

★ 597スター
⑂ 93フォーク数
54未解決の問題
TypeScript言語
MITライセンス
Q@project.QualityScore編集部スコア

プロジェクトのスクリーンショット

comfyui-mcpのスクリーンショット comfyui-mcpのスクリーンショット comfyui-mcpのスクリーンショット comfyui-mcpのスクリーンショット comfyui-mcpのスクリーンショット comfyui-mcpのスクリーンショット

概要

comfyui-mcp acts as a comprehensive control plane for ComfyUI rather than a simple prompt-to-image bridge. It allows AI agents to interactively build, modify, execute, and troubleshoot ComfyUI workflows node-by-node. The system ships with extensive model-specific expertise (samplers, CFG, resolutions, curated URLs) so connected LLMs can configure workflows accurately without trial and error. It supports local, LAN, VPS, and Comfy Cloud deployments, and can be accessed via a headless MCP server or an embedded ComfyUI sidebar panel.

主な機能

  • 178 MCP tools for workflow execution, generation, and iteration
  • 36 AI skills providing model-specific generation guides and workflow recipes
  • 55 installer packs for one-command setups of specific model architectures
  • ComfyUI Agent Panel for live graph editing in the sidebar
  • Multi-provider support (Claude, ChatGPT, Gemini, Ollama, OpenRouter)
  • One-click remote tunneling via Cloudflare for hosted connectors
  • Autonomous agents for debugging, exploring nodes, and optimizing workflows
  • VRAM watchdog and cost guardrails for API credits

要件、インストール、クイックスタート

Add the MCP server to your Claude Code config (`~/.claude/settings.`):

{
"mcpServers": {
"comfyui": {
"command": "npx",
"args": ["-y", "comfyui-mcp"],
"env": {
"CIVITAI_API_TOKEN": ""
}
}
}
}

No need to clone the repository; npx downloads and runs it automatically. For the sidebar panel, search `comfyui-agent-panel` in ComfyUI-Manager.

使用方法

With ComfyUI running and the MCP server configured, prompt your LLM (e.g., Claude) to generate an asset: `Generate an image of a sunset over mountains`. The agent will locate or download a checkpoint, build the workflow, execute it, and return the result. For remote connections, use `npx -y comfyui-mcp@latest connect https://<your-comfyui-url>`. To expose the server as a Streamable-HTTP endpoint, run `npx -y comfyui-mcp@latest --tunnel`.

モデルの互換性とユースケース

Compatible with any LLM that supports the Model Context Protocol or can run as an OpenAI-compatible endpoint. Explicitly supported backends include Claude (via Agent SDK), ChatGPT (via Codex app-server), Gemini, Ollama, LM Studio, llama.cpp, OpenRouter, DeepSeek, GLM, MiMo, and Kimi.

ライセンスとリスクに関する注意事項

MIT License.

Editorial verification 2026-08-02: repository URL, owner, description, license and repository statistics were reviewed. License metadata: MIT. README was fetched for the channel draft; re-check repository dependencies, releases and model terms before production use.

リリースとメンテナンス

Not stated in the repository metadata

MemPalace

mempalace/mempalace

★ 58KPython

QwenPaw

agentscope-ai/qwenpaw

★ 33.9KPython

Composio

composiohq/composio

★ 29.5KTypeScript