mcp-comfyui-proxy 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Available on [npm](https://www.npmjs.com/package/mcp-comfyui-proxy), with release notes on [GitHub](https://github.com/kucharskill/mcp-comfyui-proxy/releases).
4
4
 
5
- Control ComfyUI workflows through MCP and a local reverse proxy. The proxy opens ComfyUI in your browser and injects JavaScript for working with its actual workflow tabs. No custom nodes, browser extension, userscript, Comfy CLI, Python environment or GPU are required on the MCP machine.
5
+ Control ComfyUI workflows through MCP and a local reverse proxy. The proxy opens ComfyUI in your browser and connects its workflow tabs to your MCP client.
6
6
 
7
- Requirements: an existing ComfyUI HTTP(S) backend and Node.js 24.12 or later with npm. All runtime code is JavaScript, with no build step or compiler. Rendering uses your backend and may incur its normal GPU/provider charges.
7
+ Requires Node.js 24.12 or later with npm and access to a ComfyUI backend.
8
8
 
9
9
  ## Start through npx
10
10
 
@@ -35,9 +35,9 @@ startup_timeout_sec = 120
35
35
  tool_timeout_sec = 180
36
36
  ```
37
37
 
38
- The stdio adapter writes MCP messages only to stdout. Allow at least 180 seconds for tool calls involving file transfers. npm caches the package and dependencies and checks for updates through `--prefer-online`.
38
+ Set the MCP client's tool-call timeout to 180 seconds to allow longer file transfers. Calls return as soon as the operation finishes.
39
39
 
40
- Tool discovery does not start HTTP. The first valid tool call starts a shared background HTTP server when needed, normally at `http://127.0.0.1:37861/mcp`. Set `COMFY_MCP_PORT` to select another port. HTTP and all session proxies bind to `127.0.0.1` only.
40
+ The local proxy starts automatically on the first tool call and runs in the background.
41
41
 
42
42
  ## Connect and edit
43
43
 
@@ -126,11 +126,11 @@ HTTP, WebSocket, uploads, downloads and Range responses are proxied. Selected UT
126
126
 
127
127
  ## Lifetime and updates
128
128
 
129
- The stdio adapter fetches a CLI manifest at startup and each `tools/list`, then delegates each call to a fresh CLI process through `npx --prefer-online ...@latest`. A changed manifest emits the standard tool-list-changed notification; the client controls when it refreshes. Updating the adapter itself requires restarting it.
129
+ New CLI releases apply to subsequent calls. npm reuses downloaded package files when the version has not changed. Your MCP client refreshes the list of available tools when notified of a change. Updating the stdio adapter itself requires restarting it.
130
130
 
131
- HTTP retains its loaded version and sessions until it stops. Compatible CLI releases reuse it through a separate `protocol_version`. Updates do not forcibly restart it. After exit, the next valid call starts HTTP from the current CLI. A new tool may be unavailable on an older HTTP runtime until restart.
131
+ The running proxy retains its version and sessions until it stops. Compatible CLI updates continue using it. After it exits, the next call starts the updated proxy. New features that require a newer proxy become available after that restart.
132
132
 
133
- HTTP shuts down after 30 minutes without meaningful activity. Tool calls, mutating browser requests, HTML navigation and media downloads reset the timer. Discovery, health checks, background polling and heartbeat do not. Shutdown forgets sessions, authentication and workflow IDs, without stopping ComfyUI or rendering. Old IDs fail explicitly; connect again.
133
+ The local proxy shuts down after 30 minutes of inactivity. Workflow operations, browser navigation and file transfers keep it active. After shutdown, connect again to establish a new session. ComfyUI and its running jobs continue independently.
134
134
 
135
135
  Connecting again to the same normalized backend URL replaces its previous session after the new proxy and browser opening succeed. Its first proxy port is remembered for future connections. A busy port uses a free fallback without overwriting that preference.
136
136
 
@@ -153,7 +153,7 @@ npm run start:stdio
153
153
 
154
154
  Local stdio uses `--local` to run this checkout's CLI without npm lookups. `npm start` runs HTTP manually. Files in `extension/` are served directly: refresh the page after editing them. Restart HTTP after changing server code. Development checks are available through `npm test`.
155
155
 
156
- For an optional Windows CPU-only ComfyUI fixture, `test-confy-server.cmd` uses existing `uvx` and `git` commands to prepare ComfyUI 0.45.0 under `%TEMP%`, without models or Manager. This developer script is excluded from npm and is not required at runtime.
156
+ On Windows, `test-confy-server.cmd` prepares a CPU-only ComfyUI 0.45.0 fixture under `%TEMP%` using `uvx` and `git`.
157
157
 
158
158
  ## Diagnostics
159
159
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-comfyui-proxy",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "files": [