comfyops-mcp

comfyops-mcp

Wraps ComfyUI to generate images, video, and upscales from text prompts via MCP tools, providing a curated workflow interface without the node editor.

Category
访问服务器

README

comfyops-mcp — Local Generative AI Engine

Wraps ComfyUI so you can generate images, video, and upscales from a prompt — without ever touching the node editor. Pick a curated workflow, type what you want, get a PNG or MP4.

FastMCP 3.2 | 5 portmanteau tools | 6 curated workflows | ComfyUI :11086 | Backend :11087 | Dashboard :11088

<p align="center"> <img src="https://img.shields.io/badge/FastMCP-3.2-7c5cfc?style=flat-square" alt="FastMCP"> <img src="https://img.shields.io/badge/Python-3.11+-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python"> <img src="https://img.shields.io/badge/License-MIT-yellow?style=flat-square" alt="MIT"> <img src="https://img.shields.io/badge/status-MVP-orange?style=flat-square" alt="Status"> </p>

Comfy for the Perplexed

What's ComfyUI? It's the engine room of local AI image generation. You connect boxes labelled "KSampler", "CLIP Text Encode", and "VAE Decode" with wires, like a Moog synthesizer made by someone who hates knobs. It's incredibly powerful and completely impenetrable.

What's this? comfyops-mcp is a butler for ComfyUI. You tell it what you want — "a cat surfing on a pizza slice" — and it picks the right boxes, wires them up, and hands you the result. No node editor, no patch cables, no "what's a CFG scale?"

What can it do?

  • Turn text into images (FLUX.2, SDXL)
  • Turn text or photos into short videos (Wan 2.2)
  • Upscale old low-res images to 4K (ESRGAN)
  • Inpaint: replace parts of an image ("make that car red")
  • Browse and catalog workflows from the community
  • Remember every generation with its seed so you can reproduce it later

Who is it for?

  • You, who just wants pictures — prompt in, PNG out
  • You, who has an RTX 4090 gathering dust — put it to work
  • You, who already uses ComfyUI — now your AI assistant can drive it
  • You, who saw a cool AI image online and wants to make one

If you already know ComfyUI: comfyops registers curated workflows from workflows/ as MCP tools. You can add your own with comfy_workflows/register. The workflows dir is yours — export from the node editor, drop in, done.

Preview

ComfyUI Node Editor (what we wrap) comfyops Dashboard (what you see)
ComfyUI Dashboard

Screenshots pending — run just screenshots once the dashboard is live.

What You Can Do

"Generate a 1024x1024 image of a cat surfing on a pizza slice"
"Upscale my archive of 2024 SD generations to 4K"
"Turn this photo into a cinematic video" (Wan 2.2 i2v)
"Make 10 variations of this character concept"

Quick Install

git clone https://github.com/sandraschi/comfyops-mcp
cd comfyops-mcp
uv sync
.\start.ps1

See INSTALL.md for prerequisites and Claude Desktop config.

Features

  • Prompt-to-image: FLUX.2 klein, SDXL, Z-Image Turbo — curated workflows with sensible defaults
  • Prompt-to-video: Wan 2.2 (quality) and LTX-Video (speed)
  • Upscale & restore: ESRGAN and SUPIR for archive restoration
  • Inpaint & edit: Region-based editing via FLUX.2
  • VRAM guard: Checks free GPU memory before queueing — no OOM crashes
  • Seed control: Same seed + same workflow = identical output, every time
  • Generation library: SQLite history with search — browse past prompts and seeds
  • Agentic workflow: Multi-step generation planning via MCP sampling (SEP-1577)
  • Prefab cards: Rich in-chat status and generation cards

How It Runs

Mode ComfyUI required? When
MCP tools (stdio/HTTP) Yes Generation via Claude Desktop, Cursor, opencode
Dashboard (Vite) No Browse workflows, models, library — generation needs ComfyUI
ComfyUI sidecar Optional start.ps1 can launch ComfyUI automatically if COMFYOPS_COMFYUI_DIR is set

Workflow Depot

comfyops ships with 6 curated workflows, but the community has thousands. Use comfy_workflows/discover to pull from community sources, or comfy_workflows/register to add your own exports from the ComfyUI node editor. The webapp has a full recipe browser with tags, metadata, and search.

Tools

Tool Ops
comfy_generate image, video, upscale, inpaint, edit
comfy_workflows list, get, validate, register, search, discover
comfy_models list_installed, check_vram, health
comfy_library recent, search, record
comfy_agentic_assist Multi-step via MCP sampling

Community

Links

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选