# coinex_mcp_server

> Use this tool when you need to integrate AI agents with the CoinEx cryptocurrency exchange for seamless interaction, enabling access to market data, trading operations, and account management through a standardized Model Context Protocol (MCP) interface. It solves problems related to real-time market data retrieval, futures analytics, and trading operations, accepting inputs such as API keys and symbols, and outputting data like tickers, order books, and account balances. Use it in contexts where automated trading, market analysis, or account management is required, supporting multiple transport protocols like HTTP, SSE, and stdio for flexible deployment.

Canonical page: https://skillsregistry.net/skills/helix-song-coinex-mcp-server  
JSON: https://api.skillsregistry.net/v1/skills/helix-song-coinex-mcp-server

## Description

# CoinEx MCP Server

A Model Context Protocol (MCP) server that enables AI agents to interact seamlessly with the CoinEx cryptocurrency exchange. This server provides comprehensive access to market data, trading operations, and account management through a standardized MCP interface.

## Key Features

- **Market Data Access**: Retrieve real-time tickers, order books, K-lines, and recent trades for both spot and futures markets
- **Futures Analytics**: Access funding rates, premium indices, basis history, position tiers, and liquidation data
- **Account Management**: Query account balances and manage trading positions
- **Order Operations**: Place, cancel, and track orders with full history access
- **Flexible Deployment**: Supports multiple transport protocols (stdio, HTTP, SSE) for various integration scenarios

## Quick Start

### Installation via http (Recommended)
just add this url `https://mcp.coinex.com/mcp`  to your mcp configuration in agent. for example, use this command to add it to your claude code: 
```
claude mcp add --transport http coinex-mcp-server https://mcp.coinex.com/mcp
```

### Installation via uvx (Support get balance / place order by API key)

Configure your MCP client (e.g., Claude Desktop) with the following JSON:

```json
{
  "mcpServers": {
    "coinex": {
      "command": "uvx",
      "args": ["coinex-mcp-server"],
      "env": {
        "COINEX_ACCESS_ID": "your_access_id_here",
        "COINEX_SECRET_KEY": "your_secret_key_here"
      }
    }
  }
}
```

### HTTP Mode Deployment by source code
* install 
`pip install coinex-mcp-server`

* start the server in HTTP mode:
```bash
python -m coinex_mcp_server.main --transport http --host 127.0.0.1 --port 8000 --path /mcp --enable-http-auth
```
Pass credentials via HTTP headers:
- `X-CoinEx-Access-Id: <your_access_id>`
- `X-CoinEx-Secret-Key: <your_secret_key>`

## Usage Examples

- **Get Market Tickers**: `list_markets(market_type="spot")` or `get_tickers(symbol="BTCUSDT")`
- **Query Order Book**: `get_orderbook(symbol="BTCUSDT", limit=20)`
- **Check Account Balance**: `get_account_balance()`
- **Place Order**: `place_order(symbol="BTCUSDT", side="buy", type="limit", amount="0.01", price="50000")`

## Security Notes

⚠️ **Important**: 
- Never expose HTTP authentication in public services
- Deploy with HTTPS/TLS in production environments

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** devops-ci
- **Updated:** 2026-05-10

## Source

- **Source listing:** [Smithery](https://smithery.ai/server/helix-song/coinex_mcp_server)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "helix-song-coinex-mcp-server"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/helix-song-coinex-mcp-server` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/helix-song-coinex-mcp-server/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
