The Arcadia Finance MCP Server enables AI agents to interact with the Arcadia Finance protocol for managing Uniswap and Aerodrome concentrated liquidity positions with leverage, automated rebalancing, and yield optimization on Base (chain ID 8453) and Unichain (chain ID 130).
Read Capabilities:
Account Data: Full account overviews (health factor, collateral, debt, liquidation price, automation status), historical values, PnL/yield data, and listing all accounts for a wallet
Wallet Inspection: On-chain ERC20/ETH balances, token allowances, and points balances/leaderboard
Asset & Pool Data: Supported collateral assets with prices, lending pools (TVL, APY, utilization, history)
Strategy Discovery: LP strategies with APY data, per-range-width APY details, and rebalancing recommendations
Automation Intents: Available intents with required parameters and supported chains
Guides & Reference: Workflow guides for automation setup, strategy selection, and step-by-step LP templates
Write Capabilities (returns unsigned transactions):
Approvals: Approve ERC20/ERC721/ERC1155 tokens for spending
Account Lifecycle: Create accounts (V3 margin or V4 spot), deposit assets as collateral, withdraw assets to wallet
Borrowing & Repaying: Borrow from lending pools, repay debt, or deleverage atomically (sell collateral → repay)
Liquidity Management: Add liquidity (atomic: deposit + swap + mint LP + optional leverage), partially remove liquidity, or fully close positions (burn LP + swap + repay atomically)
Trading & Staking: Swap assets within an account; stake, unstake, or claim LP rewards
Automation Setup: Configure asset managers (rebalancer, compounder, yield claimer, Merkl operator, CowSwap integrator) with parameters like trigger ratios and fee recipients; grant/revoke asset manager permissions
Many write tools include Tenderly simulation URLs for pre-broadcast validation.
Dev Tools:
dev.send: Sign and broadcast unsigned transactions using a local private key (development/testing only, not for production)
Allows managing concentrated liquidity positions, borrowing assets, and performing yield optimization on the Optimism network through the Arcadia Finance protocol.
Arcadia Finance MCP Server
MCP server for Arcadia Finance, a platform to manage Uniswap and Aerodrome concentrated liquidity positions with built-in leverage, automated rebalancing, and yield optimization. Read protocol data and build unsigned transactions for LP management, borrowing, deposits, and more.
Designed for AI agents (Claude, Cursor, etc.) to interact with Arcadia onchain.
Install
Tools
Read Tools
Tool | Description |
| Account overview: health factor, collateral, debt, positions, liquidation price, automation status. |
| Historical account value over time. |
| PnL and yield data for an account. |
| List all Arcadia accounts owned by a wallet address. |
| On-chain ERC20 balances and native ETH for a wallet address. |
| Check ERC20 token allowances for a spender. Use before |
| Points balance for a specific wallet address. |
| Supported collateral assets with addresses, types, decimals. |
| USD prices for one or more asset addresses. |
| All lending pools: TVL, APY, utilization, liquidity. |
| Single pool detail with APY history over time. |
| Paginated Arcadia points leaderboard. |
| LP strategies with APY, underlyings, pool info. Supports featured filter and pagination. |
| Full detail for a specific LP strategy: APY per range width, pool config. |
| Rebalancing recommendation for an account. |
| Reference guides: automation setup, strategy selection, strategy templates. |
| Available automation intents with tool names, required params, and supported chains. |
Write Tools
All write tools return unsigned transactions as { to, data, value, chainId }.
Tool | Description |
| Approve an ERC20 token for spending. Required before depositing into an account. Call |
| Create a new Arcadia account via Factory. |
| Deposit ERC20 tokens into an account. |
| Withdraw assets from an account. |
| Borrow from a lending pool. |
| Repay debt to a lending pool from wallet. |
| Flash-action: deposit + swap + mint LP + optional leverage, atomically. |
| Remove/decrease LP position liquidity. |
| Swap assets within an account (backend-routed). |
| Repay debt by selling collateral (swap + repay in one tx). |
| Atomic close: burn LP + swap + repay debt in one tx. |
| Stake, unstake, or claim rewards for LP positions. |
| Encode rebalancer automation args (strategy config, triggers, compound mode). |
| Encode standalone compounder args. |
| Encode compounder + CowSwap coupled args (sell rewards, buy target token). |
| Encode yield claimer args (claim fees to recipient). |
| Encode yield claimer + CowSwap coupled args. |
| Encode direct CowSwap mode args (Base only). |
| Encode Merkl operator args (claim external rewards). |
| Build unsigned setAssetManagers tx from encoded intent args. Combine multiple intents by merging arrays. |
Dev Tools
Always registered but requires PK env var to function.
Tool | Description |
| Sign and broadcast an unsigned transaction using a local private key ( |
Transaction Signing
All write tools return unsigned transactions as { to, data, value, chainId }. This server does NOT sign or broadcast — your agent or application is responsible for that.
Options
Wallet infrastructure (recommended for production): Use your existing wallet setup — MPC wallets (Fireblocks, Dfns, Turnkey), smart accounts (Safe, Biconomy), or embedded wallets (Privy, Dynamic). Pass the unsigned tx object to your provider's signing method.
viem/ethers in your agent:
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
const account = privateKeyToAccount("0x...");
const client = createWalletClient({ account, chain: base, transport: http() });
// tx = result from any write.* tool
const hash = await client.sendTransaction(tx);Built-in
The server includes a dev-only signing tool that reads a private key from the PK environment variable. Set PK via a .env file or your MCP client config:
# .env in the server directory (never commit — already gitignored)
PK=0xYourPrivateKeyHex
RPC_URL_BASE=https://base-mainnet.g.alchemy.com/v2/your-keyThe server loads .env automatically on startup. Works with any MCP client (Claude Desktop, Claude Code, VSCode, Cursor). MCP client env block settings take precedence if both are set.
Not for production — use a dedicated wallet MCP server (Fireblocks, Turnkey, Safe) instead.
Setup
Prerequisites: Node.js >= 22
yarn install
yarn buildEnvironment variables:
Variable | Required | Default | Transport | Description |
| No | Public RPC | Both | RPC URL for Base (8453). |
| No | Public RPC | Both | RPC URL for Unichain (130). |
| No | — | Both | Private key (hex) for dev-only |
| No |
| — | Transport mode: |
| No |
| HTTP | Listen port for HTTP transport. |
| No |
| HTTP | Comma-separated allowed Origin headers (CORS / DNS rebinding). |
| No |
| HTTP | Max requests per minute per session. |
Supported chains: Base (8453), Unichain (130)
MCP Client Configuration
Remote (no install needed):
{
"mcpServers": {
"arcadia-finance": {
"url": "https://mcp.arcadia.finance/mcp"
}
}
}Via npx (local stdio):
{
"mcpServers": {
"arcadia-finance": {
"command": "npx",
"args": ["-y", "@arcadia-finance/mcp-server"],
"env": {
"RPC_URL_BASE": "https://base-mainnet.g.alchemy.com/v2/your-key"
}
}
}
}Claude Code:
# Remote
claude mcp add arcadia-finance --transport http https://mcp.arcadia.finance/mcp
# Local
claude mcp add arcadia-finance -- npx -y @arcadia-finance/mcp-serverFrom source (local development):
{
"mcpServers": {
"arcadia-finance": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/dist/index.js"],
"env": {
"RPC_URL_BASE": "https://base-mainnet.g.alchemy.com/v2/your-key"
}
}
}
}Skills
The skills/ directory contains Claude Code skills that teach AI agents how to use this MCP server effectively. To install a skill, symlink it into your Claude skills directory:
ln -s /path/to/mcp-server/skills/clamm-liquidity ~/.claude/skills/clamm-liquidityAvailable skills:
Skill | Description |
| Concentrated liquidity management: concepts, asset managers (rebalancers, compounders), and step-by-step workflows. |
Reporting Issues
Found a bug, missing feature, or unclear documentation while using this server? Open an issue: https://github.com/arcadia-finance/mcp-server/issues
For AI agents: If you hit a gap during task execution, open an issue with:
Tool name and parameters you used
What you expected vs what happened
The strategy or goal you were trying to execute
Pull requests for documentation fixes are welcome from agents and humans alike. All PRs require human review before merging.
Where to Find Us
Smithery: smithery.ai/@arcadia-finance/mcp-server
PulseMCP: pulsemcp.com
MCP Market: mcpmarket.com
awesome-mcp-servers (punkpeye): github.com/punkpeye/awesome-mcp-servers
awesome-mcp-servers (wong2): github.com/wong2/awesome-mcp-servers
Development
yarn dev # Run with tsx (hot reload)
yarn build # Compile TypeScript
yarn test # Run tests
yarn lint # Lint with ESLint
yarn format # Check formatting with Prettier