Gate One-Click Installer (Claude Code: MCP + Skills)
Use this skill when the user says "one-click install Gate", "install Gate MCP and skills", "Claude install gate-mcp", etc., and is using Claude Code (Claude CLI).
Resources
Behavior Rules
- Default: When the user does not specify which MCPs to install, install all MCPs (main, dex, info, news) + all gate-skills.
- Selectable MCPs: Users can choose to install only specific MCPs (e.g. main only, dex only, etc.); follow the user's selection.
- Skills: Unless
--no-skills is passed, always install all skills from the gate-skills repository's skills/ directory.
Installation Steps
1. Confirm User Selection (MCPs)
- If the user does not specify which MCPs -> install all: main, dex, info, news.
- If the user specifies "only install xxx" -> install only the specified MCPs.
2. Write Claude Code MCP Config
- User-level config:
~/.claude.json (Windows: %USERPROFILE%\.claude.json). If using directory format, use the corresponding config under ~/.claude/.
- If it already exists, merge into the existing
mcpServers; do not overwrite other MCPs.
- Config details:
- Gate (main): stdio,
command: npx, args: ["-y", "gate-mcp"]
- Gate-Dex: http,
url + headers["x-api-key"] fixed as MCP_AK_8W2N7Q + headers["Authorization"] = Bearer ${GATE_MCP_TOKEN}
- Gate-Info / Gate-News: http,
url
3. Install gate-skills (all)
- Pull all subdirectories under skills/ from https://github.com/gate/gate-skills and copy them to
~/.claude/skills/ (or the corresponding directory for the current environment).
- Add
--no-skills when using the script to install MCP only without skills.
4. Post-Installation Prompt
- Inform the user of the installed MCP list and "all gate-skills have been installed" (unless --no-skills was used).
- Prompt to reopen Claude Code or start a new session to load the MCPs.
- Getting API Key: If the user uses Gate (main) for spot/futures trading, prompt them to visit https://www.gate.com/myaccount/profile/api-key/manage to create an API Key and set
GATE_API_KEY and GATE_API_SECRET.
- Gate-Dex Authorization: If Gate-Dex was installed and a query returns an authorization required message, prompt the user to first open https://web3.gate.com/ to create or bind a wallet, then the assistant will return a clickable Google authorization link for the user to complete OAuth.
Script
Use the scripts/install.sh in this skill directory for one-click installation.
- Usage:
./scripts/install.sh [--mcp main|dex|info|news] ... [--no-skills]
Installs all MCPs when no --mcp is passed; pass multiple --mcp to install only specified ones; --no-skills installs MCP only.
- The DEX x-api-key is fixed as
MCP_AK_8W2N7Q and written to the config.
After downloading this skill from GitHub, run from the repository root:
bash skills/gate-mcp-claude-installer/scripts/install.sh
Or (MCP only):
bash skills/gate-mcp-claude-installer/scripts/install.sh --no-skills
1---2name: gate-mcp-claude-installer3description: One-click installer for Gate MCP and all Gate Skills in Claude Code (Claude CLI). Installs Gate MCP servers (main/dex/info/news, selectable) and all skills from the gate-skills repository. Installs all MCPs + all skills by default; skills are always fully installed.4---56# Gate One-Click Installer (Claude Code: MCP + Skills)78Use this skill when the user says "one-click install Gate", "install Gate MCP and skills", "Claude install gate-mcp", etc., and is using **Claude Code (Claude CLI)**.910## Resources1112| Type | Name | Endpoint / Config |13|------|------|-------------------|14| MCP | Gate (main) | `npx -y gate-mcp`, see [gate-mcp](https://github.com/gate/gate-mcp) |15| MCP | Gate Dex | https://api.gatemcp.ai/mcp/dex, fixed x-api-key |16| MCP | Gate Info | https://api.gatemcp.ai/mcp/info |17| MCP | Gate News | https://api.gatemcp.ai/mcp/news |18| Skills | gate-skills | https://github.com/gate/gate-skills (installs all under skills/) |1920## Behavior Rules21221. **Default**: When the user does not specify which MCPs to install, install **all MCPs** (main, dex, info, news) + **all gate-skills**.232. **Selectable MCPs**: Users can choose to install only specific MCPs (e.g. main only, dex only, etc.); follow the user's selection.243. **Skills**: Unless `--no-skills` is passed, always install **all** skills from the gate-skills repository's **skills/** directory.2526## Installation Steps2728### 1. Confirm User Selection (MCPs)2930- If the user does not specify which MCPs -> install all: main, dex, info, news.31- If the user specifies "only install xxx" -> install only the specified MCPs.3233### 2. Write Claude Code MCP Config3435- User-level config: `~/.claude.json` (Windows: `%USERPROFILE%\.claude.json`). If using directory format, use the corresponding config under `~/.claude/`.36- If it already exists, **merge** into the existing `mcpServers`; do not overwrite other MCPs.37- Config details:38 - **Gate (main)**: stdio, `command: npx`, `args: ["-y", "gate-mcp"]`39 - **Gate-Dex**: http, `url` + `headers["x-api-key"]` fixed as MCP_AK_8W2N7Q + `headers["Authorization"]` = `Bearer ${GATE_MCP_TOKEN}`40 - **Gate-Info / Gate-News**: http, `url`4142### 3. Install gate-skills (all)4344- Pull all subdirectories under **skills/** from https://github.com/gate/gate-skills and copy them to `~/.claude/skills/` (or the corresponding directory for the current environment).45- Add `--no-skills` when using the script to install MCP only without skills.4647### 4. Post-Installation Prompt4849- Inform the user of the installed MCP list and "all gate-skills have been installed" (unless --no-skills was used).50- Prompt to reopen Claude Code or start a new session to load the MCPs.51- **Getting API Key**: If the user uses Gate (main) for spot/futures trading, prompt them to visit https://www.gate.com/myaccount/profile/api-key/manage to create an API Key and set `GATE_API_KEY` and `GATE_API_SECRET`.52- **Gate-Dex Authorization**: If Gate-Dex was installed and a query returns an authorization required message, prompt the user to first open https://web3.gate.com/ to create or bind a wallet, then the assistant will return a clickable Google authorization link for the user to complete OAuth.5354## Script5556Use the **scripts/install.sh** in this skill directory for one-click installation.5758- Usage: 59 `./scripts/install.sh [--mcp main|dex|info|news] ... [--no-skills]` 60 Installs all MCPs when no `--mcp` is passed; pass multiple `--mcp` to install only specified ones; `--no-skills` installs MCP only.61- The DEX x-api-key is fixed as `MCP_AK_8W2N7Q` and written to the config.6263After downloading this skill from GitHub, run from the repository root: 64`bash skills/gate-mcp-claude-installer/scripts/install.sh` 65Or (MCP only): 66`bash skills/gate-mcp-claude-installer/scripts/install.sh --no-skills`