NestDaddy

Treasury Risk Analyzer

io.github.christianmatumona/treasury-risk-mcp ยท v0.1.2

Treasury risk, FX exposure, liquidity & payment decisions for AI CFO agents. Pay per call in USDC.

Connect Runs on your machine

Terminal
claude mcp add treasury-risk-mcp -e X402_PRIVATE_KEY=<X402_PRIVATE_KEY> -e MAX_PAYMENT_USD=<MAX_PAYMENT_USD> -e TREASURY_API_URL=<TREASURY_API_URL> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "treasury-risk-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
        "MAX_PAYMENT_USD": "<MAX_PAYMENT_USD>",
        "TREASURY_API_URL": "<TREASURY_API_URL>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "treasury-risk-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
        "MAX_PAYMENT_USD": "<MAX_PAYMENT_USD>",
        "TREASURY_API_URL": "<TREASURY_API_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "treasury-risk-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
        "MAX_PAYMENT_USD": "<MAX_PAYMENT_USD>",
        "TREASURY_API_URL": "<TREASURY_API_URL>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
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.
TREASURY_API_URL
Optional
Override the service base URL (default: public production deployment).

Details

Package[email protected] (NPM, stdio)
First published3 Nov 2026
Last updated3 Nov 2026
Registry nameio.github.christianmatumona/treasury-risk-mcp

More finance and crypto servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.