home / mcp / indodax mcp server
Exposes private Indodax REST APIs as MCP tools for fast, easy automation and integration.
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.
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.
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.txtCreate 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_SECRETStart 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 --reloadConfiguration 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.
Return the current server time of the exchange.
List available trading pairs.
Get the price increments for each trading pair.
Get a summary of market data for all pairs.
Fetch the latest price data for a specific pair.
Fetch the latest price data for all pairs.
Retrieve recent trades for a given pair.
Retrieve account information and balances (private).
Retrieve transaction history (private).
Place a buy or sell order (private).
Withdraw cryptocurrency (private).
Estimate withdrawal fee for a currency (private).
List currently open orders (private).
Cancel a specific order by order_id (private).
Cancel an order by client_order_id (private).
Retrieve order history (private).
Get details of an order by order_id (private).
Get details of an order by client_order_id (private).
Public price step info for pairs.
List referral partners.
Check if a user is a downline.
Create a partner voucher.