publish_custom_node
Publish a local custom node pack to the Comfy Registry. Validates pack metadata then uses API key to create a public registry version.
Instructions
Publish a local custom-node pack to the public Comfy Registry (registry.comfy.org) by running comfy node publish inside the pack directory. First validates the pack's pyproject.toml has the required [project].name, [project].version and [tool.comfy].PublisherId (refusing the scaffold placeholder), then publishes using the API key from the REGISTRY_ACCESS_TOKEN environment variable (passed to comfy-cli via the environment, never via logged arguments). This is the LAST step of the author loop and an IRREVERSIBLE, EXTERNAL action: it creates/updates a PUBLIC registry version that this tool cannot undo. Requires comfy-cli installed and REGISTRY_ACCESS_TOKEN set. LOCAL-ONLY: it reads and runs against a pack on the local filesystem and is meaningless for a remote --comfyui-url target. To create a pack first, use scaffold_custom_node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Pack folder name under <COMFYUI_PATH>/custom_nodes/ to publish. Provide this or `path`. | |
| path | No | Explicit absolute path to the pack directory to publish. Overrides `name` when both are given. |