Skip to content

Connect Claude Code / Codex

Coding agents see the folder they started in. When they need something else on your PC (another project, a logo, a document), they can ask Vayu. Vayu answers from its own index, read-only.

How it fits together

Claude Code ──stdio (MCP)──▶ vayu-mcp.exe ──named pipe──▶ Vayu (running) ──▶ its file index, files

Settings > AI > Coding agents:

Row Button What it does
Claude Code Connect / Disconnect Adds or removes Vayu in Claude Code’s user settings
Codex Connect / Disconnect Adds or removes a [mcp_servers.vayu] table in ~\.codex\config.toml; the rest of the file is untouched
Off-limits folders Edit Folders agents never see (more)
What agents asked Open log Every call, one line each

If Claude Code or Codex is not installed, the row says so.

With Vayu running, ask your agent something outside its own folder:

  • “Use Vayu to find the ypmarket logo.”
  • “Ask Vayu what the ypmarket project is: stack, run command, branch.”
  • “With Vayu, search my notes folder for ‘invoice’.”

Connect in Settings copies vayu-mcp.exe to %LOCALAPPDATA%\CommandPalette\run\. To add it to Claude Code yourself, for every project:

Terminal window
claude mcp add --scope user vayu -- "$env:LOCALAPPDATA\CommandPalette\run\vayu-mcp.exe"

Or for one project, a .mcp.json in that project’s folder:

{
"mcpServers": {
"vayu": {
"type": "stdio",
"command": "C:\\Users\\<you>\\AppData\\Local\\CommandPalette\\run\\vayu-mcp.exe",
"args": []
}
}
}

Check with claude mcp list (it should say vayu ... Connected), or /mcp inside Claude Code. Remove it with claude mcp remove --scope user vayu.

  • Everything stays on this PC. No keys, no login, nothing sent anywhere. Only your own Windows account can open the pipe to Vayu.
  • Vayu must be running. If it is not, every call answers that Vayu is not running, so the agent can ask you to start it.
  • “Which one?” When several things match, Vayu shows you a card at the top of the screen. Enter or a click sends your pick; Esc, or a minute with no answer, sends the list and the agent chooses. It never waits forever.
  • When Vayu’s own index finds nothing and you have an AI set up in Vayu, Vayu asks that AI for other names to try.