Buddy phone tools

v1.3.0
io.github.ghorbelhamdi/buddy-phone-bridge Checked 17 hours ago Published 14 days ago

Android phone tools for AI agents (read the screen, tap, type, open apps), served by the Buddy app.

Values you need

VariableWhat it is
BUDDY_URLoptional On a computer: the phone's Tailscale address, e.g. http://100.x.y.z:8765 (Buddy's Settings > Phone tools in your own sessions > Phone tools on Tailscale shows it). The first tool call asks you on the phone to pair this computer. Leave empty on the phone itself (Termux).
BUDDY_TOKENoptional secret Optional: a token from Buddy's Settings instead of pairing (needed on the phone itself, e.g. in Termux)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add buddy-phone-bridge -- npx -y buddy-phone-bridge@1.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "buddy-phone-bridge": {
      "args": [
        "-y",
        "buddy-phone-bridge@1.3.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "buddy-phone-bridge": {
      "args": [
        "-y",
        "buddy-phone-bridge@1.3.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "buddy-phone-bridge": {
      "args": [
        "-y",
        "buddy-phone-bridge@1.3.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.buddy-phone-bridge]
command = "npx"
args = ["-y", "buddy-phone-bridge@1.3.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: read_screen, tap, long_press, type_text, scroll, swipe, press, open_app, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json