home / mcp / indodax mcp server

Indodax MCP Server

Exposes private Indodax REST APIs as MCP tools for fast, easy automation and integration.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "adhinugroho1711-mcp-indodax": {
      "command": "python",
      "args": [
        "server.py"
      ],
      "env": {
        "INDODAX_API_KEY": "YOUR_API_KEY",
        "INDODAX_API_SECRET": "YOUR_SECRET"
      }
    }
  }
}

This MCP server exposes Indodax Private REST API endpoints as MCP tools you can call from code or AI agents. It enables rapid integration, clean tooling, and a unified interface for trading, balances, and market data through ready-made functions.

How to use

You run the MCP server locally and connect your MCP client or editor integration to the provided endpoint. Use the available functions to fetch market data, check balances, place trades, and manage orders. The server exposes both public (read-only) and private (authenticated) tools, so you can experiment with price queries without exposing sensitive actions until you’re ready.

How to install

Prerequisites: Python and a working internet connection.

# 1. Clone the MCP server project
git clone https://github.com/adhinugroho1711/mcp-indodax.git
cd mcp-indodax

# 2. (Optional) create and activate a virtual environment
python -m venv .venv && source .venv/bin/activate

# 3. Install dependencies
pip install -r requirements.txt

Create credentials for private access. Save these in a file named .env at the project root (it will not be pushed):

INDODAX_API_KEY=YOUR_API_KEY
INDODAX_API_SECRET=YOUR_SECRET

Start the MCP server in stdio mode (default MCP) or via HTTP for a server process.

# Standard MCP stdio mode
python server.py

# HTTP mode (alternative)
uvicorn server:mcp.app --reload

Additional content

Configuration and runtime notes to keep in mind: you provide your private API credentials via the environment variables shown above. When using the stdio approach, the command to run is python server.py. If you prefer an HTTP-based runtime, you can launch the app with uvicorn server:mcp.app --reload.

Example usage patterns include fetching current prices, checking balances, and placing trade orders. The following example shows how to call tools from code after the server is running.

Available tools

server_time

Return the current server time of the exchange.

pairs

List available trading pairs.

price_increments

Get the price increments for each trading pair.

summaries

Get a summary of market data for all pairs.

ticker

Fetch the latest price data for a specific pair.

ticker_all

Fetch the latest price data for all pairs.

trades

Retrieve recent trades for a given pair.

get_info

Retrieve account information and balances (private).

trans_history

Retrieve transaction history (private).

trade

Place a buy or sell order (private).

withdraw_coin

Withdraw cryptocurrency (private).

withdraw_fee

Estimate withdrawal fee for a currency (private).

open_orders

List currently open orders (private).

cancel_order

Cancel a specific order by order_id (private).

cancel_by_client_order_id

Cancel an order by client_order_id (private).

order_history

Retrieve order history (private).

get_order

Get details of an order by order_id (private).

get_order_by_client_order_id

Get details of an order by client_order_id (private).

price_increments

Public price step info for pairs.

list_downline

List referral partners.

check_downline

Check if a user is a downline.

create_voucher

Create a partner voucher.

Indodax MCP Server - adhinugroho1711/mcp-indodax