QUOTE and SWAP take the same shape — chain, input token address, output token address, amount and slippage — with SWAP additionally naming the account it is being built for. Because it constructs the transaction instead of submitting it, no private key is configured here and nothing in this tool set can move funds by itself. The listing tools matter more than they first appear: token addresses rather than symbols are what the quoting and swap calls consume, so TOKEN_LIST is the step that turns a human-readable pair into arguments that actually resolve.
An OpenOcean aggregator client with seven tools covering chain, token and DEX listings, gas price, transaction lookup, quoting and swap construction.
- The universe first: CHAIN_LIST returns the supported chains, TOKEN_LIST returns a chain's tokens, and DEX_LIST returns the exchanges aggregated on it.
- Conditions: GAS_PRICE returns the current gas price for a chain, and GET_TRANSACTION returns a transaction by chain and hash.
- Pricing and construction: QUOTE prices a pair from an input token address, an output token address, an amount and a slippage, and SWAP builds the swap transaction for an account using the same parameters.
No credentials are configured on the server. SWAP builds a transaction for an account address you pass in, so signing and broadcasting happen outside it.
One command — pnpm add -g openocean-mcp
