How to Use KwaFlux from Hermes Agent and OpenClaw (MCP Setup)
Add KwaFlux to Hermes Agent with hermes mcp add or config.yaml, and to OpenClaw with openclaw mcp set, then keep the agent on the same computer as the app.
Key takeaways
- Hermes Agent adds KwaFlux with one
hermes mcp addcommand, or akwafluxentry under the top-levelmcp_serverskey in~/.hermes/config.yaml. - OpenClaw adds KwaFlux with
openclaw mcp set, which writes it undermcp.serversin OpenClaw's config. - Both agents start KwaFlux's server as a local program, so the agent must run on the same computer as KwaFlux, not on a remote server.
- Use each agent's own check,
hermes mcp testoropenclaw mcp show, before your first real request.
Hermes Agent and OpenClaw are personal AI agents that can use MCP tools, and both can drive KwaFlux through the local MCP server that installs with the app. KwaFlux's Settings generates the config and the install command for each. The one rule that matters most: the agent has to run on the computer where KwaFlux runs.
In this guide, you'll learn how to add KwaFlux to Hermes and to OpenClaw, how to check the connection, where people usually go wrong, and what to ask first.
Contents
- Why the agent must be on the same computer
- Before you start
- Hermes Agent: add KwaFlux
- Hermes Agent: check and limit the tools
- OpenClaw: add KwaFlux
- OpenClaw: check the entry
- Your first requests
- Troubleshooting
- FAQ
Why the agent must be on the same computer
KwaFlux's MCP server is a stdio server: the agent starts it as a child process and talks to it over standard input and output. That process then connects to the KwaFlux app over a channel that only works on the same computer.
Many people run OpenClaw or Hermes on a server that stays on, such as a VPS or a home server, and chat with it from their phone. That setup can't reach KwaFlux on your PC. To use KwaFlux, run the agent, or at least the part that starts MCP servers, on the PC or Mac where KwaFlux is installed and open.
Before you start
- KwaFlux 1.0.14 or later, open.
- Node.js 18 or newer, on PATH. Check with
node --version. KwaFlux's Settings card also looks for Node.js and writes its full path into the config, as in the examples below; if it can't find Node.js, it says so and writesnodeinstead. - In KwaFlux: Settings › Agent (MCP), then choose Hermes or OpenClaw under MCP host.
Hermes Agent: add KwaFlux
With the command line. Click Copy install command and run it. For a default Windows install:
hermes mcp add kwaflux --command "C:\Program Files\nodejs\node.exe" --args "C:\Program Files\KwaFlux\Tools\kwaflux-mcp\kwaflux_mcp.mjs"Hermes connects to the server and shows a picker of its tools; keep the ones you want.
By editing the config. Click Copy config and add it to ~/.hermes/config.yaml:
mcp_servers:
kwaflux:
command: 'C:\Program Files\nodejs\node.exe'
args:
- 'C:\Program Files\KwaFlux\Tools\kwaflux-mcp\kwaflux_mcp.mjs'If the file already has an mcp_servers: key, add only the kwaflux: block under it. Don't nest it as mcp: › servers:; Hermes reads the top-level mcp_servers key. Then run /reload-mcp in a session.
Hermes Agent: check and limit the tools
hermes mcp test kwafluxshows what the server actually answered.- In chat, Hermes names KwaFlux's tools
mcp_kwaflux_<tool>, such asmcp_kwaflux_kwaflux_get_app_status. - To load only some tools, add a
tools:block withinclude:orexclude:under the server. Hermes registers only the included tools, andincludewins if both are set. - Hermes has a
timeoutfield for tool calls. KwaFlux's wait tool can wait up to 300 seconds in one call, so if long waits get cut off, set it above that.
OpenClaw: add KwaFlux
With the command line. Click Copy install command. On Windows, KwaFlux formats it like this:
openclaw mcp set kwaflux "{\"command\":\"C:\\Program Files\\nodejs\\node.exe\",\"args\":[\"C:\\Program Files\\KwaFlux\\Tools\\kwaflux-mcp\\kwaflux_mcp.mjs\"]}"The escaped quotes are written for Command Prompt. If your shell mangles them, which PowerShell can, edit the config file instead. On a Mac, KwaFlux wraps the JSON in single quotes.
By editing the config. Click Copy config and merge it into ~/.openclaw/openclaw.json:
{
"mcp": {
"servers": {
"kwaflux": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": [
"C:\\Program Files\\KwaFlux\\Tools\\kwaflux-mcp\\kwaflux_mcp.mjs"
]
}
}
}
}Keep the double backslashes; JSON needs them. Some third-party guides put servers under mcpServers instead; OpenClaw's own CLI documentation uses mcp.servers.
OpenClaw: check the entry
openclaw mcp listandopenclaw mcp show kwafluxshow what's saved.- OpenClaw's docs note that
setandshowonly read and write the config; they "don't actually connect to the MCP server." So a saved entry doesn't prove the server starts. Ask the agent to call a KwaFlux tool to be sure. - If the agent doesn't see the new tools, reload OpenClaw's MCP servers or restart its gateway.
Your first requests
Start with:
Use the KwaFlux tools to check whether KwaFlux is running and list my recent tasks.
Then:
| Ask the agent | What KwaFlux does |
|---|---|
| "Diagnose C:\Users\me\Videos\clip.mp4 and repair it if it can be repaired." | Diagnosis, then a repair task; the repaired file goes next to the original |
| "Export C:\Users\me\Videos\clip.mp4 for Instagram at HD 1080P." | Looks up the Instagram tiers, then queues a Converter export |
| "Run Face Relighting on C:\Users\me\Videos\interview.mp4 and wait." | An AI enhancement task with default settings, then waiting on it |
| "Pause the KwaFlux task you just started." | Pauses it; the agent can resume it later |
Personal agents are good at chaining steps. "Every evening, convert the new clips in this folder for YouTube" can work, as long as the agent runs on the same PC and KwaFlux is open at that time.
Frame interpolation and the matting and replace tools stay in the app; the assistant is told to send you there for those. Agent downloads stay off unless you set Let agents start downloads under Agent access to Ask every time. KwaFlux then shows a popup for each download, and the assistant also asks you to confirm in the chat that you have the right to download that content.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Hermes doesn't load kwaflux | Nested under mcp: servers: | Use the top-level mcp_servers: key, then /reload-mcp |
| OpenClaw command fails with a JSON error | Quotes mangled by the shell | Run it in Command Prompt, or edit openclaw.json |
| The entry is saved but no tools appear | Not reloaded, or the server failed to start | Reload MCP or restart the gateway; check Node.js |
Every call returns app_not_running | KwaFlux is closed, or the agent runs on another machine | Open KwaFlux; run the agent on the same computer |
| Long waits fail | Tool-call timeout below 300 seconds | Raise the agent's timeout for kwaflux |
For issues common to every host, see the KwaFlux MCP troubleshooting guide.
Final thoughts
For Hermes, run the hermes mcp add line or add a kwaflux block under mcp_servers, then /reload-mcp. For OpenClaw, run openclaw mcp set in Command Prompt or edit mcp.servers in openclaw.json. In both cases, keep the agent and KwaFlux on the same computer, and start with a status check.
Drive KwaFlux from your personal agent
KwaFlux includes a local MCP server for Hermes Agent, OpenClaw, and other MCP apps. AI processing runs locally on your GPU — media files are not uploaded for processing. It runs on Windows 10 (64-bit, version 1809 or later), Windows 11, and macOS 12 or newer on Apple Silicon. Importing files and exploring the app need no account. Signing in with an active paid plan is required only to export, convert, repair a file, or download a file from a link.
Try It on Your Own Footage
Download KwaFlux and preview effects on your own footage for free before you pay — no account needed, and your media is processed on your GPU, not uploaded for processing. Video previews run 1, 3, or 5 seconds; stabilization previews run 5, 15, or 30 seconds.
Frequently asked questions
Can an agent on a VPS use a local MCP server on my PC?
No, not a stdio server. A stdio server runs as a child process of the agent, on the same machine. To use one on your PC, run the agent there too. See what an AI agent is for how the parts connect.
Where does Hermes Agent store MCP servers?
In ~/.hermes/config.yaml, under the top-level mcp_servers: key. hermes mcp add writes the entry for you, and /reload-mcp reloads it without restarting.
Where does OpenClaw store MCP servers?
Under mcp.servers in OpenClaw's config, ~/.openclaw/openclaw.json by default. openclaw mcp set writes an entry and openclaw mcp unset removes it.
Do Hermes and OpenClaw prefix MCP tool names?
Partly. Hermes does: tools appear as mcp_<server>_<tool>. That keeps them from clashing with built-in tools. Check your OpenClaw version's tool list for its naming.
Which personal agent should I use with a desktop app?
It depends on where it runs and how you like to work. The one requirement for a local app is that the agent runs on the same computer. Our assistant comparison covers the options.
Sources
- Nous Research, Hermes Agent documentation, "MCP (Model Context Protocol)" (config.yaml mcp_servers; tool prefix; hermes mcp add and test; /reload-mcp; include and exclude; timeout) (accessed 2026-10-26)
- OpenClaw documentation, "mcp" CLI page (list, show, set, unset; mcp.servers; set does not connect) (accessed 2026-10-26)
- Model Context Protocol, "Transports" (2026-07-28; stdio: messages over the standard streams of a client-launched subprocess) (accessed 2026-10-26)


