Skip to main content
MCP server CX Codex

FibX — MCP server for Claude Code: DeFi swaps on Base, HyperEVM, Monad

FibX — an MCP server and CLI for DeFi on Base, HyperEVM and Monad, routing swaps through Fibrous aggregation. The agent gets 19 tools for quotes, swaps, transfers, portfolio and Aave V3 on Base.

MIT updated 2026-09-05

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env FIBX_API_URL=<FIBX_API_URL> --env FIBX_SESSION_SECRET=<FIBX_SESSION_SECRET> --env FIBX_WC_PROJECT_ID=<FIBX_WC_PROJECT_ID> --transport stdio fibx -- npx -y fibx
Open on GitHub

What FibX does

FibX hands the agent tools for onchain work: price quotes and swaps with auto-slippage via the Fibrous router, ETH and ERC-20 transfers, a cross-chain portfolio view with USD values, and Aave V3 actions (supply, borrow, repay, withdraw) on Base. In hosts that render MCP Apps, like Claude Desktop, open_fibx brings the FibX app into the chat — wallet, balances and a swap form with the Fibrous route — where you press Simulate and Swap yourself.

fibx auth setup offers three signing paths. Pair your own wallet over WalletConnect (a QR in the terminal, every transaction approved on your phone), use a Privy server wallet via email OTP, or import a key stored locally under AES-256-GCM encryption. On top of all three sits a local signing policy file: per-chain native value cap, allowed chains and destinations, an expiry — checked before every signature.

For safe testing there is --simulate, which previews write operations without broadcasting, plus --json output for scripting. Node.js 18 or newer is required, and Privy-based operations also need a running fibx-server instance; imported keys work without it.

What it helps with

  • get a quote and swap tokens on Base, HyperEVM or Monad
  • send ETH or any ERC-20 token from the agent chat
  • view a cross-chain portfolio with USD valuations
  • manage Aave V3 positions on Base through the agent
  • cap what the agent may sign with a local signing policy

Example prompts for the agent

  • Quote 0.01 ETH to USDC on Base via fibx
  • Swap 100 USDC to DAI and sign it with my wallet
  • Show my portfolio across all chains and run open_fibx

How to install FibX

Platform CLI

claude mcp add --env FIBX_API_URL=<FIBX_API_URL> --env FIBX_SESSION_SECRET=<FIBX_SESSION_SECRET> --env FIBX_WC_PROJECT_ID=<FIBX_WC_PROJECT_ID> --transport stdio fibx -- npx -y fibx

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about FibX

How do I install FibX in Claude Code?

Run claude mcp add fibx -e FIBX_SESSION_SECRET=<FIBX_SESSION_SECRET> -- npx -y fibx. To set your own API URL and WalletConnect project id, use `claude mcp add --env FIBX_API_URL=<FIBX_API_URL> --env FIBX_SESSION_SECRET=<FIBX_SESSION_SECRET> --env FIBX_WC_PROJECT_ID=<FIBX_WC_PROJECT_ID> --transport stdio fibx -- npx -y fibx`.

What does FibX do?

It is a CLI and MCP server for DeFi on Base, HyperEVM and Monad: quotes and swaps through Fibrous aggregation, token transfers, portfolio tracking and Aave V3 on Base — 19 tools in total.

How does FibX sign transactions?

Three options: your own wallet over WalletConnect with phone approval, a Privy server wallet, or an imported key encrypted locally with AES-256-GCM. A local policy file limits amounts, chains and destinations before any signature.

Similar MCP servers

All MCP servers for Finance and business →

Project sponsors

Companies that keep this analytics open