Treasury Risk Analyzer MCP
A community-driven MCP server providing deterministic financial decision services for AI Treasury and CFO agents. It analyzes treasury risk, FX exposure, liquidity forecasts, and payment safety without using LLMs for calculations, relying instead on deterministic metrics like VaR and Sharpe ratios. Agents pay per call in USDC via the x402 protocol on the Base network.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Deterministic risk analysis of a treasury position or portfolio including volatility and stress scenarios
- Analyze gross/net FX exposure, currency concentration, and natural hedges
- Forecast daily cash projection and detect liquidity buffer breaches
- Generate PAY/REVIEW/DO_NOT_PAY decisions for payments based on liquidity and risk
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
treasury-risk-mcp 0.1.1
{
"version": "0.1.1",
"transport": "stdio",
"identifier": "treasury-risk-mcp",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "X402_PRIVATE_KEY",
"format": "string",
"description": "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."
},
{
"name": "MAX_PAYMENT_USD",
"format": "string",
"default": "2.00",
"description": "Hard per-call spending cap in USD (default 2.00). Tools priced above it are refused before signing."
},
{
"name": "TREASURY_API_URL",
"format": "string",
"description": "Override the service base URL (default: public production deployment)."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"treasury-risk-analyzer-mcp": {
"command": "npx",
"args": [
"-y",
"treasury-risk-mcp@0.1.1"
],
"env": {
"X402_PRIVATE_KEY": "<YOUR_X402_PRIVATE_KEY>",
"MAX_PAYMENT_USD": "<YOUR_MAX_PAYMENT_USD>",
"TREASURY_API_URL": "<YOUR_TREASURY_API_URL>"
}
}
}
}Cline
{
"mcpServers": {
"treasury-risk-analyzer-mcp": {
"command": "npx",
"args": [
"-y",
"treasury-risk-mcp@0.1.1"
],
"env": {
"X402_PRIVATE_KEY": "<YOUR_X402_PRIVATE_KEY>",
"MAX_PAYMENT_USD": "<YOUR_MAX_PAYMENT_USD>",
"TREASURY_API_URL": "<YOUR_TREASURY_API_URL>"
}
}
}
}VS Code
{
"servers": {
"treasury-risk-analyzer-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"treasury-risk-mcp@0.1.1"
],
"env": {
"X402_PRIVATE_KEY": "<YOUR_X402_PRIVATE_KEY>",
"MAX_PAYMENT_USD": "<YOUR_MAX_PAYMENT_USD>",
"TREASURY_API_URL": "<YOUR_TREASURY_API_URL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"treasury-risk-analyzer-mcp": {
"command": "npx",
"args": [
"-y",
"treasury-risk-mcp@0.1.1"
],
"env": {
"X402_PRIVATE_KEY": "<YOUR_X402_PRIVATE_KEY>",
"MAX_PAYMENT_USD": "<YOUR_MAX_PAYMENT_USD>",
"TREASURY_API_URL": "<YOUR_TREASURY_API_URL>"
}
}
}
}Let your agent find its tools
Find servers like Treasury Risk Analyzer MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.