Agent skill

Managing MCP Index

by Comfy-Org in Comfy-Org/workflow_templates

Builds and maintains templates/index.mcp.json for Comfy Cloud MCP tools.

MITAuto-check: notesFrontend & Design

Install Managing MCP Index

skills CLI
$ npx skills add Comfy-Org/workflow_templates --skill managing-mcp-index -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Comfy-Org/workflow_templates managing-mcp-index --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Comfy-Org/workflow_templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/managing-mcp-index .claude/skills/managing-mcp-index && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
managing-mcp-index
GitHub stars
1.3k
Token cost
~1.9k tokens
SKILL.md length
589 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Builds and maintains templates/index.mcp.json for Comfy Cloud MCP tools.

  • Works in 4 steps: npm run mcp — refresh structured fields… → npm run mcp:ai / npm run mcp:models — if… → Commit index.mcp.json and relevant… → …
  • Asked to: sync MCP index
  • SKILL.md covers What This Is, Quick Commands (npm), Pipeline Overview and Data Files (scripts/data/mcp/), plus 7 more sections
  • Calls npm and python3; needs AI_API_KEY

What it does

Managing MCP Index is an agent skill from Comfy-Org/workflow_templates. Builds and maintains templates/index.mcp.json for Comfy Cloud MCP tools. Covers deterministic sync from index.json, AI-generated English descriptions, model registry profiles, template cache, recommend/freshness overrides, and API node scanning. Use when asked to: sync MCP index, index.mcp.json, mcp sync, enhance MCP descriptions, AI template descriptions for MCP, modelsregistry, templatecache, recommend override, freshness, MCP pipeline, run mcp, mcp:ai, update MCP metadata, regenerate MCP copy, Use Cases MCP…

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering MCP servers, Internationalization and Translation. It works with Model Context Protocol, ComfyUI and npm. The repository describes itself as: ComfyUI template workflows. The licence is MIT.

When your agent uses it

  • Asked to: sync MCP index
  • Enhance MCP descriptions
  • AI template descriptions for MCP
  • Recommend override

Example prompts

  • “Use the managing-mcp-index skill to build and maintains templates/index.mcp.json for Comfy Cloud MCP tools”
  • “/managing-mcp-index”

