figuard-mcp

v1.2.0
io.github.figuard/figuard-mcp Checked 1 day ago Published 5 months ago

Pre-flight spend authorization for AI agents.

Values you need

VariableWhat it is
FIGUARD_API_KEYoptional secret FiGuard API key — set this (with FIGUARD_BASE_URL) to use a self-hosted FiGuard server. Leave unset to run embedded: in-process enforcement against a local SQLite file, no account or server needed.
FIGUARD_BASE_URLoptional Self-hosted FiGuard server URL. Leave unset to run embedded against a local SQLite file.
FIGUARD_DATABASEoptional Path to the embedded SQLite file (default ~/.figuard/figuard.db). Embedded is the default backend — no server required.
FIGUARD_MODEoptional Backend mode: embedded | server | sandbox. Defaults to embedded when nothing else is configured.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add figuard-mcp -- npx -y figuard-mcp@1.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "figuard-mcp": {
      "args": [
        "-y",
        "figuard-mcp@1.2.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "figuard-mcp": {
      "args": [
        "-y",
        "figuard-mcp@1.2.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "figuard-mcp": {
      "args": [
        "-y",
        "figuard-mcp@1.2.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.figuard-mcp]
command = "npx"
args = ["-y", "figuard-mcp@1.2.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: figuard_create_budget, figuard_authorize, figuard_confirm, figuard_fail, figuard_void, figuard_get_budget, figuard_get_ledger, figuard_resume_budget, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json