Skip to content
VS Code

agy bridge for VS Code

io.github.sshahzaiib/agy-bridge

Delegate heavy tasks from Claude Code to the Antigravity CLI (Gemini) with quota-aware failover.

client:VS Code transport:stdio runtime:npm

Install agy bridge in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agy-path",
      "description": "AGY_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agy-timeout",
      "description": "AGY_TIMEOUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agy-max-output-chars",
      "description": "AGY_MAX_OUTPUT_CHARS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agy-default-model",
      "description": "AGY_DEFAULT_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agy-on-failure",
      "description": "AGY_ON_FAILURE",
      "password": true
    }
  ],
  "servers": {
    "agy-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agy-bridge"
      ],
      "env": {
        "AGY_PATH": "${input:agy-path}",
        "AGY_TIMEOUT": "${input:agy-timeout}",
        "AGY_MAX_OUTPUT_CHARS": "${input:agy-max-output-chars}",
        "AGY_DEFAULT_MODEL": "${input:agy-default-model}",
        "AGY_ON_FAILURE": "${input:agy-on-failure}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

agy bridge in other clients