| name | gatedata-mcp-installer |
| version | 2026.7.13 |
| updated | 2026-07-13 |
| description | One-click installer for GateData MCP and agent skills on Cursor, Claude Code, or Codex. Triggers on 'install GateData MCP', 'setup GateData Cursor', 'GateData skills', '接入 GateData', '安装 GateData MCP', 'GateData agent'. |
GateData MCP Installer
General Rules
⚠️ STOP — Read gatedata-runtime-rules.md before proceeding.
- Only call MCP tools documented in domain skills. Undocumented tools must NOT be called without user intent.
- Never echo API keys in chat or installer output.
MCP Dependencies
Required MCP Server (after install)
| MCP Server | Endpoint |
|---|
GateData | https://mcp.gatedata.ai/mcp |
API Key Prerequisites
Create a production key at gatedata.ai:
| Setting | Required |
|---|
enable_mcp | ✅ |
| scopes | markets, prediction, signals (as needed) |
Installation Check
- Run the installer script (preferred), or guide the user to run it.
- If multiple clients exist on one machine (Cursor + Claude), the script requires
--platform.
Execution
Read and follow references/mcp.md, then run:
bash skills/gatedata-mcp-installer/scripts/install.sh --platform cursor
Flags
| Flag | Meaning |
|---|
--platform | cursor | claude | codex |
--mode | remote (default, Streamable HTTP) | stdio (gatedata mcp-bridge) |
--api-key | gd_live_* |
--gatedata-bin | Path to gatedata binary (stdio mode) |
--no-skills | MCP config only |
--skills-only | Sync skills only; no MCP changes |
--dry-run | Preview without writing files |
--force-mcp | Update MCP even if GateData already configured |
Skills update check: bash scripts/sync-skills.sh --check
API key resolution
--api-key
GATEDATA_API_KEY env
- Existing MCP config GateData Bearer (Cursor/Claude JSON, Codex TOML) via
read-api-key.js
~/.gatedata/config.yaml
- Interactive prompt (hidden input; skipped with
--skills-only)
Platform matrix
| Platform | MCP config | Skills directory |
|---|
| Cursor | ~/.cursor/mcp.json | ~/.cursor/skills/ |
| Claude Code | ~/.claude.json → mcpServers | ~/.claude/skills/ |
| Codex | ~/.codex/config.toml | ~/.codex/skills/ |
Verification
After install and client restart:
- MCP panel shows
GateData
tools/list includes markets_get_snapshot, prediction_get_rankings, signals_search_news, etc.
- Test call: ask user "BTC 现价" — should route to
markets_get_snapshot
Resources
One-click prompts
中文:
帮我自动安装 GateData MCP:https://github.com/gate/gate-data-ai-agent
English:
Help me auto install GateData MCP: https://github.com/gate/gate-data-ai-agent