MCPServers

Summary

LI.FI MCP Server enables AI assistants to interact with cross-chain token transfers and swaps through the LI.FI API. It provides tools for querying token information, fetching quotes, checking transaction status, and executing transfers using a connected Ethereum wallet. The implementation includes wallet management capabilities for signing transactions, chain data caching for improved performance, and comprehensive error handling. Particularly valuable for use cases involving DeFi operations, cross-chain transfers, and token management without leaving the conversation interface.

Available Actions(17)

get-tokens

Fetch all tokens known to the LI.FI services. Parameters: chains, chainTypes, minPriceUSD.

get-token

Get detailed information about a specific token. Parameters: chain (required), token (required).

get-chains

Get information about all supported chains. Parameters: chainTypes.

get-chain-by-id

Find a chain by its numeric ID. Parameters: id (required).

get-chain-by-name

Find a chain by name, key, or ID (case insensitive). Parameters: name (required).

get-quote

Get a quote for a token transfer (cross-chain or same-chain). Parameters: fromChain, toChain, fromToken, toToken, fromAddress, fromAmount, etc.

get-status

Check the status of a cross-chain transfer. Parameters: txHash (required), bridge, fromChain, toChain.

get-connections

Returns all possible connections between chains. Parameters: fromChain, toChain, fromToken, toToken, chainTypes.

get-tools

Get available bridges and exchanges. Parameters: chains.

get-wallet-address

Get the Ethereum address for the loaded private key.

get-native-token-balance

Get the native token balance of a wallet. Parameters: rpcUrl (required), address (required).

get-token-balance

Get the balance of a specific ERC20 token for a wallet. Parameters: rpcUrl, tokenAddress, walletAddress.

get-allowance

Check the allowance of an ERC20 token for a specific spender. Parameters: rpcUrl, tokenAddress, ownerAddress, spenderAddress.

execute-quote

Execute a quote transaction using the stored private key. Parameters: rpcUrl, transactionRequest.

approve-token

Approve a specific amount of ERC20 tokens to be spent by another address. Parameters: rpcUrl, tokenAddress, spenderAddress, amount.

transfer-token

Transfer ERC20 tokens to another address. Parameters: rpcUrl, tokenAddress, to, amount.

transfer-native

Transfer native cryptocurrency to another address. Parameters: rpcUrl, to, amount.

Last Updated: June 2, 2025

コミュニティレビュー

0.0
0 レビュー
5
0
4
0
3
0
2
0
1
0

まだレビューはありません. 最初のレビューを投稿しましょう!

会話に参加するにはサインインしてください

Coming soon to
HighlightHighlight AI

言語

TypeScript

カテゴリ

タグ