Skip to content
VS Code

globalrules for VS Code

io.github.yk647/globalrules

Verified country facts (VAT, holidays, visas; 114 countries). Free + paid (x402 USDC) tools.

client:VS Code transport:stdio runtime:npm

Install globalrules in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "evm-private-key",
      "description": "EVM_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "globalrules-api",
      "description": "GLOBALRULES_API",
      "password": true
    }
  ],
  "servers": {
    "globalrules": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "globalrules-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "${input:evm-private-key}",
        "GLOBALRULES_API": "${input:globalrules-api}"
      }
    }
  }
}

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

globalrules in other clients