Cursor Setup Guide
March 12, 2026 · View on GitHub
Method 1: One-click Install
In the AI chat, type:
Help me auto install Gate Skills and MCPs: https://github.com/gateio/gate-skills

Method 2: Manual Configuration
Gate MCP provides two endpoints. Choose based on your needs:
| Endpoint | Auth | Use Case |
|---|---|---|
https://api.gatemcp.ai/mcp | None | Market data only (tickers, order books, K-line, etc.) |
https://api.gatemcp.ai/mcp/exchange | OAuth2 | Full access (trading, balances, transfers — OAuth login on connect) |
Step 1: Open Cursor Settings
Navigate to Settings → Tools & MCP → Add Custom MCP

Step 2: Edit MCP Configuration
Edit your mcp.json file.
For full trading (OAuth on connect):
{
"mcpServers": {
"Gate": {
"url": "https://api.gatemcp.ai/mcp/exchange",
"transport": "streamable-http",
"headers": {
"Content-Type": "application/json",
"Accept": "application/json, text/event-stream"
}
}
}
}
For market data only (no auth):
{
"mcpServers": {
"Gate": {
"url": "https://api.gatemcp.ai/mcp",
"transport": "streamable-http",
"headers": {
"Content-Type": "application/json",
"Accept": "application/json, text/event-stream"
}
}
}
}
For DEX (on-chain wallet, swap):
{
"mcpServers": {
"Gate-Dex": {
"url": "https://api.gatemcp.ai/mcp/dex",
"headers": {
"x-api-key": "MCP_AK_8W2N7Q",
"Authorization": "Bearer ${GATE_MCP_TOKEN}"
}
}
}
}
For Info & News (no auth):
{
"mcpServers": {
"Gate-Info": {
"url": "https://api.gatemcp.ai/mcp/info"
},
"Gate-News": {
"url": "https://api.gatemcp.ai/mcp/news"
}
}
}

Step 3: Start Using
Open Cursor AI chat and try:
- "What is the current price of BTC/USDT?"
- "Show me the order book for ETH/USDT"
- "Get the 1-hour K-line data for SOL/USDT"

Troubleshooting
Connection Issues
- Check your internet connection
- Verify the MCP server URL is correct
- Check Cursor's MCP logs for errors
Tools Not Available
- Ensure the MCP configuration is saved correctly
- Restart Cursor
- Check if the MCP server is accessible
Next Steps
- Explore all available tools
- Learn about futures market tools
- Check the API documentation