Nirium

v0.8.0
io.github.nirium-protocol/nirium-mcp Checked 1 hour ago Published 1 day ago

Verifiable 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.

ParameterTypeDescription
maxBaseFeenumberMax Stellar base fee in stroops (default: 500)
minProfitPercentagenumberMinimum 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.

ParameterTypeDescription
asset *stringTrading pair, e.g. XLM-USDC
strategy *stringStrategy name: flash-loan-arb, path-arbitrage, cross-dex, blend-yield, soroswap-swap

get_premium_signals

PAID ($0.02 USDC via x402) — TESTNET ONLY: signals are produced by the autonomous loop, which runs on testnet; the mainnet box has no loop and returns 501 without charging. Signals reference testnet tokens, which have no monetary value, and are not a recommendation to buy, sell or hold anything. Requires funded Stellar wallet.

ParameterTypeDescription
countnumberNumber of signals to fetch (default: 20, max: 100)

get_premium_market

PAID ($0.05 USDC via x402) — Market state with reference rates attributed to their source, network fee pressure, and a description of current network conditions. Factual data only: no recommendation, no advice, no signal to act. Requires funded Stellar wallet.

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.

ParameterTypeDescription
asset *stringTrading pair, e.g. XLM-USDC
strategy *stringStrategy: flash-loan-arb | path-arbitrage | cross-dex | blend-yield | soroswap-swap
paramsobjectStrategy-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…

ParameterTypeDescription
agentIdstringLabel for the signing agent, shown by verifiers (sign only, max 64 chars)
hashstringsha-256 hex (64 chars), optionally prefixed "sha-256:"
networkstringNetwork label to store with the anchor, e.g. mainnet
recordobjectSmall JSON object to anchor verbatim (max 8KB). Put the context of the payment or action here, not in txHash or tag
signbooleanSign "nirium-audit-v1:<content_sha256>" with STELLAR_SECRET_KEY so the receipt names the declaring key. Off by default
tagstringFree-form label to group anchors. Node metadata: not covered by the signature
txHashstringRelated 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.

ParameterTypeDescription
fromstringISO start date, e.g. 2026-07-01 (defaults to last 30 days)
networkstringFilter by network; omit for all
tostringISO 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.

ParameterTypeDescription
countnumberNumber 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.