FibX

v0.10.2
finance.fibrous/fibx Checked 4 hours ago Published 25 days ago

Swap, transfer, portfolio and Aave V3 on Base, HyperEVM and Monad, with the FibX app as MCP Apps UI.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_auth_status Check Auth & Fibrous Status

Check authentication status and Fibrous API health. open_fibx already returns this as its auth field; call this on its own only when you need the session state and nothing else, or before a transactional tool you are calling yourself.

ParameterTypeDescription
chainstringTarget chain to check Fibrous health for

config_action Manage RPC Configuration

View and modify fibx RPC configuration. Use 'set-rpc' to set a custom RPC URL for a chain (helps avoid rate limits), 'get-rpc' to view the current RPC for a chain, 'reset-rpc' to reset a chain's RPC to default (omit chain to reset all), or 'list' to show all custom RPC settings.

ParameterTypeDescription
action *stringConfig action to perform
chainstringTarget chain (required for set-rpc and get-rpc)
urlstringRPC URL to set (required for set-rpc)

connect_wallet Connect an External Wallet

Start a WalletConnect pairing so the user can sign with their own wallet (MetaMask, Rabby, Rainbow, Phantom). Returns a URI and a QR image immediately — show the QR to the user, then poll get_connect_status until it reports connected.

get_connect_status Check Wallet Connection

Poll a pairing started by connect_wallet. Returns pending, connected, failed, or unknown.

ParameterTypeDescription
pairingId *stringThe pairingId returned by connect_wallet

logout End the Session

Log out: end any WalletConnect pairing and clear the local session. The user will need to authenticate again before signing anything.

get_balance Get Wallet Balance

Get native token and all ERC-20 token balances for the active wallet on a specific chain. Only returns tokens with non-zero balances.

ParameterTypeDescription
chainstringTarget blockchain network

send_tokens Send Tokens

Send native tokens (ETH, cBTC, HYPE, MON) or ERC-20 tokens to a recipient address. If token is omitted, the chain's native token is used. Set simulate=true for a no-broadcast preview; a gas estimate is returned where available.

ParameterTypeDescription
amount *stringAmount to send (e.g. '0.1', '100')
recipient *stringRecipient address (0x...)
chainstringTarget blockchain network
simulatebooleanSet true for a no-broadcast preview; gas estimates may be unavailable
tokenstringToken symbol (e.g. 'USDC', 'ETH'). Omit for native token transfer.

get_tx_status Get Transaction Status

Check the on-chain status and receipt of a transaction by its hash. Returns confirmation status, block number, gas used, and addresses.

ParameterTypeDescription
hash *stringTransaction hash (0x...)
chainstringChain the transaction was submitted on

get_portfolio Cross-Chain Portfolio

Get a complete cross-chain portfolio overview with USD valuations for all token holdings across Base, HyperEVM, and Monad. Includes DeFi positions (Aave V3). Returns total net worth.

get_quote Get Swap Quote

Get a price quote for a token swap without authentication. Shows expected output amount, exchange rate, and route info. No wallet or session required — use this to check prices before committing to a swap. Supported chains: Base, HyperEVM, Monad. Returns both a readable summary and a `quote` object carrying the route's hops, the exact output, the slippage floor and a derived price impact — computed from the tokens' spot prices, not reported by the router, so treat it as an estimate. In a host that renders UI, prefer open_fibx, which shows the route and lets the user swap from it.

ParameterTypeDescription
amount *stringAmount to quote (e.g. '0.1', '100')
from_token *stringSource token symbol (e.g. 'ETH', 'USDC', 'MON')
to_token *stringDestination token symbol
chainstringTarget blockchain network
slippagenumberSlippage tolerance percentage (0.01-50, default: 0.5)

swap_tokens Swap Tokens via Fibrous

Swap tokens using Fibrous aggregator for optimal routing. Handles ERC-20 approvals and wrap/unwrap automatically. Supported chains: Base, HyperEVM, Monad. Set simulate=true for a no-broadcast preview; a gas estimate is returned where it can be calculated safely.

ParameterTypeDescription
amount *stringAmount to swap (e.g. '0.1', '100')
from_token *stringSource token symbol (e.g. 'ETH', 'USDC', 'MON')
to_token *stringDestination token symbol
chainstringTarget blockchain network
simulatebooleanSet true for a no-broadcast preview; gas estimates may be unavailable
slippagenumberSlippage tolerance percentage (0.01-50, default: 0.5)

get_aave_status Aave V3 Account Status

Get Aave V3 position health on Base: health factor, total collateral, total debt, and available borrows in USD.

get_aave_markets Aave V3 Markets

List all Aave V3 reserve markets on Base with supply/borrow APY, total supply, total borrow, and LTV. Always call this before Aave supply/borrow operations. No wallet required.

aave_action Aave V3 Action

Execute an Aave V3 action on Base: supply, borrow, repay, or withdraw. ETH supply/repay can auto-wrap and ETH withdraw can auto-unwrap; borrowing the ETH market returns WETH. Use 'max' as amount to repay or withdraw the full balance. Set simulate=true for a no-broadcast operation preview.

ParameterTypeDescription
action *stringAave action to perform
amount *stringAmount (e.g. '100', '0.5', 'max'). Use 'max' for full repay/withdraw.
token *stringToken symbol (e.g. 'ETH', 'USDC', 'WETH')
simulatebooleanSet true for a no-broadcast operation preview

get_policy Read the Signing Policy

Read the local signing policy that bounds every transaction fibx signs. Returns active with its rules, absent when nothing is set, or unreadable when a file is present but cannot be parsed — which refuses everything.

set_policy_rule Set a Signing Policy Rule

Set one rule on the local signing policy. Rules: expiry, allowedChains, <chain>.maxValue, <chain>.allowedDestinations. Lists are comma-separated. maxValue caps the native value of one transaction and does not bound token amounts — an ERC-20 transfer carries value 0 — so use allowedDestinations to bound where tokens may go.

ParameterTypeDescription
rule *stringexpiry, allowedChains, <chain>.maxValue or <chain>.allowedDestinations
value *stringThe value; comma-separated for lists

clear_policy_rule Remove a Signing Policy Rule

Remove one rule from the local signing policy with `rule`, or remove the whole policy with `all: true`. Removing everything leaves nothing limiting what this wallet will sign. Exactly one of `rule` or `all` must be given — a call naming neither or both is rejected.

ParameterTypeDescription
allbooleanSet to true to remove the whole policy, instead of `rule`
rulestringThe rule to remove

open_fibx Open FibX

Open the FibX app: wallet, balances, signing policy, and a swap form with the Fibrous route. Call this FIRST for anything about the wallet, a balance, a quote, or a swap — it returns the session, balances, policy and quote in one snapshot, so get_auth_status, get_balance, get_policy and get_quote are not needed before it. It executes nothing; where the host renders MCP Apps UI the user sees the app and presses Simulate and Swap themselves. Pass from/to/amount to open it pre-filled with a quote. Supported chains: Base, HyperEVM, Monad. If the host does not render UI, the result is still a com…

ParameterTypeDescription
amountstringAmount of the source token, to pre-fill a swap
chainstringChain to open on
fromstringSource token symbol, to pre-fill a swap
slippagenumberSlippage percent for the pre-filled quote
tostringDestination token symbol, to pre-fill a swap

list_tokens List Tokens

List the tokens Fibrous supports on a chain, with symbol, name, address, decimals and USD price where known.

ParameterTypeDescription
chainstringChain to list tokens for