Use Cursor on your servers

Cursor speaks MCP, so it can use Valakes through the same bridge program as Claude Code and Codex. Valakes has not been tested with Cursor yet, so check each step on your own machine.

Last updated

What Cursor gets

Valakes was planned from the start as an MCP server for Claude Code, Codex and Cursor. Connected, Cursor gets the same tools as the other two: it can list the hosts you opened, open SSH sessions, run commands and read their output, and each of its sessions shows up in Valakes as a marked tab.

Cursor receives the built-in Valakes guide as the server’s instructions when it connects, so the rules of the tools reach the model without a prompt from you.

Set it up

Cursor starts the bridge, valakes-mcp, as a local program and talks to it over standard input and output. The entry below tells Cursor where the bridge is and which agent it acts as; the handle in it is not a secret, and the token never appears in any configuration you write.

  1. Turn on the agent API in Valakes, under Settings, Agent API, and confirm.

  2. In the Agents panel press Connect an agent, choose another MCP client, and name the agent "Cursor" so you know its requests in the queue.

  3. Add Valakes to Cursor's MCP servers in this JSON form, with your own agent handle. Where Cursor keeps that file is in Cursor's documentation.

    {
      "mcpServers": {
        "valakes": {
          "command": "C:\\Program Files\\Valakes\\resources\\bin\\valakes-mcp.exe",
          "args": [],
          "env": { "VALAKES_AGENT": "k3m9q2xa" }
        }
      }
    }
  4. On macOS, the command is the bridge inside the app:

    /Applications/Valakes.app/Contents/Resources/bin/valakes-mcp
  5. Press Test connection in the wizard, then start or reload Cursor.

Valakes has not been tested with Cursor. Its wizard has setup for Claude Code, Codex, other MCP clients and REST.

Because the bridge is the same program for every MCP client, the configuration is the one Valakes documents for .mcp.json. If Cursor’s form differs from it, follow Cursor’s documentation and keep the three parts: the command, empty arguments, and VALAKES_AGENT in the environment.

Check that it works

Ask Cursor to call list_hosts. It should return the hosts you opened to agents and nothing else, and the wizard’s Test connection should show the call with its time. If Cursor reports that the server failed to start, run the bridge path from a terminal: it prints one line that says what is wrong.

The most common lines are “Valakes is not running”, which means you start the app and turn the API on, and a message about the token file, which means you create the agent in Valakes first.

What it can and cannot do

Cursor gets no tool that the other agents lack and none that they are denied. Each call passes the same gate in Valakes: the agent’s token, the host’s agent access level, the risk of the command and, where needed, your approval. A secret, a policy and the audit log stay out of reach.

It can

  • List the hosts you opened to agents
  • Open SSH sessions, which appear as tabs named after the agent
  • Run commands and read the output
  • Read a full-screen program's screen and send keys to it
  • Fill a saved password by writing {{cred:name}}
  • Transfer files in its workspace folder after your approval

It cannot

  • Read any credential, key or token
  • Approve a request or lower a rule
  • Open the audit log
  • Trust a new host key
  • Find a host that is Off for agents

Host policy and approvals

Cursor finds no host at all until you raise a host’s agent access above Off. A command that the host’s level does not let through on its own waits in the approval queue with Valakes’ own record of it, never Cursor’s description. High-risk commands always wait for you, whatever the level.

The app is free.

Get notified at launch

macOS is coming to the Mac App Store. iOS and Android later.