1. Choose how to sign in
Apps with a browser sign-in, such as Claude.ai, ChatGPT and Claude Code, open a RunComfy page where you sign in with your account and allow the app. You need no token, and you can disconnect an app at any time under Connected AI apps in your Profile. For a client that takes headers, such as a config file or CI, copy your API token from your Profile page instead.2. Connect your client
- Claude.ai
- Claude Code
- ChatGPT
- Cursor
- VS Code
- Windsurf
- Hermes Agent
- OpenClaw
- Other clients
- Add RunComfy Full to Claude. Review the prefilled name and URL, then select Continue.
- If Claude asks how to sign in, select Sign in now. If asked for an OAuth client, select Register automatically. Add the connector and select Connect if prompted.
- On the RunComfy page that opens, select Continue with RunComfy, sign in and allow Claude. Tick any optional access you want it to have.
- Enable the connector under Connectors in your chat.
https://mcp.runcomfy.com/mcp.
If Claude says the URL already exists, use the existing connector with
that server URL. On Team and Enterprise plans, your organization owner
may need to add the connector first.For generation, enable the custom connector that uses
https://mcp.runcomfy.com/mcp. The RunComfy Directory connector uses
https://mcp.runcomfy.com/claude/mcp for model browsing and account lookups.RunComfy creates a token for this connection and stores it encrypted.
Claude never receives it.To disconnect, remove the connector in Claude, or disconnect it under
Connected AI apps in your Profile.3. Verify the connection
Ask your assistant:“Find three RunComfy models that generate images from text and show their published prices.”The assistant can use
list_models to return catalog results without starting a job.
4. Your first inference
Run a hosted text-to-image model without setting up a deployment. Generation uses your RunComfy balance.“Use RunComfy to create a watercolor of a mountain cabin at sunrise. First, suggest a text-to-image model and show the estimated price for one image at your chosen settings. If you can’t determine the price, stop and tell me. Wait for my confirmation before starting. After I confirm, submit one job for one image and give me the result link.”The assistant can find the model and its input schema with
list_models and get_model.
After you confirm, it can submit one job with run_model and return the hosted image URL using
get_model_request_status and get_model_request_result.
If you already have a ComfyUI deployment, you can also try:
“Run my [deployment name] with the prompt: a futuristic cityscape at sunset”The assistant will:
- Call
get_deploymentto inspect the workflow’s node IDs - Call
submit_requestwith the appropriate overrides - Call
get_request_statusto poll progress - Call
get_request_resultto return the output URL
Troubleshooting
401 — RunComfy rejected this API token
401 — RunComfy rejected this API token
The token reached the server and RunComfy did not recognize it. Almost
always one of:
- Truncated on copy. Re-copy the whole token from your Profile.
- Regenerated. Generating a new token invalidates the old one everywhere. Update every client that used it.
- Extra characters. Quotes, a trailing space, or a line break pasted along with the token.
200 means the token is good and the problem is in your client config.
401 means the token itself is bad.401 with no explanation in the body
401 with no explanation in the body
No Without the quotes the shell splits it at the space and the header is
dropped.
Authorization header arrived. The header has to be a single argument,
so keep it quoted:Claude Code rejects the command before connecting
Claude Code rejects the command before connecting
If you see an error about the transport, or the flags aren’t recognized,
check the command shape:
- Transport is
http— notstreamable-http. - Flags take two dashes —
--transport,--header, not-transport,-header. - The order is
claude mcp add [flags] NAME URL.
The server was there yesterday and is gone now
The server was there yesterday and is gone now
claude mcp add defaults to local scope — the current directory only.
If you moved to another project, re-add it with --scope user so it
follows you everywhere.Hermes doesn't see the tools after editing config.yaml
Hermes doesn't see the tools after editing config.yaml
Hermes loads
~/.hermes/config.yaml at startup. After editing it, run
/reload-mcp in the session, or restart the gateway.If it reloads but the tools still aren’t there, check for a tools.include
allowlist on the entry — anything not listed is hidden, including tools
added since you wrote the list. hermes mcp list shows N selected when a
filter is active and all when it isn’t.Ignore the RUNCOMFY_API_TOKEN is not set warning if you’re using
${env:...} — it prints even when the variable resolves fine.OpenClaw can't reach the server
OpenClaw can't reach the server
Probe it — this connects for real and reports what came back:If the failure is That output contains your token in the clear — redact it before sharing.
To test the token on its own, use the
MCP error -32001: Request timed out within a few
seconds of running openclaw mcp add, it’s the probe deadline, not the
network — re-run with --timeout 10, or use openclaw mcp set, which
saves without probing.Otherwise check two things in the entry:transportisstreamable-http. RunComfy does not serve the older SSE transport.urlis exactlyhttps://mcp.runcomfy.com/mcp, with no trailing slash.
curl check in 401 — RunComfy
rejected this API token above.invalid_target during browser sign-in
invalid_target during browser sign-in
The URL must be exactly
https://mcp.runcomfy.com/mcp, with no trailing
slash. The access token is bound to that exact address, so
.../mcp/ is treated as a different resource.invalid_client_metadata during browser sign-in
invalid_client_metadata during browser sign-in
Your client registered a redirect URI that isn’t a loopback address and
isn’t on the allowlist of hosted clients. Use the API token header instead
— it works with every Streamable HTTP client. If you maintain a hosted MCP
client and want its callback allowlisted, email
hi@runcomfy.com.
503 with a Retry-After header
503 with a Retry-After header
RunComfy’s API couldn’t be reached to verify your token. This is temporary
— retry after the number of seconds in the
Retry-After header.429 — too many requests
429 — too many requests
More than 600 token-authenticated requests in a minute from one IP address.
Normal assistant use never reaches this. Wait a minute and retry.
Next steps
- Tool Reference — Detailed parameters and examples for all 31 tools
- FAQ — Common questions
- Serverless API docs — Understand deployments, workflows, and the async queue
