Skip to content
VS Code

Deputy for VS Code

io.github.alimohammadiamirhossein/deputy

Claude Code helper: DeepSeek V4.1 Flash reviews Claude's code for bugs and gives second opinions

client:VS Code transport:stdio runtime:pypi

Install Deputy in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "deputy-provider",
      "description": "DEPUTY_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "deepinfra-api-key",
      "description": "DEEPINFRA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xai-api-key",
      "description": "XAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "deputy-mode",
      "description": "DEPUTY_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "deputy-thinking",
      "description": "DEPUTY_THINKING",
      "password": true
    },
    {
      "type": "promptString",
      "id": "deputy-model",
      "description": "DEPUTY_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "deputy-base-url",
      "description": "DEPUTY_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "deputy-workspace",
      "description": "DEPUTY_WORKSPACE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "deputy-api-key",
      "description": "DEPUTY_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "deputy": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "deputy-cc"
      ],
      "env": {
        "DEPUTY_PROVIDER": "${input:deputy-provider}",
        "DEEPINFRA_API_KEY": "${input:deepinfra-api-key}",
        "XAI_API_KEY": "${input:xai-api-key}",
        "DEPUTY_MODE": "${input:deputy-mode}",
        "DEPUTY_THINKING": "${input:deputy-thinking}",
        "DEPUTY_MODEL": "${input:deputy-model}",
        "DEPUTY_BASE_URL": "${input:deputy-base-url}",
        "DEPUTY_WORKSPACE": "${input:deputy-workspace}",
        "DEPUTY_API_KEY": "${input:deputy-api-key}"
      }
    }
  }
}

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

Deputy in other clients