Gate MCP
Complete Gate.com MCP server installer for OpenClaw.
Quick Start
# Install all Gate MCP servers (default)
./scripts/install.sh
# Selective installation
./scripts/install.sh --select
MCP Servers
| Server | Endpoint | Auth | Description |
|---|---|---|---|
gate | npx -y gate-mcp | API Key + Secret | Spot/Futures/Options trading |
gate-wallet | https://api.gatemcp.ai/mcp/wallet | x-api-key | Wallet operations |
gate-info | https://api.gatemcp.ai/mcp/info | None | Market data |
gate-news | https://api.gatemcp.ai/mcp/news | None | News feed |
Installation Modes
1. Install All (Default)
./scripts/install.sh
Installs all 4 servers. Prompts for API credentials when needed.
2. Selective Install
./scripts/install.sh --select
# or
./scripts/install.sh -s
Interactive menu to choose specific server.
Common Commands
# Market data (no auth)
mcporter call gate-info.list_tickers currency_pair=BTC_USDT
mcporter call gate-news.list_news
# Trading (requires auth)
mcporter call gate.list_spot_accounts
mcporter call gate.list_tickers currency_pair=ETH_USDT
# Wallet (requires auth)
mcporter call gate-wallet.list_balances
API Configuration
Getting API Keys
- Visit https://www.gate.com/myaccount/profile/api-key/manage
- Create API key with permissions:
- Read - Market data, account info
- Trade - Spot/Margin/Futures trading
- Withdraw - Wallet operations
Storing Credentials
The installer securely stores credentials in mcporter config.
Troubleshooting
mcporter not found
npm install -g mcporter
Connection failed
- Verify API keys are correct
- Check network connectivity
- Ensure mcporter daemon is running:
mcporter daemon status