MCP Server

MCP Server Overview

An MCP server for executing token swaps across multiple decentralized exchanges using OpenOcean's aggregation API. openocean-mcp (GitHub)

What is MCP?

The Model Context Protocol (MCP) is a standard for AI assistants to interact with external services. This project implements an MCP server that allows MCP-compatible clients (like AI assistants, IDE extensions, or custom applications) to access DEX functionalities.

The server is built with TypeScript and fastmcp.

Capabilities

  • -Get Quotes - Fetch swap quotes for token pairs
  • -Build Swaps - Generate swap transaction data
  • -Multi-Chain - Support for 40+ EVM chains
  • -Token Lists - Access supported tokens per chain
  • -DEX Lists - Discover available DEXes

Prerequisites

  • Node.js (v18 or newer recommended)
  • pnpm

Next Steps