About Nirium
Nirium is an MCP server published by nirium-protocol in the Blockchain category: open protocol for autonomous treasury & machine-to-machine payments on Stellar — Soroban smart contracts (Rust), x402 payment layer, and MCP integration. Conduid read 25 tools from its source: anchor_audit_record, build_treasury_rebalance, deploy_treasury_vault, deposit_to_treasury_vault, execute_demo, execute_paid_strategy and 19 more. No package is published for it, so it installs from a source checkout.
The latest release is showroom-stable. The release before it was deploy-1. Its topics include defi, micropayments, smart-contracts, soroban, stellar and x402.
Install
git clone https://github.com/nirium-protocol/nirium-coreTools (25)
anchor_audit_recordAnchor evidence to IPFS and get back a CID (immutable integrity seal, not notarization). Pass `hash` (sha-256 hex of your own file/event) or `record` (small JSON object, max 8KB). Anchor hashes rather than raw personal data — IPFS content cannot be deleted. Free during open beta.build_treasury_rebalanceBuild an UNSIGNED rebalance XDR — Unwind/Invest between a vault's own strategies only; no other instruction is expressible, and none takes a destination address. Sign with the vault's RebalanceManager and broadcast it with submit_treasury_tx. Requires NIRIUM_API_KEY env var.deploy_treasury_vaultBuild an UNSIGNED XDR to deploy a DeFindex vault. `manager` keeps control (rescue, pause, revoke); Nirium only ever holds `rebalanceManager`, which cannot withdraw or change roles. Sign the returned XDR with `caller` and broadcast it with submit_treasury_tx. Requires NIRIUM_API_KEY env var.deposit_to_treasury_vaultBuild an UNSIGNED XDR to deposit into a DeFindex vault. Sign with `from` and broadcast it with submit_treasury_tx. Requires NIRIUM_API_KEY env var.execute_demoDry-run a strategy via Soroban simulation — no real transaction. Free.execute_paid_strategyPAID ($0.25 USDC via x402) — Execute a DeFi strategy on Stellar via Soroban. No Nirium account required — pay per execution. Requires funded Stellar wallet.execute_treasury_rebalanceSign and submit a rebalance with Nirium's OWN RebalanceManager key, server-side, and wait for confirmation — the only treasury tool that signs anything itself, and it still cannot withdraw funds. Only available where that key actually lives; a receive-only mainnet box returns 501 by design, not a broken 500. Requires NIRIUM_API_KEY env var.get_loop_statusCheck the autonomous scanning loop: running/stopped, scan count, uptime, last AI decision. Free.get_market_stateFetch real-time market data: XLM/USDC price (CoinGecko), SDEX spread, base fee, Blend supply/borrow rate, CETES rate. Free — no API key required.get_mpp_marketPAID ($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.get_mpp_signalsPAID ($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.get_nodesList the Nirium execution nodes with their live status, custody model and network (testnet/mainnet). Free — reads the protocol registry.get_premium_marketPAID ($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.get_premium_signalsPAID ($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.get_reporting_summaryInstitutional-format summary of settled payouts, x402/MPP payment receipts and IPFS anchors for a period. Not certified regulatory reporting — filings remain the client's responsibility. Free.get_treasury_infoTreasury node metadata: what role Nirium holds on DeFindex vaults, what it can and cannot do, fees, security notes. Free.get_treasury_strategy_assetRead which asset a DeFindex strategy manages, as declared by the strategy itself — pairs it correctly before deploying a vault. Free.get_treasury_vaultRead a DeFindex vault's roles, assets and managed funds. Pass `holder` to also get that account's balance in the vault's asset. Free.get_treasury_vaultsList DeFindex vaults Nirium has deployed or read, on the current network. Free.get_wallet_infoShow the x402 + MPP wallet address and payment configuration for this MCP session. Free.set_treasury_rebalance_managerBuild an UNSIGNED XDR handing the RebalanceManager role to a new address. Only the vault's current Manager can sign it — the same door that grants Nirium the role also revokes it. Requires NIRIUM_API_KEY env var.start_loopStart the autonomous market scanning loop. Requires NIRIUM_API_KEY env var.stop_loopStop the autonomous scanning loop. Requires NIRIUM_API_KEY env var.submit_treasury_txBroadcast a treasury XDR you already signed (deploy/deposit/withdraw/rebalance/set-rebalance-manager) and wait for confirmation. Requires NIRIUM_API_KEY env var.withdraw_from_treasury_vaultBuild an UNSIGNED XDR to withdraw from a DeFindex vault. Omit `shares` to withdraw everything the account holds. Sign with `from` and broadcast it with submit_treasury_tx. Requires NIRIUM_API_KEY env var.Security checks
6 checks have not been run yet.