Skip to content
VS Code

local delegate for VS Code

io.github.zahirinatzuke/local-delegate

Delegate mechanical text tasks to a local OpenAI-compatible LLM to save Claude quota.

client:VS Code transport:stdio runtime:pypi

Install local delegate in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "local-delegate-base-url",
      "description": "LOCAL_DELEGATE_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "local-delegate-api-key",
      "description": "LOCAL_DELEGATE_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "local-delegate": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "local-delegate-mcp"
      ],
      "env": {
        "LOCAL_DELEGATE_BASE_URL": "${input:local-delegate-base-url}",
        "LOCAL_DELEGATE_API_KEY": "${input:local-delegate-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

local delegate in other clients