Treasury Risk Analyzer
v0.1.2Treasury risk, FX exposure, liquidity & payment decisions for AI CFO agents.
Values you need
| Variable | What it is | |
|---|---|---|
X402_PRIVATE_KEY | optional secret | Private key of a dedicated Base wallet holding a few USDC, used to sign per-call x402 payments. Without it, paid tools only validate input and quote the price. |
MAX_PAYMENT_USD | optional | Hard per-call spending cap in USD (default 2.00). Tools priced above it are refused before signing. Default: 2.00 |
TREASURY_API_URL | optional | Override the service base URL (default: public production deployment). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add treasury-risk-mcp -- npx -y treasury-risk-mcp@0.1.2Add to
claude_desktop_config.json{
"mcpServers": {
"treasury-risk-mcp": {
"args": [
"-y",
"treasury-risk-mcp@0.1.2"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"treasury-risk-mcp": {
"args": [
"-y",
"treasury-risk-mcp@0.1.2"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"treasury-risk-mcp": {
"args": [
"-y",
"treasury-risk-mcp@0.1.2"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.treasury-risk-mcp]
command = "npx"
args = ["-y", "treasury-risk-mcp@0.1.2"]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: describe_service, get_example_input, run_demo, treasury_risk, fx_exposure, liquidity_forecast, treasury_decision.
- 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