MCP Tools
13 tools available via MCP. Two require x402 payment; the rest are free. All tools interact with Stellar mainnet data regardless of payment network.
get_best_yield
0.001 USDCReturns the best yield strategy for a given asset. Fetches live APY from Blend Finance smart contracts via Soroban RPC.
| Parameter | Type | Default | Description |
|---|---|---|---|
| asset | string | USDC | Asset to find yield for. USDC or XLM. |
| amount | number | 1000 | Amount to deposit. |
get_best_swap
0.001 USDCReturns the optimal swap route by comparing quotes from SDEX Orderbook, Stellar DEX pathfinder, and AMM pools.
| Parameter | Type | Default | Description |
|---|---|---|---|
| from | string | XLM | Source asset ticker. |
| to | string | USDC | Target asset ticker. |
| amount | number | 100 | Amount of source asset. |
execute_swap
FREEExecutes a real swap on the Stellar DEX using the agent wallet. Signs and submits the transaction on-chain.
| Parameter | Type | Default | Description |
|---|---|---|---|
| from | string | XLM | Source asset. |
| to | string | USDC | Target asset. |
| amount | number | — | Amount to swap. |
| confirmed | boolean | false | Set true to confirm execution. |
deposit_blend
FREEDeposits USDC into Blend Finance Fixed V2 pool to earn yield. Mainnet only.
| Parameter | Type | Default | Description |
|---|---|---|---|
| amount | number | — | Amount of USDC to deposit. |
| confirmed | boolean | false | Set true to confirm. |
withdraw_blend
FREEWithdraws USDC plus accrued interest from Blend Finance. Mainnet only.
| Parameter | Type | Default | Description |
|---|---|---|---|
| amount | number | — | Amount to withdraw (or 'all'). |
| confirmed | boolean | false | Set true to confirm. |
get_blend_position
FREEReturns current Blend Finance deposit balance, accrued interest, and current APY for the agent wallet.
transfer
FREESends XLM or USDC to any Stellar address from the agent wallet.
| Parameter | Type | Default | Description |
|---|---|---|---|
| asset | string | XLM | Asset to send. XLM or USDC. |
| to | string | — | Destination Stellar address. |
| amount | number | — | Amount to send. |
| confirmed | boolean | false | Set true to confirm. |
get_market_data
FREEReturns live XLM price, 24h volume, orderbook spread, and trade data from Stellar mainnet Horizon.
get_agent_wallet
FREEReturns the agent wallet public key, USDC balance, XLM balance, and network. Creates wallet on first call.
fund_wallet
FREEReturns the agent wallet address and a QR code URL for manual funding. On testnet, auto-funds via Friendbot.
set_network
FREESwitches between testnet and mainnet for the current session.
| Parameter | Type | Default | Description |
|---|---|---|---|
| network | string | testnet | testnet or mainnet. |
get_transaction_history
FREEReturns recent transaction history for the agent wallet from Stellar Horizon.
| Parameter | Type | Default | Description |
|---|---|---|---|
| limit | number | 10 | Number of transactions to return. |
get_api_info
FREEReturns API version, available endpoints, pricing, and backend URL.