Requirements

  • Python 3
  • A credential in AI_API_KEY

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. npm run mcp — refresh structured fields and merge cache.
  2. npm run mcp:ai / npm run mcp:models — if AI copy needed.
  3. Commit index.mcp.json and relevant scripts/data/mcp/*.json files.
  4. Bump pyproject.toml version if template assets changed (repo convention).

What it can do on your machine

Read from SKILL.md and the folder at commit 8be1f8c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • AI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Managing MCP Index loads about 1.9k tokens when it runs. Until then it costs about 187 tokens; SKILL.md has 589 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~187
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:31
    tes for AI steps: copy `.env.example` → `.env`, set `AI_API_KEY`, `AI_BASE_URL`, `AI_MODEL`. Optional: `COMFYUI_REPO_PAT

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Comfy-Org/workflow_templates at commit 8be1f8c, republished under its MIT licence (© Comfy-Org). 589 words, ~1,862 tokens.

Download SKILL.mdSave it as .claude/skills/managing-mcp-index/SKILL.md (or your agent's skills folder).
name
managing-mcp-index
description
Builds and maintains templates/index.mcp.json for Comfy Cloud MCP tools. Covers deterministic sync from index.json, AI-generated English descriptions, model registry profiles, template cache, recommend/freshness overrides, and API node scanning. Use when asked to: sync MCP index, index.mcp.json, mcp sync, enhance MCP descriptions, AI template descriptions for MCP, models_registry, template_cache, recommend override, freshness, MCP pipeline, run mcp, mcp:ai, update MCP metadata, regenerate MCP copy, Use Cases MCP descriptions. NOT for site SEO (site/generate-ai) or hub i18n (sync:i18n / managing-translations). Triggers on: mcp index, index.mcp, mcp sync, template cache, models registry, mcp ai, recommend, MCP description.

Managing MCP Index

What This Is

templates/index.mcp.json is a machine-oriented template index for Comfy Cloud MCP tools. It is separate from:

SystemFile(s)Purpose
MCP index (this skill)index.mcp.jsonEnglish metadata for AI tool routing: description, io, capabilities, recommend
Hub manifestindex.json + index.{locale}.jsonHuman UI + 11-language titles/descriptions → skill: managing-translations
Site SEOsite/ AI pipelineLong-form page copy → skill: regenerating-ai-content

MCP descriptions are English only. There is no MCP translation step. Multi-language hub copy uses npm run i18n (sync_data.py), not the MCP pipeline.

Quick Commands (npm)

bash
npm run mcp          # Step 1: sync index.json → index.mcp.json
npm run mcp:check    # Dry-run sync (no write)
npm run mcp:ai       # Step 2b: AI English descriptions (stale templates only)
npm run mcp:models   # Step 2a: AI model profiles in models_registry.json
npm run mcp:enhance  # Step 2a + Step 2b in the required order
npm run i18n         # Hub translations (NOT MCP — separate system)

Prerequisites for AI steps: copy .env.example → .env, set AI_API_KEY, AI_BASE_URL, AI_MODEL. Optional: COMFYUI_REPO_PATH for API node dropdown scanning during npm run mcp.

Advanced flags (run Python directly): see scripts/mcp/docs/MCP_AI_ENHANCEMENT.md.

Pipeline Overview

text
templates/index.json
        │
        ▼  npm run mcp  (sync_index.py)
templates/index.mcp.json  ◄── merge description/io from template_cache (hash match)
        │
        ├── npm run mcp:models  → scripts/data/mcp/models_registry.json
        └── npm run mcp:ai      → scripts/data/mcp/template_cache.json → merge back to index.mcp.json
StepScriptWrites
1 Syncscripts/mcp/sync_index.pyindex.mcp.json, refreshes api_node_model_options.json
2a Modelsscripts/mcp/enhance_models_registry.pymodels_registry.json
2b Templatesscripts/mcp/enhance_descriptions.pytemplate_cache.json + merge → index.mcp.json

Run 2a before 2b when both are needed. Run sync before AI after adding templates to index.json. Sync automatically creates complete pending registry profiles for model names introduced by new MCP templates. The normal npm run sync and release CI run MCP sync before bundle sync.

Data Files (scripts/data/mcp/)

FileRole
models_registry.jsonModel profiles: summary, strengths, capabilities (AI context for descriptions)
template_cache.jsonPer-template description + io, versioned by source_hash (SHA-256 of templates/{name}.json)
template_overrides.jsonManual recommend / freshness pins (survives sync)
api_node_model_options.jsonScanned ComfyUI API node model dropdowns

Do not mix layers: model copy goes in models_registry.json, template copy in template_cache.json.

Template Cache Versioning

  • Each cache entry has source_hash = hash of workflow JSON.
  • Hash match → sync merges cached description / io into index.mcp.json.
  • Hash mismatch or missing entry → npm run mcp:ai targets that template.
  • enhance_descriptions.py only updates description; it preserves existing io from cache or MCP entry.

Fields: Who Owns What

FieldSet byNotes
name, title, task, model, usage, minComfyUIVersionSync from index.jsonminComfyUIVersion omitted when the hub index has no value
capabilities, io (default)Syncworkflow from tags; model_options when single API model node
freshnessSync from dateOverride via template_overrides.json
recommendSync from usage tiersOverride via template_overrides.json
description, io (polished)template_cache.jsonAI or manual; hash-gated
description (AI only)enhance_descriptions.pyEnglish; references models_registry.json
Show full SKILL.md (242 more words)Show less
recommend tiers (from usage)
UsageLabel
≥ 2500highly_recommended
≥ 1000top
≥ 500high
≥ 200medium
≥ 50low
< 50not_recommended

Applied / Use Cases category floor: never below low (no not_recommended). Applies to Product & Ads, Character & Fashion, Brand & Design, and legacy Use Cases.

New-template floor (≤30 days since date): never below medium when usage is still low (same window as freshness new).

Manual override example (template_overrides.json):

json
{
  "schema_version": 1,
  "templates": {
    "image_krea2_turbo_t2i": { "recommend": "high" }
  }
}

Common Workflows

After adding or editing templates in index.json
bash
npm run mcp:check    # preview added/removed
npm run mcp
npm run mcp:ai       # only if --check shows stale templates (or workflow JSON changed)
After editing a workflow JSON (templates/foo.json)

Hash changes → run npm run mcp:ai for that template (or all stale). Optionally:

bash
python3 scripts/mcp/enhance_descriptions.py --template foo
Pin recommend / freshness for a template

Edit scripts/data/mcp/template_overrides.json, then npm run mcp.

Regenerate all MCP descriptions (expensive)
bash
python3 scripts/mcp/enhance_descriptions.py --all
One-time: seed cache from existing MCP copy
bash
python3 scripts/mcp/import_template_cache.py

Sync Exclusions

  • Categories skipped: Node Basics, LLM, Getting Started
  • Local-only templates: includeOnDistributions: ["local"] only — not in MCP index
  • Multi API model nodes: model_options omitted (logged to scripts/.output/sync_index.log)

What NOT To Do

  • Do not put model profiles in template_cache.json.
  • Do not expect npm run i18n to update index.mcp.json.
  • Do not hand-edit index.mcp.json description without updating template_cache.json — next sync overwrites unless cache hash matches.
  • Do not run enhance_descriptions.py before enhance_models_registry.py when model context is missing for new models.

After Changes

  1. npm run mcp — refresh structured fields and merge cache.
  2. npm run mcp:ai / npm run mcp:models — if AI copy needed.
  3. Commit index.mcp.json and relevant scripts/data/mcp/*.json files.
  4. Bump pyproject.toml version if template assets changed (repo convention).

Reference Docs

  • Full spec: scripts/mcp/docs/MCP_AI_ENHANCEMENT.md
  • Script layout: scripts/mcp/README.md
  • Data files: scripts/data/mcp/README.md

© Comfy-Org, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/managing-mcp-index of Comfy-Org/workflow_templates.

Open the folder on GitHubat commit 8be1f8c

Compare with similar skills

Managing MCP Index next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Managing MCP Index compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Managing MCP Index this skillComfy-Org/workflow_templates1.3k—~1.9kAutomated safety check: NotesMIT
Frontend Build Timing Auditopenops-cloud/openops1.1k—~2.3kAutomated safety check: PassCustom licence
Panel Node Pack Syncartokun/comfyui-mcp803—~2.9kAutomated safety check: NotesMIT
Docs I18n TranslateComfy-Org/docs300—~3.2kAutomated safety check: NotesGPL-3.0
Project Docs Maintainerswimmwatch/cloakbrowser-mcp164—~569Automated safety check: PassMIT
Create Docsvictorgarciaesgi/nuxt-typed-router4132 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Frontend Build Timing Audit

    openops-cloud/openops

    Detects and diagnoses chunk-evaluation timing bugs in the Vite/rolldown production build of react-ui (works-in-dev / broken-in-build i18n regressions, missing UI labels, module-scope t()…

    1.1k GitHub stars~2.3k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Panel Node Pack Sync

    artokun/comfyui-mcp

    Keep the ComfyUI sidebar panel node-pack (comfyui-agent-panel) in step with the orchestrator after comfyui-mcp updates.

    803 GitHub stars~2.9k tokensUpdated 5 days ago
    AI & LLM EngineeringAuto-check: notes
  • Docs I18n Translate

    Comfy-Org/docs

    Translate ComfyUI Mintlify docs from English MDX to ja/zh/ko using translate-i18n.ts.

    300 GitHub stars~3.2k tokensUpdated today
    Frontend & DesignAuto-check: notes
  • Project Docs Maintainer

    swimmwatch/cloakbrowser-mcp

    Maintain, organize, consolidate, or audit the cloakbrowser-mcp documentation set only when the user explicitly requests project documentation maintenance or an authorized public change requires it.

    164 GitHub stars~569 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Create Docs

    victorgarciaesgi/nuxt-typed-router

    Create complete documentation sites for projects. An agent skill from victorgarciaesgi/nuxt-typed-router.

    413 GitHub starsUsed in 2 repos~2.8k tokens
    Frontend & DesignAuto-check passed
  • Sap Extension Creator

    heshengtao/super-agent-party

    Create Super Agent Party (SAP) extensions. An agent skill from heshengtao/super-agent-party.

    2.7k GitHub stars~6k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed

More from Comfy-Org/workflow_templates

All 10 skills in this repo
  • Editing Site Content

    Comfy-Org/workflow_templates

    Edits, updates, rewrites, or adds content on the ComfyUI template site pages.

    1.3k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Importing Subgraphs

    Comfy-Org/workflow_templates

    Imports and registers subgraph blueprints into the ComfyUI workflowtemplates repository.

    1.3k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Managing Bundles

    Comfy-Org/workflow_templates

    Manages template bundles, categories, and ordering in the ComfyUI template repository.

    1.3k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Managing Releases

    Comfy-Org/workflow_templates

    Manages releases for this repository: how version bumps, PyPI publishing, and GitHub releases work.

    1.3k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Managing Templates

    Comfy-Org/workflow_templates

    Manages ComfyUI workflow templates end-to-end: add new templates and rename existing ones (files, index metadata, bundles, i18n, package sync).

    1.3k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Managing Thumbnails

    Comfy-Org/workflow_templates

    Manages thumbnail and preview images for ComfyUI workflow templates.

    1.3k GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Questions about Managing MCP Index

What does Managing MCP Index do?

Builds and maintains templates/index.mcp.json for Comfy Cloud MCP tools. Managing MCP Index is an agent skill from Comfy-Org/workflow_templates.json for Comfy Cloud MCP tools.

When should I use Managing MCP Index?

Managing MCP Index fits situations like: asked to: sync MCP index; enhance MCP descriptions; AI template descriptions for MCP; recommend override.

How do I install Managing MCP Index in Claude Code?

Run `npx skills add Comfy-Org/workflow_templates --skill managing-mcp-index -a claude-code`. Or copy the skill folder (.claude/skills/managing-mcp-index in Comfy-Org/workflow_templates) into .claude/skills/managing-mcp-index in your project. Claude Code loads it when a task matches its description.

How do I install Managing MCP Index in Codex?

Run `npx skills add Comfy-Org/workflow_templates --skill managing-mcp-index -a codex`. Or copy the skill folder (.claude/skills/managing-mcp-index in Comfy-Org/workflow_templates) into .agents/skills/managing-mcp-index in your project. Codex loads it when a task matches its description.

Can I use Managing MCP Index in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Comfy-Org/workflow_templates --skill managing-mcp-index -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/managing-mcp-index, .gemini/skills/managing-mcp-index, .github/skills/managing-mcp-index and .opencode/skills/managing-mcp-index in your project.

What does Managing MCP Index need to run?

Going by SKILL.md and its folder, Managing MCP Index needs the command-line tools its instructions call (npm and python3) and credentials named AI_API_KEY. Our summary lists: Python 3; A credential in AI_API_KEY.

Does Managing MCP Index access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Managing MCP Index safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Managing MCP Index use?

Managing MCP Index is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Managing MCP Index use?

About 1.9k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Managing MCP Index?

Skills that share tags, products or a category with Managing MCP Index: Frontend Build Timing Audit (openops-cloud/openops, 1.1k stars), Panel Node Pack Sync (artokun/comfyui-mcp, 803 stars), Docs I18n Translate (Comfy-Org/docs, 300 stars) and Project Docs Maintainer (swimmwatch/cloakbrowser-mcp, 164 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Managing MCP Index?

Comfy-Org (a GitHub organization) maintains it in Comfy-Org/workflow_templates, which has 1,278 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 10, 2026.

Source: Comfy-Org/workflow_templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.