figuard-mcp
v1.2.0Pre-flight spend authorization for AI agents.
Values you need
| Variable | What it is | |
|---|---|---|
FIGUARD_API_KEY | optional 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_URL | optional | Self-hosted FiGuard server URL. Leave unset to run embedded against a local SQLite file. |
FIGUARD_DATABASE | optional | Path to the embedded SQLite file (default ~/.figuard/figuard.db). Embedded is the default backend — no server required. |
FIGUARD_MODE | optional | 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.0Add 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
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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