Skip to content
VS Code

figuard mcp for VS Code

io.github.figuard/figuard-mcp

Pre-flight spend authorization for AI agents. Set a budget, enforce limits, audit every decision.

client:VS Code transport:stdio runtime:npm

Install figuard mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "figuard-api-key",
      "description": "FIGUARD_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "figuard-base-url",
      "description": "FIGUARD_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "figuard-database",
      "description": "FIGUARD_DATABASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "figuard-mode",
      "description": "FIGUARD_MODE",
      "password": true
    }
  ],
  "servers": {
    "figuard-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "figuard-mcp"
      ],
      "env": {
        "FIGUARD_API_KEY": "${input:figuard-api-key}",
        "FIGUARD_BASE_URL": "${input:figuard-base-url}",
        "FIGUARD_DATABASE": "${input:figuard-database}",
        "FIGUARD_MODE": "${input:figuard-mode}"
      }
    }
  }
}

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

figuard mcp in other clients