Nirium
v0.8.0Verifiable receipts for AI agent payments on Stellar: anchor, verify, x402 paid endpoints
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_market_state
Fetch real-time market data: XLM/USDC price (CoinGecko), SDEX spread, base fee, Blend supply/borrow rate, CETES rate. Free — no API key required.
get_loop_status
Check the autonomous scanning loop: running/stopped, scan count, uptime, last AI decision. Free.
start_loop
Start the autonomous market scanning loop. Requires NIRIUM_API_KEY env var.
| Parameter | Type | Description |
|---|---|---|
maxBaseFee | number | Max Stellar base fee in stroops (default: 500) |
minProfitPercentage | number | Minimum profit % to trigger (default: 0.3) |
stop_loop
Stop the autonomous scanning loop. Requires NIRIUM_API_KEY env var.
execute_demo
Dry-run a strategy via Soroban simulation — no real transaction. Free.
| Parameter | Type | Description |
|---|---|---|
asset * | string | Trading pair, e.g. XLM-USDC |
strategy * | string | Strategy name: flash-loan-arb, path-arbitrage, cross-dex, blend-yield, soroswap-swap |
execute_paid_strategy
PAID ($0.25 USDC via x402) — Execute a DeFi strategy on Stellar via Soroban. No Nirium account required — pay per execution. Requires funded Stellar wallet.
| Parameter | Type | Description |
|---|---|---|
asset * | string | Trading pair, e.g. XLM-USDC |
strategy * | string | Strategy: flash-loan-arb | path-arbitrage | cross-dex | blend-yield | soroswap-swap |
params | object | Strategy-specific parameters |
get_wallet_info
Show the x402 (MPP experimental) wallet address and payment configuration for this MCP session. Free.
get_nodes
List the Nirium execution nodes with their live status, custody model and network (testnet/mainnet). Free — reads the protocol registry.
anchor_audit_record
Anchor evidence to IPFS and get back a CID. Tamper-evident, not tamper-proof: a changed document no longer matches its CID. Not notarization. Pass `hash` (sha-256 hex of your own file/event) or `record` (small JSON object, max 8KB). Put what the payment or action was for INSIDE `record` (order or quote id, amount, asset, who approved, the request served): that is what settles a dispute, and only what is inside the record is covered by its hash and by `sign`. `txHash`, `network` and `tag` are node metadata, outside the signature. Set `sign: true` to sign the record with this server's STELLAR_SE…
| Parameter | Type | Description |
|---|---|---|
agentId | string | Label for the signing agent, shown by verifiers (sign only, max 64 chars) |
hash | string | sha-256 hex (64 chars), optionally prefixed "sha-256:" |
network | string | Network label to store with the anchor, e.g. mainnet |
record | object | Small JSON object to anchor verbatim (max 8KB). Put the context of the payment or action here, not in txHash or tag |
sign | boolean | Sign "nirium-audit-v1:<content_sha256>" with STELLAR_SECRET_KEY so the receipt names the declaring key. Off by default |
tag | string | Free-form label to group anchors. Node metadata: not covered by the signature |
txHash | string | Related Stellar transaction hash, if any. Node metadata: not covered by the signature |
get_reporting_summary
Institutional-format summary of settled payouts, x402 payment receipts and IPFS anchors for a period. Not certified regulatory reporting — filings remain the client's responsibility. Free.
| Parameter | Type | Description |
|---|---|---|
from | string | ISO start date, e.g. 2026-07-01 (defaults to last 30 days) |
network | string | Filter by network; omit for all |
to | string | ISO end date |
get_mpp_signals
PAID ($0.02 USDC via MPP Charge) — TESTNET ONLY, same data as get_premium_signals, settled via direct Soroban SAC transfer with no external facilitator. Testnet tokens have no monetary value; this is not a recommendation to buy, sell or hold anything. Requires funded Stellar wallet.
| Parameter | Type | Description |
|---|---|---|
count | number | Number of signals to fetch (default: 20, max: 100) |
get_mpp_market
PAID ($0.05 USDC via MPP Charge) — Market state settled via direct Soroban SAC transfer, no external facilitator. Reference rates with their source, fee pressure, and network conditions. Factual data only: no recommendation or advice. Requires funded Stellar wallet.