Ekubo Protocol
Server Details
Token and pool data, swap quotes, and unsigned transaction plans for Ekubo and other DeFi protocols.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- EkuboProtocol/ekubo-mcp-server
- GitHub Stars
- 1
- Server Listing
- Ekubo MCP server
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 98 tools
The server exposes parallel operations across Ekubo, Uniswap, Aave, Aerodrome, Lido, Morpho, Merkl, Sky and ve(3,3), creating several similarly purposed families: multiple claim tools, multiple add-liquidity tools, and several token/pool lookup tools. Protocol prefixes and very detailed descriptions help, but an agent must read carefully to distinguish tools like prepare_rewards_claim, prepare_merkl_claim, prepare_aerodrome_gauge_claim and prepare_ve33_claim_fees, or get_pool vs get_uniswap_pool vs list_pool_keys.
Almost all tools use snake_case with a leading verb and protocol qualifiers where needed, which is predictable. There are minor inconsistencies: native Ekubo tools use generic names such as get_pool and prepare_lp_position_deposit while integration tools use explicit prefixes, and the verb set varies between get, list, discover, export, prepare and quote.
Ninety-eight tools is an extreme surface for a single MCP server, even one spanning many DeFi protocols. The large number of prepare_* and get_* variants makes the set unwieldy and far beyond the 3-15 tool range that is typically well-scoped.
The surface covers a broad DeFi lifecycle: pool discovery, position management, claims, quotes/plans, TWAMM orders, ve(3,3) operations, auctions, transfers, approvals, wrap/unwrap, and several external protocol integrations. Some operations remain indirect or externally dependent, such as live Aave/Morpho data and certain swap execution details, but core workflows are largely represented.
Available Tools
98 toolsdecode_pool_configDecode an Ekubo pool configARead-onlyInspect
Decode the packed bytes32 extension, exact uint64 Q64 fee, concentrated/stableswap discriminator, and tick spacing or stableswap parameters. The fee is never returned as a JSON number.
Inputs: config (required). Returns: decoded_config
decode_uniswap_v4_position_infoDecode Uniswap V4 position infoARead-onlyInspect
Decode the packed PositionInfo returned by wallet reads into signed tick bounds, subscriber flag and the truncated pool-ID prefix. This is local integer decoding, not a state query.
Inputs: info (required). Returns: tick_lower, tick_upper, instruction, has_subscriber, +1 more
derive_pool_idDerive an Ekubo pool IDARead-onlyInspect
Pack or accept an exact PoolKey config and derive pool_id = keccak256(abi.encode(PoolKey)). The uint64 Q64 fee is string-only so JavaScript cannot silently round it.
Inputs: pool_key (required). Returns: pool_id, pool_key, decoded_config, pool_id_decimal
discover_uniswap_poolsDiscover Uniswap poolsARead-onlyInspect
Fetch indexed V2, V3 or V4 pools ranked by TVL from Uniswap's interface API. Filter by chain and token; paginate using the last pool's TVL as tvl_cursor. Returns token symbols and decimals, liquidity and daily volume.
Inputs: version (required), chain_id (required), first, tvl_cursor, +1 more. Returns: data, errors, source, partial, +2 more
export_tokensExport Ekubo tokens for a walletARead-onlyInspect
Return a token_list_reference envelope (chain ID, address, symbol, name, decimals) and its count, with no entries, so a wallet can import token names; pass it unchanged as the wallet tool's reference argument. complete=false means the export is a prefix of the chain's list. Use list_tokens to read entries yourself.
Inputs: chain_id, max_tokens. Returns: count, complete, token_list_reference
get_aave_v3_marketsList fixed Aave V3 marketsARead-onlyInspect
Locally return six major Aave V3 core deployments and a bounded set of popular reserve, aToken, and variable-debt-token addresses from a pinned official Aave address-book snapshot. This tool makes no RPC, indexer, API, or other network request. For live rates, caps, pause state, liquidity, collateral settings, eMode categories, and account data, an agent may call Aave's public GraphQL API at https://api.v3.aave.com/graphql directly; this server is not in that data path. Intersect the API result with this fixed list before calling a preparation tool.
Inputs: chain_id. Returns: source, markets, protocol, limitations, +2 more
get_aerodrome_deploymentGet the verified Aerodrome Base deploymentARead-onlyInspect
Locally return Aerodrome's Base contracts (AERO, veAERO, Voter, Router, v2 factory, RewardsDistributor, Slipstream, Sugar lenses), derived on chain from the Voter, plus the protocol behaviour an agent must respect. No API or RPC request. Aerodrome is Base-only; Velodrome is not prepared here.
Inputs: chain_id. Returns: source, protocol, deployment, limitations, +2 more
get_lido_deploymentGet the fixed Lido mainnet deploymentARead-onlyInspect
Locally return canonical Ethereum stETH, wstETH, and WithdrawalQueueERC721 addresses plus direct wallet-read guidance. This server makes no Lido API, RPC, or indexer request.
Inputs: no named parameters. Returns: source, protocol, deployment, limitations, +2 more
get_liquidity_opportunitiesFind Ekubo liquidity opportunitiesARead-onlyInspect
Return the interface's boosted-fee, incentive and projected ve(3,3)-emission opportunities ranked by APR, with actionable pools or pool-discovery handoffs, freshness and risk context. Call this before asking the user to choose a pair. APR is an annualized snapshot, not guaranteed yield: show its components, denominator, freshness, and range and impermanent-loss risk. If ranking_complete=false, run local_read_requirement through the wallet, decode it locally, and call again with ve33_emission_state.
Inputs: limit, token, types, min_apr, +2 more. Returns: local_read_requirement
get_merkl_deploymentGet the verified Merkl Distributor deploymentARead-onlyInspect
Locally return the Merkl Distributor address, the chains it is verified on, and how Merkl's reward fields behave; preparation is limited to those chains. No Merkl API, RPC, or indexer request.
Inputs: chain_id. Returns: source, protocol, deployment, limitations, +2 more
get_morpho_vaultsList fixed Morpho Vault V2 deploymentsARead-onlyInspect
Locally return a bounded, pinned catalog of listed Morpho Vault V2 deployments plus official direct-discovery guidance. This tool makes no API, RPC, indexer, or other network request. The agent must query Morpho's public GraphQL API and current onchain state directly, then intersect the result with the fixed chain, vault, and asset addresses before preparation.
Inputs: chain_id. Returns: source, vaults, protocol, limitations, +2 more
get_poolGet an Ekubo poolARead-onlyInspect
Resolve a chain/core/pool ID to its verified PoolKey, decoded config and indexed pool state. For fresh sqrtRatio, tick and liquidity, pass current_state_query.read_calls_reference unchanged to wallet_batch_eth_call.
Inputs: pool_id (required), chain_id (required), core_address (required). Returns: current_state_query
get_pool_liquidityGet Ekubo pool liquidity depthARead-onlyInspect
Return tick-level net liquidity deltas for one exact chain/core/pool ID. Accumulate the deltas in ascending tick order to reconstruct active liquidity depth.
Inputs: pool_id (required), chain_id (required), core_address (required). Returns: pool_id, chain_id, core_address, pool_id_decimal, +1 more
get_positionGet complete Ekubo position detailsARead-onlyInspect
Hydrate one owner position: pool key, bounds, liquidity, pool state, NFT metadata, history, rewards, token prices, and a pending read of current principal, fees or Ve33 rewards and owner. Pass current_state_query.read_calls_reference as a value to wallet_batch_eth_call in the same code block; current_state_query.state_call_id joins results[].id.
Inputs: owner (required), chain_id (required), token_id (required), positions_address (required). Returns: current_state_query
get_position_pool_candidatesFind pools for an LP positionARead-onlyInspect
List indexed pools eligible for new deposits (excluding retired Ethereum MEVCapture v2.1) for a token pair with verified PoolKeys and pool IDs, Core generation, pool type, extension, 24-hour TVL/volume/fee stats and the right Positions or Ve33Positions manager.
Inputs: token_a (required), token_b (required), chain_id (required), extension, +3 more. Returns: pair, tokens, chain_id, candidates, +1 more
get_positions_by_ownerGet Ekubo positions by ownerBRead-onlyInspect
Enumerate an owner's indexed Ekubo position NFTs with pool keys, bounds, liquidity, indexed pool state and rewards. For fresh onchain state, pass each current_state_reads[].read_calls_reference to wallet_batch_eth_call as a value in the same code block; each position's current_state.state_call_id joins results[].id.
Inputs: owner (required), page, state, chain_id, +1 more. Returns: current_state_reads
get_quotes_with_plansGet swap or bridge quotes with execution plansARead-onlyInspect
A quote, execution plan, simulation or wallet approval is not permission to trade. Robinhood Stock Tokens are tokenised debt securities subject to issuer restrictions and applicable law. Before requesting signatures or submitting approvals or trades, establish the user's relevant jurisdiction and eligibility, including location, residence or entity incorporation, US-person status under Regulation S, any person for whose account or benefit the transaction is made, and issuer Prohibited Investor restrictions. Never infer these facts from an agent or server IP. If required facts or asset-policy coverage are unknown, do not proceed. Only the user or an authorized representative of the actual investor may provide an explicit factual attestation; an agent must not attest on their behalf. A known prohibited fact cannot be overridden by attestation. An attestation is not a license, legal exemption or substitute for required screening. Keep the attestation client-side; do not send it to the quote API or MCP server. No blanket disposal exemption applies. Quote EVM swaps: Ekubo/0x same-chain; Across/LayerZero/LI.FI cross-chain. Plans: sender plus exactly one of whole slippage_bps or exact-input max_output_loss in output base units. Omit all three for indicative quotes. Pass execution.execution_plan_reference unchanged to wallet simulation; send that simulation for owner authorization. Honor initial/revised numeric bounds exactly. No autonomous widening after failure. Delegated increase: choose/disclose a reasonable finite bound, not unlimited slippage. Changed terms need fresh plans, validated minimum output and new simulation/authorization; never edit plans or reuse reverted/expired bytes or old simulations. All/max: exact wallet balance. Compare amount_out/native_fee. LayerZero/LI.FI: get_value_transfer_status. Failures: unavailable_sources (provider), execution_unavailable (plan).
Inputs: amount (required), chain_id (required), token_in (required), token_out (required), +8 more. Returns: quotes, jurisdiction
get_rewards_claims_by_ownerGet incentive rewards claims by ownerARead-onlyInspect
Fetch canonical reward-claim records and supply the exact per-chain isClaimed/isAvailable eth_call list used by the interface before preparing claim transactions.
Inputs: owner (required). Returns: onchain_validation
get_sky_savings_deploymentGet the fixed Sky savings deploymentARead-onlyInspect
Locally return the canonical Ethereum USDS and sUSDS addresses and direct wallet-read guidance. This server does not proxy Sky, an RPC, an indexer, or any third-party API.
Inputs: no named parameters. Returns: source, protocol, deployment, limitations, +2 more
get_tokenGet an Ekubo tokenARead-onlyInspect
Fetch canonical token metadata for an exact chain and address. Amounts and usd_price are per raw token; multiplier is cached share scale (shares = raw × multiplier, share price = usd_price ÷ multiplier). Read uiMultiplier(), newUIMultiplier(), effectiveAt() on-chain before acting.
Inputs: address (required), chain_id (required). Returns: token
get_tokensGet multiple Ekubo tokensARead-onlyInspect
Fetch canonical metadata for up to 1,000 token identifiers in one batch request, preserving input order; identifiers absent from the canonical list are omitted.
Inputs: tokens (required). Returns: tokens
get_uniswap_chartsGet Uniswap pool chartsBRead-onlyInspect
Fetch timestamped token0/token1 prices and USD volume history over the requested duration from the same GraphQL fields as the open source Uniswap interface. Empty series means no indexed data, never zero volume.
Inputs: pool (required), version (required), chain_id (required), duration. Returns: data, errors, source, partial, +2 more
get_uniswap_deploymentsGet Uniswap deploymentsBRead-onlyInspect
Canonical V2/V3/V4 contracts on Ethereum, Optimism, Base, Arbitrum, Unichain and Robinhood, including Permit2 and wrapped native addresses.
Inputs: no named parameters. Returns: source, protocol, deployments
get_uniswap_poolGet a Uniswap poolARead-onlyInspect
Fetch indexed pool details, currencies, fee, TVL, volume and supplies. V4 takes a bytes32 pool ID; V2/V3 take an address. Use prepare_uniswap_reads for current chain state.
Inputs: pool (required), version (required), chain_id (required). Returns: data, errors, source, partial, +2 more
get_uniswap_pool_ticksGet Uniswap liquidity depth dataARead-onlyInspect
Fetch paginated initialized ticks and exact liquidityNet/liquidityGross strings for V3/V4 liquidity depth charts. first/skip bound each request; combine with current pool liquidity and tick from prepare_uniswap_reads. Indexer data can lag.
Inputs: pool (required), version (required), chain_id (required), skip, +1 more. Returns: data, errors, source, partial, +2 more
get_value_transfer_statusTrack a LayerZero or LI.FI cross-chain transferARead-onlyInspect
Report whether an executed LayerZero or LI.FI transfer has been delivered; its origin receipt alone does not mean the user has the funds. Poll every 15 to 30 seconds while settled is false (it draws on the quote budget). UNKNOWN or NOT_FOUND right after submission usually means not yet indexed. For LI.FI, read substatus: REFUNDED and PARTIAL report as status DONE. Across transfers are not tracked here.
Inputs: source, quote_id, origin_chain_id, transaction_hash, +1 more. Returns: source, status, polling, settled, +7 more
get_ve33_allocationsShow Ekubo STONX / ve(3,3) allocationsARead-onlyInspect
Use for requests such as 'show all my Ekubo STONX allocations'. The production Ekubo ve(3,3) deployment is the STONX voting system, so pass only owner to select its production chain and canonical VeToken automatically. Returns every pool, selected swap fee, NFT, applied vote weight, totals, state_id, and an onchain_validation request explicitly marked not_executed until the client runs its eth_call. Pass chain_id and ve_token together only for another deployment.
Inputs: owner (required), chain_id, ve_token. Returns: onchain_validation
list_pool_keysList Ekubo pool keysARead-onlyInspect
Discover initialized pools for one chain and Core deployment, ordered by pool_id with keyset pagination, optionally filtered by token, pair or extension. Each pool_id is re-derived from its PoolKey and each row carries the indexed state (null until indexed).
Inputs: chain_id (required), core_address (required), token_a, token_b, +3 more. Returns: page, pools, chain_id, core_address, +1 more
list_tokensList Ekubo tokensARead-onlyInspect
List canonical Ekubo tokens by descending visibility_priority, including tokenized stocks and stablecoins. Priority is ranking, not a choice on the user's behalf. search matches symbol prefixes/suffixes; min_visibility_priority includes hidden tokens.
Inputs: search, chain_id, page_size, after_token, +1 more. Returns: tokens
prepare_aave_v3_borrowPrepare an Aave V3 variable borrowARead-onlyInspect
Prepare a direct Aave V3 variable-rate borrow from a supported fixed reserve, including optional on-behalf-of credit delegation. This server does not query collateral, delegation, health factor, caps, or available liquidity.
Inputs: asset (required), amount (required), sender (required), chain_id (required), +1 more. Returns: execution_plan_reference
prepare_aave_v3_collateralPrepare an Aave V3 collateral toggleARead-onlyInspect
Prepare setUserUseReserveAsCollateral for a supported fixed reserve. Disabling collateral can reduce health factor or revert when open debt needs it, so exact wallet simulation is mandatory.
Inputs: asset (required), sender (required), chain_id (required), use_as_collateral (required). Returns: execution_plan_reference
prepare_aave_v3_emodePrepare an Aave V3 eMode changeARead-onlyInspect
Prepare setUserEMode with a caller-supplied current uint8 category ID; zero disables eMode. Discover live category configuration through Aave's public GraphQL API directly, because this server makes no data or RPC request.
Inputs: sender (required), chain_id (required), category_id (required). Returns: execution_plan_reference
prepare_aave_v3_repayPrepare an Aave V3 variable-debt repaymentARead-onlyInspect
Prepare variable-debt repayment with underlying tokens or sender-owned aTokens. Underlying repayment carries an exact ERC-20 approval and cleanup in one atomic plan; uint256 maximum requests all available debt.
Inputs: asset (required), amount (required), sender (required), chain_id (required), +2 more. Returns: execution_plan_reference
prepare_aave_v3_supplyPrepare an Aave V3 supplyARead-onlyInspect
Prepare a fixed-market Aave V3 Pool supply with an exact ERC-20 approval, supply calldata, and allowance cleanup as one atomic wallet plan. No live balance, allowance, reserve, cap, pause, or rate data is queried.
Inputs: asset (required), amount (required), sender (required), chain_id (required), +1 more. Returns: execution_plan_reference
prepare_aave_v3_withdrawPrepare an Aave V3 withdrawalARead-onlyInspect
Prepare a direct Aave V3 Pool withdrawal for a supported fixed reserve. Pass uint256 maximum as amount to request the available aToken balance. The wallet establishes balance, health-factor, collateral, and liquidity validity by exact simulation.
Inputs: asset (required), amount (required), sender (required), chain_id (required), +1 more. Returns: execution_plan_reference
prepare_aerodrome_gauge_claimPrepare an Aerodrome emissions claimARead-onlyInspect
Claim accrued AERO from a gauge. getReward credits its account argument rather than the sender, so a claim can pay a different address than the one paying gas; the plan states which. A claim with nothing earned succeeds and transfers nothing.
Inputs: gauge (required), sender (required), chain_id (required), account. Returns: execution_plan_reference
prepare_aerodrome_gauge_depositPrepare an Aerodrome gauge stakeARead-onlyInspect
Stake v2 LP tokens into a pool's gauge to earn AERO emissions, with the LP-token approval the gauge needs and an allowance cleanup after. Phased, because which token the gauge pulls is its own stakingToken: call it without lp_token to get that read back, then again with the resolved address for the complete atomic plan. Staking redirects that position's trading fees to the pool's voters, so it trades fee income for emissions rather than adding to it. A dead gauge accepts the stake and pays nothing, so check gauge_alive. Size amount from the live LP balance, not from an earlier deposit simulation.
Inputs: gauge (required), amount (required), sender (required), chain_id (required), +1 more. Returns: execution_plan_reference
prepare_aerodrome_gauge_withdrawPrepare an Aerodrome gauge unstakeARead-onlyInspect
Unstake v2 LP tokens from a gauge. This returns the LP token, not the underlying pair, and it does not claim AERO: the read bundle reports what is still earned so it is not silently left behind.
Inputs: gauge (required), amount (required), sender (required), chain_id (required). Returns: execution_plan_reference
prepare_aerodrome_incentive_claimPrepare a veAERO reward claimARead-onlyInspect
Claim a veNFT's voting rewards — trading fees, bribes, or both — and optionally the RewardsDistributor rebase, as one plan. The fee and bribe contract addresses are required inputs because they are per-pool contracts that only a Sugar rewards read returns; this server cannot derive them, and a wrong address claims nothing rather than failing loudly. Distinct from prepare_aerodrome_gauge_claim, which collects an LP's emissions rather than a voter's rewards.
Inputs: sender (required), chain_id (required), venft_id (required), fees, +2 more. Returns: execution_plan_reference
prepare_aerodrome_liquidity_depositPrepare an Aerodrome v2 liquidity depositARead-onlyInspect
Prepare a v2 addLiquidity through Aerodrome's Router with exact approvals and allowance cleanup. The read bundle quotes the actual split and resolves the pool, so a pair with no pool is caught before a deposit sets its price. LP tokens earn no AERO until staked with prepare_aerodrome_gauge_deposit.
Inputs: sender (required), stable (required), token_a (required), token_b (required), +7 more. Returns: execution_plan_reference
prepare_aerodrome_liquidity_withdrawPrepare an Aerodrome v2 liquidity withdrawalARead-onlyInspect
Prepare a v2 removeLiquidity that burns LP tokens back into the underlying pair, with the LP-token approval the router needs and an allowance cleanup after. Phased, because the token being approved is the pool and this server resolves Aerodrome addresses by reading them: call it without lp_token to get the pool read back, then again with the resolved address for the complete atomic plan. An LP balance short of the requested liquidity usually means the rest is staked in the gauge and needs unstaking first.
Inputs: sender (required), stable (required), token_a (required), token_b (required), +7 more. Returns: execution_plan_reference
prepare_aerodrome_lockPrepare a veAERO lock actionARead-onlyInspect
Build one veAERO escrow action: create a lock, add AERO to one, extend it, switch permanent locking on or off, or withdraw an expired one. Durations are measured from now and floored to a week boundary, so anything under a week is refused rather than signed. The read bundle returns ownership and the lock's (amount, end, isPermanent) so an impossible action — withdrawing an unexpired or permanent lock, extending past nothing — is caught before signing.
Inputs: action (required), sender (required), chain_id (required), amount, +2 more. Returns: execution_plan_reference
prepare_aerodrome_sugar_readsPrepare an Aerodrome Sugar read bundleARead-onlyInspect
Build the eth_call bundle and decode plan for one Sugar dataset (pools, positions, veNFTs, epochs, rewards) for the wallet to run against the user's RPC; Sugar has no API. The pool, gauge, fee and bribe addresses and veNFT ids it returns are the inputs to the other prepare_aerodrome_* tools.
Inputs: dataset (required), chain_id (required), pool, limit, +3 more. Returns: execution_plan_reference
prepare_aerodrome_votePrepare a veAERO vote or resetARead-onlyInspect
Cast one veNFT's gauge vote, or reset it. Weights are relative shares of voting power, not amounts, and the allocation replaces any previous vote entirely — a pool left out is voted zero. A veNFT may vote once per weekly epoch and reverts on a second attempt, so the read bundle returns lastVoted along with each pool's gauge and liveness. Voting also locks the NFT against withdrawal until it is reset.
Inputs: sender (required), chain_id (required), venft_id (required), pools, +1 more. Returns: execution_plan_reference
prepare_approval_revocationsPrepare ERC-20 approval revocationsARead-onlyInspect
Prepare every approve(spender,0) as an exact ordered multi-transaction execution plan. The wallet must not discover or construct the transaction list.
Inputs: sender (required), chain_id (required), approvals (required). Returns: execution_plan_reference
prepare_auction_completePrepare auction completionBRead-onlyInspect
Prepare permissionless auction completion and, when necessary, graduation-pool initialization in the same atomic batch.
Inputs: sender (required), chain_id (required), token_id (required), auction_key (required), +2 more. Returns: execution_plan_reference
prepare_auction_createPrepare auction creationCRead-onlyInspect
Pack the exact interface auction config and prepare mint plus sellAmountByAuction, including approval or native value and deterministic token ID.
Inputs: salt (required), sender (required), chain_id (required), buy_token (required), +8 more. Returns: execution_plan_reference
prepare_auction_creator_proceedsPrepare auction creator proceeds collectionBRead-onlyInspect
Prepare collection of creator proceeds for an auction NFT with pending owner validation.
Inputs: sender (required), chain_id (required), token_id (required), auction_key (required). Returns: execution_plan_reference
prepare_fix_pool_pricePrepare a pool price correctionARead-onlyInspect
Run the interface-equivalent phased fix-price workflow: provide exact pending pool-price read calldata, then exact router quote calldata, then approvals and target-price execution calldata. The wallet never constructs a route or transaction.
Inputs: sender (required), pool_id (required), chain_id (required), base_token (required), +5 more. Returns: execution_plan_reference
prepare_lido_stakePrepare Lido ETH stakingARead-onlyInspect
Prepare the canonical Lido submit call with exact native ETH value and an explicit or zero referral. The agent must read current staking pause and limit state directly; the wallet then simulates the exact transaction.
Inputs: amount (required), sender (required), chain_id (required), referral. Returns: execution_plan_reference
prepare_lido_unwrapPrepare wstETH unwrappingBRead-onlyInspect
Prepare a direct wstETH unwrap call for an exact share amount, returning rebasing stETH to the sender.
Inputs: amount (required), sender (required), chain_id (required). Returns: execution_plan_reference
prepare_lido_withdrawal_claimPrepare a Lido withdrawal claimARead-onlyInspect
Prepare claimWithdrawal for one finalized, unclaimed unstETH request ID owned by the sender. The agent must verify ownership and finalization directly through the user's wallet/RPC before preparation.
Inputs: sender (required), chain_id (required), request_id (required). Returns: execution_plan_reference
prepare_lido_withdrawal_requestPrepare a Lido withdrawal requestARead-onlyInspect
Prepare one or more bounded stETH withdrawal requests with an exact queue approval and cleanup. This irreversible asynchronous action mints unstETH NFTs, stops rewards while queued, and can settle below 1:1 after extraordinary losses; wallet simulation and clear user review are required.
Inputs: sender (required), amounts (required), chain_id (required), owner. Returns: execution_plan_reference
prepare_lido_wrapPrepare stETH wrappingARead-onlyInspect
Prepare an exact stETH approval, wstETH wrap call, and allowance cleanup in one atomic wallet plan.
Inputs: amount (required), sender (required), chain_id (required). Returns: execution_plan_reference
prepare_lp_position_depositPrepare an LP position depositARead-onlyInspect
Retired Ethereum MEVCapture v2.1 deposits are rejected; reads, claims and withdrawals remain available. Prepare a v3 position mint or add_liquidity, initializing a new pool at initial_tick when requested, with every approval, refund and cleanup step. Ekubo ticks use base 1.000001, so tick = ln(price in base units) x 10^6 and a Uniswap-style 1.0001 calculation is 100x too small. The token ratio follows the range and current price: do every swap first, re-read the tick with the pool's current_state_query, then mint once. If the wallet lacks one side, execute that swap separately and size the deposit from the measured balance after its receipt, never a quoted output. See ekubo://docs/lp-position-workflow.
Inputs: sender (required), chain_id (required), tick_lower (required), tick_upper (required), +10 more. Returns: execution_plan_reference
prepare_lp_position_earnings_claimPrepare an LP fee or reward claimBRead-onlyInspect
Prepare collection of all accrued fees from an owned standard position or rewards from an owned Ve33 position, keeping its liquidity and NFT. Run its current_state_query first: require every inner call to succeed and the decoded owner to equal expected_owner, and pass the decoded fees or rewards to the wallet with the plan.
Inputs: sender (required), chain_id (required), token_id (required), positions_address (required), +1 more. Returns: execution_plan_reference
prepare_lp_position_transferPrepare an LP position transferARead-onlyInspect
Prepare the exact safeTransferFrom transaction for an owned LP position and include pending ownership validation. The position, liquidity, and unclaimed earnings move together.
Inputs: sender (required), chain_id (required), token_id (required), recipient (required), +1 more. Returns: execution_plan_reference
prepare_lp_position_withdrawPrepare one or more LP position withdrawalsARead-onlyInspect
Prepare partial or full withdrawals from one or more owned positions in one plan, collecting fees or Ve33 rewards and keeping the NFTs. Read each position's current_state_query first and request no more liquidity than it decodes; require every inner call to succeed and owner to equal expected_owner. Hand the wallet every principal and earnings estimate and recipient.
Inputs: sender (required), chain_id (required), withdrawals (required). Returns: execution_plan_reference
prepare_manual_pool_boostPrepare a manual pool boostBRead-onlyInspect
Compute the exact Q32 boost rates and prepare all token approvals, native value, and boost calldata used by the interface.
Inputs: sender (required), amount0 (required), amount1 (required), chain_id (required), +3 more. Returns: execution_plan_reference
prepare_merkl_claimPrepare a Merkl reward claimARead-onlyInspect
Prepare one Distributor claim for every Merkl reward token the sender holds on a chain, from amounts and proofs fetched from https://api.merkl.xyz/v4/users/{address}/rewards/summary. The proofs are folded into their Merkle root here, and the read bundle checks it against the root the chain enforces, so Merkl's API need not be trusted. Distinct from prepare_rewards_claim, which claims Ekubo's own incentive drops.
Inputs: sender (required), rewards (required), chain_id (required). Returns: execution_plan_reference
prepare_morpho_vault_depositPrepare a guarded Morpho vault depositARead-onlyInspect
Prepare an exact-approval Morpho Vault V2 deposit through the official SDK's VaultBundlesV1 route. The caller supplies a fresh RAY-scaled max share price, which is enforced onchain against ERC-4626 share-price inflation; shares are minted to the sender and the server performs no data fetch.
Inputs: vault (required), amount (required), sender (required), chain_id (required), +3 more. Returns: execution_plan_reference
prepare_morpho_vault_redeemPrepare a Morpho vault redemptionARead-onlyInspect
Prepare a direct Morpho Vault V2 redemption for an exact share amount. Prefer redeem for full exits so the user's complete fresh share balance can be bound without asset/share rounding dust.
Inputs: vault (required), sender (required), shares (required), chain_id (required), +2 more. Returns: execution_plan_reference
prepare_morpho_vault_withdrawPrepare a Morpho vault withdrawalARead-onlyInspect
Prepare a direct Morpho Vault V2 withdrawal for an exact underlying-asset amount from a fixed vault. Current shares, liquidity, permissions, and vault state are established by direct agent discovery and exact wallet simulation.
Inputs: vault (required), amount (required), sender (required), chain_id (required), +2 more. Returns: execution_plan_reference
prepare_oracle_capacity_expansionPrepare oracle capacity expansionBRead-onlyInspect
Prepare the interface's permissionless Oracle expandCapacity call for one ERC-20 token.
Inputs: token (required), sender (required), chain_id (required), min_capacity (required). Returns: execution_plan_reference
prepare_pool_initializationPrepare standalone pool initializationARead-onlyInspect
Rejects retired Ethereum MEVCapture v2.1. Prepare one permissionless maybeInitializePool transaction for a v3 PoolKey and initial tick; prepare_lp_position_deposit with pool_initialized=false does the same atomically with the mint.
Inputs: sender (required), chain_id (required), pool_key (required), core_address (required), +1 more. Returns: execution_plan_reference
prepare_revenue_buybacksPrepare revenue buyback maintenanceCRead-onlyInspect
Prepare the exact selected ended-order collections, protocol-fee withdrawals, and token rolls in interface order within one atomic batch of decodable steps.
Inputs: sender (required), chain_id (required), roll_tokens (required), protocol_fee_pairs (required), +1 more. Returns: execution_plan_reference
prepare_rewards_claimPrepare incentive reward claimsCRead-onlyInspect
Prepare one Incentives claim or the interface's allow-failure Multicall3 aggregate for multiple claims.
Inputs: claims (required), sender (required), chain_id (required). Returns: execution_plan_reference
prepare_sky_savings_depositPrepare a Sky savings depositARead-onlyInspect
Prepare an exact USDS approval, ERC-4626 sUSDS deposit, and allowance cleanup as one atomic wallet plan. The direct vault interface has no minimum-shares or deadline field, so a fresh preview and exact wallet simulation are mandatory.
Inputs: amount (required), sender (required), chain_id (required), receiver. Returns: execution_plan_reference
prepare_sky_savings_redeemPrepare a Sky savings redemptionARead-onlyInspect
Prepare a direct sUSDS ERC-4626 redemption for an exact share amount. Use a fresh wallet/RPC balance and preview, then require exact wallet simulation before authorization.
Inputs: sender (required), shares (required), chain_id (required), owner, +1 more. Returns: execution_plan_reference
prepare_sky_savings_withdrawPrepare a Sky savings withdrawalARead-onlyInspect
Prepare a direct sUSDS ERC-4626 withdrawal for an exact USDS amount. The server does not query current exchange rate, capacity, balance, allowance, or preview state.
Inputs: amount (required), sender (required), chain_id (required), owner, +1 more. Returns: execution_plan_reference
prepare_transfersPrepare a batch of token transfersBRead-onlyInspect
Prepare one atomic-capable plan of 1 to 4,096 ordered native, ERC-20, ERC-721 and ERC-1155 transfers on one EVM chain, mixed freely. Returns a compact summary and the execution_plan_reference.
Inputs: sender (required), chain_id (required), transfers (required). Returns: execution_plan_reference
prepare_twamm_orderPrepare a TWAMM or DCA orderARead-onlyInspect
Prepare one or more TWAMM order splits with approvals and native value as one atomic batch. details.token_id is the order's id before anything is sent: keep it, because prepare_twamm_order_collection and prepare_twamm_order_stop are keyed by it and orders are not enumerable by owner. Start and end times must be multiples of 256 seconds near the present, widening in powers of 16 further out.
Inputs: orders (required), sender (required), chain_id (required), buy_token (required), +4 more. Returns: execution_plan_reference
prepare_twamm_order_collectionPrepare TWAMM proceeds collectionARead-onlyInspect
Prepare collection of every selected order key through the exact current or legacy Orders manager, as one atomic batch of decodable steps, with pending owner validation.
Inputs: sender (required), chain_id (required), token_id (required), order_keys (required), +1 more. Returns: execution_plan_reference
prepare_twamm_order_stopPrepare stopping a TWAMM orderBRead-onlyInspect
Prepare the interface's complete stop flow: collect every selected order and decrease every still-active sale rate in one atomic batch of decodable steps.
Inputs: orders (required), sender (required), chain_id (required), token_id (required), +2 more. Returns: execution_plan_reference
prepare_twamm_virtual_ordersPrepare TWAMM virtual-order executionBRead-onlyInspect
Prepare the permissionless lockAndExecuteVirtualOrders maintenance call for a current or legacy TWAMM pool.
Inputs: sender (required), chain_id (required), pool_key (required). Returns: execution_plan_reference
prepare_uniswap_readsPrepare Uniswap pool and position readsARead-onlyInspect
Return exact wallet read bundles for pool state, reserves, positions and ownership. V3 supports bounded owner-index enumeration. V4 requires known token IDs. Verify returned tokens, fee, factory/pool key, tick spacing and owner before preparing liquidity operations.
Inputs: token0 (required), token1 (required), version (required), chain_id (required), +7 more. Returns: read_calls_reference
prepare_uniswap_v2_add_liquidityPrepare Uniswap V2 liquidity depositARead-onlyInspect
Add liquidity or create a V2 pair with exact token approvals and cleanup. Amounts are raw units; sorted token0/token1 and explicit minimum outputs are required. use_native pays ETH for the wrapped-native side. Execute atomically through the wallet.
Inputs: sender (required), token0 (required), token1 (required), amount0 (required), +6 more. Returns: execution_plan_reference
prepare_uniswap_v2_remove_liquidityPrepare Uniswap V2 liquidity withdrawalBRead-onlyInspect
Burn an exact LP amount through the canonical V2 router; realize accrued fees with principal. Raw minima protect withdrawal proceeds. LP token address is derived from the factory. Optional native unwrapping. V2 has no separate fee claim. Requires atomic LP approval and cleanup.
Inputs: sender (required), token0 (required), token1 (required), chain_id (required), +5 more. Returns: execution_plan_reference
prepare_uniswap_v3_add_liquidityPrepare Uniswap V3 liquidity depositARead-onlyInspect
Mint a ranged NFT or increase token_id with raw desired amounts and minima. First verify factory fee tick spacing and position tokens/range. Optional initialize_sqrt_price_x96 creates the pool; use_native pays ETH and refunds excess. Exact approvals and cleanup require an atomic wallet.
Inputs: fee (required), sender (required), token0 (required), token1 (required), +12 more. Returns: execution_plan_reference
prepare_uniswap_v3_collect_feesPrepare Uniswap V3 fee collectionARead-onlyInspect
Collect all owed fees without removing liquidity, optionally unwrapping WETH. Verify NFT ownership and currencies first. V3 collect has no onchain deadline; regenerate and simulate before execution.
Inputs: sender (required), token0 (required), token1 (required), chain_id (required), +3 more. Returns: execution_plan_reference
prepare_uniswap_v3_remove_liquidityPrepare Uniswap V3 liquidity withdrawalARead-onlyInspect
Decrease exact uint128 liquidity, collect principal and all accrued fees, and optionally burn a fully emptied NFT. Raw minima protect withdrawal proceeds. Optional unwrap_native requires verified position currencies.
Inputs: sender (required), token0 (required), token1 (required), chain_id (required), +7 more. Returns: execution_plan_reference
prepare_uniswap_v4_add_liquidityPrepare Uniswap V4 liquidity depositARead-onlyInspect
Mint or increase an exact liquidity amount using raw uint128 token maxima. Zero token0 means native ETH. Uses exact ERC20 and Permit2 approvals with cleanup, settles both signs of accrued-fee deltas on increase, and refunds native surplus. Verify NFT pool key/range and hook behavior; hook_data is forwarded unchanged. Optional pool initialization.
Inputs: fee (required), sender (required), token0 (required), token1 (required), +13 more. Returns: execution_plan_reference
prepare_uniswap_v4_collect_feesPrepare Uniswap V4 fee collectionBRead-onlyInspect
Poke a V4 position with zero liquidity decrease then take both currencies to the sender. Principal remains invested. Verify ownership, pool key and hook behavior first.
Inputs: fee (required), sender (required), token0 (required), token1 (required), +7 more. Returns: execution_plan_reference
prepare_uniswap_v4_remove_liquidityPrepare Uniswap V4 liquidity withdrawalBRead-onlyInspect
Remove liquidity and take principal plus fees to the sender. Optional burn:true requires liquidity:0 and withdraws the entire NFT with minima applied to the full position. Requires exact pool currencies and hook data; uint128 minima bound principal outputs.
Inputs: fee (required), sender (required), token0 (required), token1 (required), +11 more. Returns: execution_plan_reference
prepare_ve33_claim_all_feesPrepare all ve-token fee claimsARead-onlyInspect
Discover every active vote on VeTokens owned by the sender and generate one atomic batch of decodable VeToken steps claiming all indexed pool fees, with ownerOf and voteState validation calldata. Fees only: votes, stake amounts, lock ends, and NFT ownership are all unchanged.
Inputs: sender (required), chain_id (required), ve_token (required), recipient. Returns: execution_plan_reference
prepare_ve33_claim_feesPrepare ve-token fee claimsARead-onlyInspect
Generate one call, or an atomic batch of decodable VeToken steps, claiming voter fees from one or more ve-tokens. Fees only: votes, stake amounts, lock ends, and NFT ownership are unchanged. Execution still requires wallet simulation and authorization.
Inputs: claims (required), sender (required), chain_id (required), ve_token (required), +1 more. Returns: execution_plan_reference
prepare_ve33_clear_votePrepare ve-token vote clearingARead-onlyInspect
Remove the active vote from one or more ve-tokens, claiming each stake's current pool fees immediately before its clearVote in one atomic batch. Use this instead of raw clearVote calldata: Ve33 discards pending voter fees when a stake's weight goes to zero, and a current_pool_key that is not the stake's active pool reverts the whole batch. Stake amount, lock end and NFT ownership are untouched; the stake stops directing emissions and earning that pool's voter fees. Prefer prepare_ve33_reallocation when votes move to other pools. See ekubo://docs/ve33-workflow.
Inputs: votes (required), sender (required), chain_id (required), ve_token (required), +1 more. Returns: execution_plan_reference
prepare_ve33_extendPrepare a ve-token extensionARead-onlyInspect
Prepare a direct extension for an unvoted VeToken or an atomic claim-and-extend call when current_pool_key identifies an active vote, so pending voter fees are preserved. Extending moves the stake to a later end time and clears its vote — that is why the claim is compounded into the same call. A stake's end time only ever moves later, here and everywhere else in Ve33. No NFT is burned and no stake leaves the wallet; re-vote afterwards with prepare_ve33_vote. max_duration=true must be the user's explicit choice.
Inputs: ve_id (required), sender (required), chain_id (required), ve_token (required), +3 more. Returns: execution_plan_reference
prepare_ve33_increase_stakePrepare increasing a ve-token stakeARead-onlyInspect
Prepare the exact approval/native value and increaseStakeAmount call while preserving the existing vote and fee accounting. Non-destructive: the vote is resized rather than cleared, no fees are discarded, and no NFT is burned. The added stake takes the NFT's existing lock end, so it cannot be withdrawn before that time.
Inputs: ve_id (required), amount (required), sender (required), chain_id (required), +2 more. Returns: execution_plan_reference
prepare_ve33_mergePrepare merging ve-token stakesBRead-onlyInspect
Prepare fee-safe merging of one or more source NFTs into a destination, including required claims and the selected resulting vote in one atomic batch of decodable steps. Destructive to the sources: each source's stake moves to the destination, its vote is cleared, and the source NFT is burned, so its fees are claimed first and its ID is reported in the plan. The destination keeps its own lock end, which is why no source may end later than it.
Inputs: sender (required), sources (required), chain_id (required), ve_token (required), +3 more. Returns: execution_plan_reference
prepare_ve33_reallocationPrepare atomic ve(3,3) reallocationARead-onlyInspect
Compile a reviewed current allocation into at most 25 target pool-weight shares as one atomic batch of decodable VeToken steps. The default path only claims, splits, and votes: nothing is burned, no lock is extended, and nothing is withdrawn. The optional compact_max_lock strategy fee-safely consolidates active NFTs, extends the survivor to four years, then creates exactly one voting NFT per target; it burns every merged source NFT and lengthens the lock, and explicitly discloses both. Show the get_ve33_allocations result first and pass its exact state_id; hand the wallet the survivor, every burned source, the extension, and the decoded calls. See ekubo://docs/ve33-workflow.
Inputs: sender (required), targets (required), chain_id (required), ve_token (required), +3 more. Returns: execution_plan_reference
prepare_ve33_reinvestPrepare ve-token fee reinvestmentARead-onlyInspect
Build the safe phased workflow for 'reinvest my fees': automatically claim all active voter fees, prepare one exact-input swap per claimed non-stake token, then increase one VeToken or every existing active allocation without changing ownership or replacing votes. phase=swap returns jurisdiction metadata inline on the result and on every child swap; it is not permission to trade. For a nonempty restricted_jurisdictions list, follow its execution_notice before requesting any signature. Phases run in order after each confirms: claim (omit claims to discover every active allocation; keep the pre-claim balance snapshots), swap with only the exact claimed deltas, never a pre-existing balance, then stake_all with the refreshed state_id and the measured STONX output.
Inputs: phase (required), sender (required), chain_id (required), ve_token (required), +9 more. Returns: phase, jurisdiction, exact_input_full_balance_swaps
prepare_ve33_splitPrepare a ve-token splitARead-onlyInspect
Split a source ve-token with an explicit salt and return the deterministic child token ID; the source vote is preserved with reduced weight and the child starts unvoted with the same lock end. Non-destructive: no stake leaves the wallet, no NFT is burned, no vote is cleared, and no fees are discarded.
Inputs: salt (required), ve_id (required), amount (required), sender (required), +2 more. Returns: execution_plan_reference
prepare_ve33_stakePrepare a new ve-token stakeBRead-onlyInspect
Create a new VeToken stake with an exact stake-token approval. Omitting duration selects the maximum lock; an explicit shorter duration is supported. No existing NFT, vote, fee balance, or ownership is changed.
Inputs: salt (required), amount (required), sender (required), chain_id (required), +4 more. Returns: execution_plan_reference
prepare_ve33_votePrepare one ve(3,3) NFT vote changeARead-onlyInspect
Compile one actively voted ve-token into multiple allocations. Unconditionally claims its current pool first, then splits and changes votes in one atomic batch of decodable VeToken steps. Nothing is burned, withdrawn, or transferred: the source keeps a stake and every additional allocation is a newly minted NFT with the same lock end. Prefer the portfolio reallocation workflow for complete state validation.
Inputs: sender (required), chain_id (required), ve_token (required), salt_nonce (required), +5 more. Returns: execution_plan_reference
prepare_ve33_withdrawPrepare expired ve-token withdrawalARead-onlyInspect
Prepare fee-safe withdrawal of an expired ve-token stake, claiming the active pool first when voted and returning pending owner/stake validation. Ends the position: the stake leaves Ve33 and returns to the owner and the vote is cleared. Only an expired stake can be withdrawn — Ve33 reverts with StakeNotExpired at any earlier time, and there is no early exit or penalty path.
Inputs: ve_id (required), sender (required), chain_id (required), ve_token (required), +1 more. Returns: execution_plan_reference
prepare_wrap_unwrapPrepare a direct wrapped-native wrap or unwrapBRead-onlyInspect
Prepare a direct wrapped-native deposit or withdrawal on a chain with a verified wrapped native token. The response names the wrapped token, which is not WETH everywhere (BNB Chain wraps BNB, Polygon POL, Monad MON).
Inputs: amount (required), sender (required), chain_id (required), direction (required). Returns: execution_plan_reference
quote_uniswap_liquidityCalculate Uniswap concentrated liquidity amountsARead-onlyInspect
Calculate V3/V4 range liquidity, rounded mint/burn amounts and explicit token bounds from a current sqrt-price snapshot and raw token budgets, or an exact liquidity amount. Fees are excluded. Obtain current state using prepare_uniswap_reads.
Inputs: amount0 (required), amount1 (required), tick_lower (required), tick_upper (required), +4 more. Returns: liquidity, amount0_max, amount0_min, amount1_max, +6 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Swap quotes + unsigned txs on 8 EVM chains, plus Solana data: boards, candles, wallet PnL. No key.
Cross-network DeFi API data, AMM analytics, and SDK docs for 17+ networks.
Cross-network DeFi data, SDK docs, and swap tools that quote and track swaps the user's wallet signs
Best-route swap quotes, token search and USD prices across EVM chains. Read-only, never trades.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceAnalyzes live Uniswap V2/V3, Balancer, and Curve stableswap pools for positions, price moves, pool health, rug signals, slippage, and depeg risk, and builds portable State Twins for offline analysis.Apache 2.0- AlicenseAqualityDmaintenanceEnables pool discovery, token listing, local AMM quotes, and preparation of unsigned swap and liquidity transactions for the Nomadex DEX on Voi. It supplies transaction groups for an agent to sign and broadcast through separate wallet and broadcast MCP servers.7MIT
- AlicenseAqualityBmaintenanceEnables AI agents to fetch gasless, MEV-protected token swap and cross-chain bridge quotes, generate prefilled swap links, and access StateVector market-data tools over stdio or a hosted HTTP endpoint.25301 npmMIT
- AlicenseAqualityBmaintenanceDeFi execution and agent-to-agent economy tools for AI agents — swaps, yield, transfers, policy enforcement, trust scoring, A2A jobs, and P\&L across Ethereum, Base, Arbitrum, and Polygon.311Apache 2.0
Glama MCP Gateway
Add one secure layer between your agents and this server.