Gate Exchange MCP — Claude Code MCP server: how to install
Connects Gate crypto exchange endpoints to AI agents for trading and analytics. It lets tools inspect wallet balances and execute exchange orders over HTTP.
claude mcp add --transport http gate-exchange https://api.gatemcp.ai/mcp/exchangeWhat Gate Exchange MCP 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.
What it helps with
- 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 for the agent
- 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
How to install Gate Exchange MCP
Platform CLI: remote server
claude mcp add --transport http gate-exchange https://api.gatemcp.ai/mcp/exchangePlatform CLI: remote server
codex mcp add gate-exchange-mcp --url https://api.gatemcp.ai/mcp/exchangeConfig file
{
"mcpServers": {
"gate-exchange-mcp": {
"url": "https://api.gatemcp.ai/mcp/exchange"
}
}
}Config file
{
"servers": {
"gate-exchange-mcp": {
"type": "http",
"url": "https://api.gatemcp.ai/mcp/exchange"
}
}
}Platform CLI: remote server
gemini mcp add -t http gate-exchange-mcp https://api.gatemcp.ai/mcp/exchangeStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Gate Exchange MCP
How do I install Gate Exchange MCP in Claude Code?
Run claude mcp add --transport http gate-exchange https://api.gatemcp.ai/mcp/exchange in your terminal. You will need Gate OAuth2 authorization to interact with private trading tools.
What does Gate Exchange MCP do?
The server connects your assistant to Gate exchange operations, allowing market monitoring, balance checks, and direct order placement.
Do I need a Gate account to fetch market data?
No, public market endpoints do not require an account or login; you can query https://api.gatemcp.ai/mcp directly. OAuth2 login is only needed on /mcp/exchange for trading and wallet access.