# Gate Exchange MCP

Connects Gate crypto exchange endpoints to AI agents for trading and analytics. It lets tools inspect wallet balances and execute exchange orders over HTTP.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 44
- Author: gate
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/gate/gate-mcp
- Updated: 2026-09-10
- HTML: https://affpapa.org/en/nevibecode/mcp/gate-exchange-mcp

## What it does

The server links an AI agent to Gate exchange infrastructure using the MCP protocol over streamable HTTP. Its primary trading endpoint at `https://api.gatemcp.ai/mcp/exchange` includes over 400 tools. Through this interface, agents inspect balances and submit spot orders.

Gate splits its capabilities across distinct endpoints. General market data on `/mcp` requires no credentials at all. News feeds stay open as well. However, private operations demand Gate OAuth2 authorization. Without granting explicit scopes, trading tools and wallet transfers will fail.

## Requirements
- Remote server: `https://api.gatemcp.ai/mcp/exchange`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http gate-exchange https://api.gatemcp.ai/mcp/exchange
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add gate-exchange-mcp --url https://api.gatemcp.ai/mcp/exchange
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "gate-exchange-mcp": {
            "url": "https://api.gatemcp.ai/mcp/exchange"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "gate-exchange-mcp": {
            "type": "http",
            "url": "https://api.gatemcp.ai/mcp/exchange"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http gate-exchange-mcp https://api.gatemcp.ai/mcp/exchange
```

## When to use it
- Query order books and candlestick charts without exchange credentials
- Create and cancel spot or futures orders through an AI agent
- Check unified account and sub-account balances
- Transfer assets between internal wallet accounts

## Example prompts
- Check the current balance on my unified Gate account
- Fetch the order book for the BTC_USDT spot pair from Gate
- Cancel my open limit orders on the Gate spot market

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [CCXT](https://affpapa.org/en/nevibecode/mcp/ccxt.md) — MCP server · ★ 44583
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5458
- [EdgarTools](https://affpapa.org/en/nevibecode/mcp/edgartools.md) — MCP server · ★ 2814
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2188
- [AutoTS](https://affpapa.org/en/nevibecode/mcp/autots.md) — MCP server · ★ 1434

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
