Skip to main content
Connect the RunComfy MCP server to your AI assistant and make your first tool call.

1. Get your API token

Copy your API token from your Profile page.
Copy the whole token. A truncated token is the most common cause of a 401 — the server can’t tell a partial token from a wrong one.

2. Connect your client

Run this in your terminal, replacing YOUR_RUNCOMFY_TOKEN:
Then confirm it worked:
You should see runcomfy: ... - ✓ Connected.
The transport is http, not streamable-http. Claude Code names the Streamable HTTP transport http, and rejects any other value before it ever contacts the server. Flags also need two dashes — -transport and -header are not valid.
Want it in every project? By default the server is added only to the current directory. Add --scope user to make it available everywhere:
Prefer not to keep a token in your config? Omit the header and sign in through your browser instead:
Then run /mcp inside Claude Code, choose runcomfy, and select Authenticate. A RunComfy page opens where you paste your token once.

3. Verify the connection

Ask your assistant:
“List my RunComfy deployments”
It will call list_deployments. If you get back deployment names and IDs, you’re connected.

4. Your first inference

With a deployment available, try:
“Run my [deployment name] with the prompt: a futuristic cityscape at sunset”
The assistant will:
  1. Call get_deployment to inspect the workflow’s node IDs
  2. Call submit_request with the appropriate overrides
  3. Call get_request_status to poll progress
  4. Call get_request_result to return the output URL

Troubleshooting

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.
Check the token on its own before blaming the client:
200 means the token is good and the problem is in your client config. 401 means the token itself is bad.
No Authorization header arrived. The header has to be a single argument, so keep it quoted:
Without the quotes the shell splits it at the space and the header is dropped.
If you see an error about the transport, or the flags aren’t recognized, check the command shape:
  • Transport is httpnot streamable-http.
  • Flags take two dashes — --transport, --header, not -transport, -header.
  • The order is claude mcp add [flags] NAME URL.
The working command is:
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 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.
Probe it — this connects for real and reports what came back:
If the failure is 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:
  • transport is streamable-http. RunComfy does not serve the older SSE transport.
  • url is exactly https://mcp.runcomfy.com/mcp, with no trailing slash.
That output contains your token in the clear — redact it before sharing. To test the token on its own, use the curl check in 401 — RunComfy rejected this API token above.
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.
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.
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.
More than 600 token-authenticated requests in a minute from one IP address. Normal assistant use never reaches this. Wait a minute and retry.
Still stuck? Email hi@runcomfy.com with the exact error message and the client you’re using.

Next steps