Openocean MCP Server

Mcp server for Openocean access

Local serverstdioTypeScript

What is the Openocean MCP Server?

Mcp server for Openocean access

The short version

An MCP server for executing token swaps across multiple decentralized exchanges using OpenOcean's aggregation API.

This project implements a Model Context Protocol (MCP) server to interact with decentralized exchanges (DEXs). It allows MCP-compatible clients (like AI assistants, IDE extensions, or custom applications) to access functionalities such as getting quotes for swaps and executing swaps across multiple chains.

  • CHAIN_LIST — Fetch chain list
  • GAS_PRICE — Fetch gas price
  • Parameters: chain (string)
  • QUOTE — Fetch a quote for a swap
  • Parameters: chain (string), inTokenAddress (string), outTokenAddress (string), amount (string), slippage (string)
  • SWAP — Building swap transaction

What it needs from you

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Openocean MCP Server

{
  "mcpServers": {
    "openocean-mcp-server": {
      "command": "pnpm",
      "args": [
        "dlx",
        "openocean-mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

Example prompts to try

  • “Use Openocean MCP to Parameters.”

Frequently asked questions

Mcp server for Openocean access Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.