Comfy-Org / Comfy-Org/comfy-cli

Add a command to save object_info for offline validation

Open
#739 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
968
Forks
151
Avg merge
1d 9h
Merged PRs (30d)
77

Description

**Describe the solution you'd like**

Could we add `comfy nodes snapshot --output object_info.json`?

It should use the normal target settings, stream the response, validate the JSON, and write the file atomically. This would give MCP clients a clean way to cache large node catalogs for offline validation.

**Describe alternatives you've considered**

Today users need to call `/object_info` with curl and manage the file manually.

**Additional context**

This gives comfy-mcp a CLI command it can wrap without adding direct HTTP logic.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing `comfy nodes` command entry points and how normal target settings are applied. Use the `/object_info` request as the source, then verify that the command streams and validates the JSON before atomically producing the requested `object_info.json` file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.