JUHE API Marketplace
IQAIcom avatar
MCP Server

MCP-ODOS

A Model Context Protocol server that enables AI assistants and applications to interact with decentralized exchanges (DEXs), allowing users to get quotes for token swaps and execute swap transactions.

1
GitHub Stars
3/11/2026
Last Updated
MCP Server Configuration
1{
2 "name": "odos",
3 "command": "npx",
4 "args": [
5 "-y",
6 "@iqai/mcp-odos"
7 ],
8 "env": {
9 "WALLET_PRIVATE_KEY": "your_wallet_private_key_here"
10 }
11}
JSON11 lines
  1. Home
  2. MCP Servers
  3. mcp-odos

README Documentation

🔄 Odos MCP Server

📖 Overview

The Odos MCP Server enables AI agents to interact with Odos, a leading DEX aggregator that finds optimal swap routes across multiple decentralized exchanges. This server provides comprehensive access to quote retrieval and swap execution functionality.

By implementing the Model Context Protocol (MCP), this server allows Large Language Models (LLMs) to fetch swap quotes, compare prices, and execute token swaps directly through their context window, bridging the gap between AI and decentralized finance.

✨ Features

  • Quote Retrieval: Get optimal swap quotes with best routes across multiple DEXs.
  • Multi-Chain Support: Execute swaps on various blockchain networks including Fraxtal, Ethereum, and more.
  • Swap Execution: Execute token swaps with automatic allowance handling.
  • Chain ID Lookup: Retrieve chain IDs for supported blockchain networks.

📦 Installation

🚀 Using npx (Recommended)

To use this server without installing it globally:

npx @iqai/mcp-odos

🔧 Build from Source

git clone https://github.com/IQAIcom/mcp-odos.git
cd mcp-odos
pnpm install
pnpm run build

⚡ Running with an MCP Client

Add the following configuration to your MCP client settings (e.g., claude_desktop_config.json).

📋 Minimal Configuration

{
  "mcpServers": {
    "odos": {
      "command": "npx",
      "args": ["-y", "@iqai/mcp-odos"],
      "env": {
        "WALLET_PRIVATE_KEY": "your_wallet_private_key_here"
      }
    }
  }
}

⚙️ Advanced Configuration (Local Build)

{
  "mcpServers": {
    "odos": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-odos/dist/index.js"],
      "env": {
        "WALLET_PRIVATE_KEY": "your_wallet_private_key_here"
      }
    }
  }
}

🔐 Configuration (Environment Variables)

VariableRequiredDescriptionDefault
WALLET_PRIVATE_KEYYesYour wallet private key for executing swaps-

💡 Usage Examples

🔍 Getting Quotes

  • "Get a quote to swap 1000 USDC for FRAX on Fraxtal."
  • "What's the best rate to swap ETH for USDC?"
  • "How much FRAX will I get for 100 USDC on Fraxtal?"

💱 Executing Swaps

  • "Swap 100 USDC for FRAX on Fraxtal."
  • "Execute a trade: sell 1000 USDC for ETH."
  • "Trade my USDC for the maximum amount of FRAX."

🔗 Chain Information

  • "What is the chain ID for Fraxtal?"
  • "Get the chain ID for Ethereum mainnet."

🛠️ MCP Tools

ODOS_GET_CHAIN_ID

Get the chain ID for a given chain name

ParameterTypeRequiredDescription
chainstring✅The chain name to get the ID for

ODOS_GET_QUOTE

Get a quote for a swap or exchange operation

ParameterTypeRequiredDefaultDescription
chainstring"fraxtal"The blockchain network to execute the transaction on. uses fraxtal as default
fromTokenstring✅The token to swap from (address).
toTokenstring✅The token to swap to (address).
amountstring✅The amount of tokens to swap, in wei.
prettyFormatbooleantrueWhether to pretty format the quote.

ODOS_SWAP

Execute a swap transaction

ParameterTypeRequiredDefaultDescription
chainstring"fraxtal"The blockchain network to execute the transaction on. uses fraxtal as default
fromTokenstring✅The token to swap from (address).
toTokenstring✅The token to swap to (address).
amountstring✅The amount of tokens to swap, in wei.
prettyFormatbooleantrueWhether to pretty format the quote.

👨‍💻 Development

🏗️ Build Project

pnpm run build

👁️ Development Mode (Watch)

pnpm run watch

✅ Linting & Formatting

pnpm run lint
pnpm run format

📁 Project Structure

  • src/tools/: Individual tool definitions
  • src/services/: API client and business logic
  • src/utils/: Shared utilities
  • src/index.ts: Server entry point

📚 Resources

  • Odos Documentation
  • Model Context Protocol (MCP)
  • Odos Platform

⚠️ Disclaimer

This project is an unofficial tool and is not directly affiliated with Odos. It interacts with financial data and decentralized exchanges. Users should exercise caution and verify all data independently. Trading on decentralized exchanges involves risk.

📄 License

ISC

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.aiFeatured on ShowMeBestAI
Copyright © 2026 JUHEDATA HK LIMITED - All rights reserved