Skip to content
Vaulthalla LogoVaulthalla

AI apps and MCP

Vaulthalla Desktop bundles vaulthalla-mcp, a stdio MCP server that gives an AI app the tools of every node this Mac is paired with. On each node the app acts as the Vaulthalla account this Mac was paired by, with that account's permissions and never more. Destructive commands wait for your approval, and vault keys and secrets are never reachable by agents.

The AI app starts the bridge itself when it needs it. Vaulthalla doesn't have to be open.

Add an app in one click

Move Vaulthalla to Applications first, so the bridge's path stays valid. Then open Settings › Agents. Each app has a row with its state and one action: Add, Repair or Remove.

App How Desktop adds it
Claude Code (the CLI and the Code tab in Claude) Through claude mcp, in your user configuration.
Codex (the CLI, Codex in ChatGPT and the IDE extension) Through codex mcp, with a 600-second tool timeout written into ~/.codex/config.toml.
Claude (the desktop app's chat) Desktop opens an MCP Bundle with Claude. Click Install in Claude's window, then Check Again in Vaulthalla.

Repair fixes a registration left behind when the app moved, or one added by hand. Claude's extension is removed in Claude, under Settings → Extensions.

Add it by hand

Manual setup in Settings › Agents has the commands to run yourself:

1claude mcp add --scope user vaulthalla-desktop -- "/Applications/Vaulthalla.app/Contents/Helpers/vaulthalla-mcp" --client claude-code2codex mcp add vaulthalla-desktop -- "/Applications/Vaulthalla.app/Contents/Helpers/vaulthalla-mcp" --client codex

or, for Codex, in ~/.codex/config.toml:

1[mcp_servers.vaulthalla-desktop]2command = "/Applications/Vaulthalla.app/Contents/Helpers/vaulthalla-mcp"3args = ["--client", "codex"]4tool_timeout_sec = 600

Without --client the bridge serves every paired node with this Mac's pairing, and the per-node switches don't apply.

Choose the nodes

Under Nodes, every paired node has a switch per app. Nodes are available until you turn them off, including ones you pair later. A node turned off for an app is hidden from it, and its calls are refused before they reach the node.

Pairings and scopes

Desktop can give each AI app its own revocable pairing and scope on a node, with Give it its own pairing on each node. The app is then its own device there, listed by name (for example "Claude Code on Studio"), and can be revoked alone. It still acts as the same account, with the same permissions: its own pairing separates and names the app, it never adds anything.

  • On nodes running Vaulthalla 1.23 or later its own pairing can also be limited, per app under Its own pairings can do: Read only (the default for a new app), Read and change or Everything. Narrowing applies at once; widening needs one approval. Destructive commands still ask for your approval within it.
  • Older nodes can't limit it, and Settings › Agents says so on the node's row.
  • Giving an app its own pairing needs this Mac's approval key on that node. Where a node can't do it (no approval key, an older server, offline), the row shows why, with Try Again and Use This Mac's Pairing.
  • This Mac's pairing is never limited. An app that uses it acts with everything the account can do.

Confirmations

A tool never confirms on its own. A call that needs confirmation comes back as needs_confirmation, and nothing happens. The bridge tells the agent to show you the message and to call again with confirm only after you approve that exact action. Destructive commands are refused until the call also carries confirm.destructive, which needs your approval first.

What agents can and can never do

The tools come from each node's own catalog, so they follow the server's version. The bridge lists nodes_list and, for each reachable node, typed tools such as vaults_*, users_*, groups_*, roles_vault_* and recovery_*, plus vh_help, vh_read (read-only commands) and vh_run (other vh commands). Each tool takes a node argument, the node's id or name.

Agents can never, through Desktop:

  • export or import vault keys or secrets, or update secrets;
  • set up or tear down a server;
  • move files with vh fs get or vh fs put;
  • link servers;
  • acknowledge or silence health findings;
  • approve devices or turn remote connections on or off (the node refuses these on agent paths).

See the server's AI Agents And MCP for the node side.

Logs and timeouts

  • A call may take up to 10 minutes. VAULTHALLA_MCP_TIMEOUT in the bridge's environment changes that (seconds, 0 for no limit). The node may still finish a call the bridge gave up on.
  • Codex stops waiting after its own 60 seconds unless tool_timeout_sec is set, which Settings › Agents does for you.
  • The bridge writes protocol messages to stdout and its log to stderr. The log never includes tool arguments or results.
  • An offline node loses its tools, and a call to it returns an error that says why. nodes_list shows every node, whether it is reachable, and which pairing the app uses there.