Skip to content
VS Code

rubber duck for VS Code

io.github.nesquikm/rubber-duck

Bridge to multiple LLMs and CLI agents: councils, debates, voting, and more

client:VS Code transport:stdio runtime:npm

Install rubber duck in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemini-api-key",
      "description": "GEMINI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "groq-api-key",
      "description": "GROQ_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "default-provider",
      "description": "DEFAULT_PROVIDER",
      "password": true
    }
  ],
  "servers": {
    "rubber-duck": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-rubber-duck"
      ],
      "env": {
        "OPENAI_API_KEY": "${input:openai-api-key}",
        "GEMINI_API_KEY": "${input:gemini-api-key}",
        "GROQ_API_KEY": "${input:groq-api-key}",
        "DEFAULT_PROVIDER": "${input:default-provider}"
      }
    }
  }
}

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

rubber duck in other clients