Openocean

Created By
openocean-finance6 months ago
An MCP server for executing token swaps across multiple decentralized exchanges using OpenOcean's aggregation API.
Overview

What is Openocean?

Openocean is an MCP server designed for executing token swaps across multiple decentralized exchanges (DEXs) using OpenOcean's aggregation API.

How to use Openocean?

To use Openocean, you can run the server using pnpm dlx for easy integration with MCP clients, or install it globally via npm. Configuration is required for the MCP client to run the server.

Key features of Openocean?

  • CHAIN_LIST: Fetches the list of available chains.
  • GAS_PRICE: Retrieves the current gas price for a specified chain.
  • QUOTE: Provides a quote for a token swap.
  • SWAP: Executes a swap transaction.
  • GET_TRANSACTION: Fetches information about a specific transaction.
  • TOKEN_LIST: Lists available tokens on a specified chain.
  • DEX_LIST: Lists available DEXs on a specified chain.

Use cases of Openocean?

  1. Facilitating token swaps across various DEXs for better rates.
  2. Integrating with AI assistants or IDE extensions for automated trading.
  3. Providing developers with tools to build custom applications that require token swap functionalities.

FAQ from Openocean?

  • Can Openocean handle swaps on all DEXs?

Yes! Openocean aggregates data from multiple DEXs to provide the best swap rates.

  • Is Openocean free to use?

Yes! Openocean is open-source and free for everyone to use.

  • What are the prerequisites for running Openocean?

You need Node.js (v18 or newer) and pnpm installed to run the server.

Project Info
Created At
6 months ago
Updated At
6 months ago
Author Name
openocean-finance
Star
-
Language
-
License
-

Recommend Servers

View All
Tavily Mcp
@tavily-ai

JavaScript
a year ago