connect

connect is a skill for Claude Code from hybridindie/comfyui_mcp. It costs 21 tokens per session (483 once invoked), scanned B, original, MIT.

A setup workflow for connecting a ComfyUI MCP server to an AI client such as Claude, Cursor, or OpenCode. It explains local connections using standard input and output, or remote connections over HTTP with a token.

In plain words
What is it for?
Use it to connect a local or shared ComfyUI installation and verify that the client can access it.
Why use it?
It addresses the configuration details that can prevent a client from reaching ComfyUI, including server location, transport choice, authentication, and a read-only check.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions OpenCode.

Good fit Use it to connect a local or shared ComfyUI installation and verify that the client can access it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hybridindie/comfyui_mcp/connect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hybridindie/comfyui_mcp --skill connect
Clone the repo
git clone --depth 1 https://github.com/hybridindie/comfyui_mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/hybridindie/comfyui_mcp/connect/github.svg)](https://agentmods.dev/skills/hybridindie/comfyui_mcp/connect)
Your own site
<a href="https://agentmods.dev/skills/hybridindie/comfyui_mcp/connect"><img src="https://agentmods.dev/badge/skills/hybridindie/comfyui_mcp/connect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for connect

Your own site · 80×15
<a href="https://agentmods.dev/skills/hybridindie/comfyui_mcp/connect"><img src="https://agentmods.dev/badge/skills/hybridindie/comfyui_mcp/connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 483 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00483
Opus 5.5 $0.00008 $0.00193
Sonnet 5.5 $0.00004 $0.00097
Haiku 4.5 $0.00002 $0.00048

Measured 2d ago against content hash 8947b19e01f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

connect scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Use the client's environment interpolation — `${env:COMFYUI_MCP_HTTP_TOKEN}` in Cursor, `{env:COMFYUI_MCP_HTTP_TOKEN}` in OpenCode. Claude Desktop does not expand env vars in every version; keep its config `chmod 600` if
skills/connect/SKILL.md · 40 lines

What it actually says

Connect a client

The user wants to wire this server into an MCP client. Request: "$ARGUMENTS".

Steps

  1. Ask two things. Which client, and where ComfyUI runs. Same machine with a local install → stdio. A shared/remote ComfyUI → Streamable HTTP.

  2. stdio (local ComfyUI). The client launches the server:

    • installed: comfyui-mcp-secure
    • no persistent install: uvx comfyui-mcp-secure
    • Docker: docker run --rm -i ... ghcr.io/hybridindie/comfyui_mcp:latest Set COMFYUI_URL if the instance is not at 127.0.0.1:8188.
  3. HTTP (remote/shared). The server must run with transport.remote.enabled: true and auth.enabled: true. Export COMFYUI_MCP_HTTP_TOKEN on the server host, then give the client:

    {
      "url": "http://<host>:8080/mcp",
      "headers": { "Authorization": "Bearer <token>" }
    }
    

    Use the client's environment interpolation — ${env:COMFYUI_MCP_HTTP_TOKEN} in Cursor, {env:COMFYUI_MCP_HTTP_TOKEN} in OpenCode. Claude Desktop does not expand env vars in every version; keep its config chmod 600 if the token is pasted.

  4. Verify with a read-only call. comfyui_get_server_features (or comfyui_get_queue). If it fails: check the URL and transport, the token variable, and the bind (a non-loopback host requires auth).

  5. Report the transport, where the config lives, and the verification result.

Notes

  • Never paste a token into a file you might commit; use the client's env interpolation.
  • Do not install packages or edit client config without the user's go-ahead.
  • Full per-client snippets: docs/site/getting-started-clients.md; the HTTP compose example lives in deploy/docker/docker-compose.http.yml.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 40 lines · 21 tokens per session scan B 8947b19e01f7

Subscribe to this mod's changes

connect is a skill published in the GitHub repository hybridindie/comfyui_mcp (2 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 483 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.

Related

connect compared with skills from other repositories

connect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
connecthybridindie/comfyui_mcpSkill22d agoMITB21Claude Code
local-gpu-imagegenChevalGrand520/local-gpu-imagegenSkill11mo agoMITA35Claude Code, Codex
b123d-modelingpzfreo/build123d-mcpSkill1719d agoApache-2.0A0Claude Code, Codex
b123d-editpzfreo/build123d-mcpSkill1719d agoApache-2.0A0Claude Code, Codex
mlflow-tracesGalbaz1/video-research-mcpSkill239d agoMITA37Claude Code
gemini-visualizeGalbaz1/video-research-mcpSkill239d agoMITA46Claude Code
video-explainerGalbaz1/video-research-mcpSkill239d agoMITA46Claude Code