Skip to content
VS Code

Lokal for VS Code

io.github.lokal-id/lokal

Indonesia-ready agents: NIK, phone, Rupiah, regions, postal codes, holidays, and PII masking.

client:VS Code transport:stdio runtime:npm

Install Lokal in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "lokal-root",
      "description": "LOKAL_ROOT",
      "password": true
    }
  ],
  "servers": {
    "lokal": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@lokal-id/mcp"
      ],
      "env": {
        "LOKAL_ROOT": "${input:lokal-root}"
      }
    }
  }
}

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

Lokal in other clients