Other MCP clients
Any MCP client that can start a local program and talk to it over standard input and output can use Valakes. The program is the bridge, valakes-mcp. It is a thin relay: it forwards the client’s MCP messages to the Valakes API on your computer, and the tool definitions live in Valakes, not in the bridge.
What the client needs
Section titled “What the client needs”The wizard’s Connect an agent button has a choice for another MCP client. It shows the entry for your computer, and you place it where your client keeps its MCP servers. Every client needs the same three things.
- The
command: the path of the bridge.valakes-mcp.exeis inside theresources\binfolder of the Valakes install on Windows, andvalakes-mcpis inContents/Resources/binof the app on macOS. - Empty
args. VALAKES_AGENTin the environment, set to the handle of the agent you created in Valakes.
The first step is the same as for the other clients: turn on the API and create the agent, as described on the Claude Code page. The entry in the .mcp.json form:
Windows:
{
"mcpServers": {
"valakes": {
"command": "C:\\Program Files\\Valakes\\resources\\bin\\valakes-mcp.exe",
"args": [],
"env": {
"VALAKES_AGENT": "k3m9q2xa"
}
}
}
}
macOS:
{
"mcpServers": {
"valakes": {
"command": "/Applications/Valakes.app/Contents/Resources/bin/valakes-mcp",
"args": [],
"env": {
"VALAKES_AGENT": "k3m9q2xa"
}
}
}
}
What the bridge does for you
Section titled “What the bridge does for you”- It finds the port and the token by itself. No environment variable carries the token, and none sets the address of the server, so neither can be set wrongly.
VALAKES_AGENTis the public handle only. - It proves that the server is Valakes before it sends the token, on every new connection. The REST page lists the steps of that proof for a client that does not use the bridge.
- A second profile of Valakes with its own data folder adds
VALAKES_DATA_DIRto the sameenv. It names a folder, never a URL and never a token. - When it cannot start it prints one line and exits. The lines are listed on the Claude Code page.
The client also receives Valakes’ built-in guide when it connects: as the server’s instructions and as the resource valakes://guide. Only a request that belongs to an authenticated agent gets it, and you do not paste instructions into a prompt.
The tools
Section titled “The tools”The client sees ten tools: list_hosts, open_session, close_session, run_command, read_output, get_screen, send_keys, list_credentials, upload_file and download_file. They are the same ten that the REST API serves. How agents work says what each does and which access level allows it.
Check that it works
Section titled “Check that it works”Ask the client to call list_hosts. A host that is still on Off for agents is not in the answer, which is the intended result. Use the wizard’s Test connection to see the first call from Valakes’ side.
A client that talks to the /mcp endpoint itself, without the bridge, has to do the proof first on every connection, because the endpoint takes the same bearer token as the REST routes. Use the REST API page for that.