← Back to Skills Marketplace
gate-exchange

Gate Claude Code One-Click Installer (MCP + Skills)

by Gate · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
318
Downloads
1
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install gate-mcp-claude-installer
Description
Gate MCP and Gate skills installer for Claude Code (CLI). Use when the user asks to install Gate tools in Claude Code. Triggers on 'install Gate MCP Claude',...
README (SKILL.md)

Gate One-Click Installer (Claude Code: MCP + Skills)

General Rules

⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding. Do NOT select or call any tool until all rules are read. These rules have the highest priority. → Read gate-runtime-rules.md

  • Only call MCP tools explicitly listed in this skill. Tools not documented here must NOT be called, even if they exist in the MCP server.

MCP Dependencies

Required MCP Servers

MCP Server Status
Gate (main) ✅ Required
Gate-Dex ✅ Required
Gate-Info ✅ Required
Gate-News ✅ Required

Authentication

  • API Key Required: No

Installation Check

  • Required: Gate (main), Gate-Dex, Gate-Info, Gate-News
  • Install: Run installer skill for your IDE
    • Cursor: gate-mcp-cursor-installer
    • Codex: gate-mcp-codex-installer
    • Claude: gate-mcp-claude-installer
    • OpenClaw: gate-mcp-openclaw-installer

MCP Mode

Read and strictly follow references/mcp.md, then execute this installer workflow.

  • SKILL.md keeps product scope, install behavior, and user-facing guidance.
  • references/mcp.md is the authoritative execution layer for environment checks, config merge rules, and failure rollback guidance.

CEX MCP modes (read before configuring)

Aligned with gate-mcp documentation:

Mode What it is Auth Typical use
Local CEX stdio npx -y gate-mcp (npm package gate-mcp) Optional GATE_API_KEY / GATE_API_SECRET (public-only works without keys; set GATE_READONLY=true for read-only) Full local tool surface; tool names use abbreviations (fx, dc, ...) — see gate-mcp gate-local-mcp-tools doc
Remote CEX — Public https://api.gatemcp.ai/mcp None Public market data only (~58 tools, cex_* names)
Remote CEX — Exchange https://api.gatemcp.ai/mcp/exchange Gate OAuth2 (browser login) Private trading & account (~400+ tools); does not duplicate the full public market-data set — use Public remote or Local for market queries as needed

Non-CEX (same host): Dex (/mcp/dex, Google/Gate OAuth + fixed x-api-key), Info (/mcp/info), News (/mcp/news).

Resources

Type Name Endpoint / Config
MCP Gate (Local CEX, main) stdio npx -y gate-mcp, env GATE_API_KEY / GATE_API_SECRETgate-mcp
MCP gate-cex-pub (cex-public) https://api.gatemcp.ai/mcp, HTTP, type+url only (no headers), no auth
MCP gate-cex-ex (cex-exchange) https://api.gatemcp.ai/mcp/exchange, HTTP, type+url only; Gate OAuth2 on first use
MCP Gate-Dex (dex) https://api.gatemcp.ai/mcp/dex, fixed x-api-key + Authorization: Bearer ${GATE_MCP_TOKEN}
MCP Gate-Info (info) https://api.gatemcp.ai/mcp/info
MCP Gate-News (news) https://api.gatemcp.ai/mcp/news
Skills gate-skills https://github.com/gate/gate-skills (installs all under skills/)

Behavior Rules

  1. Default: When the user does not specify which MCPs to install, install all MCPs (main, cex-public, cex-exchange, dex, info, news) + all gate-skills.
  2. Selectable MCPs: Users can choose to install only specific MCPs; follow the user's selection (--mcp can be repeated).
  3. 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, cex-public, cex-exchange, 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"], optional env for API keys
    • gate-cex-pub: type: http, url only (remote CEX public; no extra headers)
    • gate-cex-ex: type: http, url for /mcp/exchange only; OAuth2 is completed in the client when prompted
    • Gate-Dex: http, url + headers["x-api-key"] = MCP_AK_8W2N7Q + 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.
  • Local API Key: If Gate (main) is used for trading via API keys, direct the user to https://www.gate.com/myaccount/profile/api-key/manage and set GATE_API_KEY / GATE_API_SECRET in the Gate entry env.
  • Remote Exchange OAuth2: If gate-cex-ex was installed, the user completes Gate OAuth2 in the browser when the client prompts (scopes: market, profile, trade, wallet, account).
  • 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 complete OAuth via the link the assistant provides.

Script

Use the scripts/install.sh in this skill directory for one-click installation.

  • Usage:
    ./scripts/install.sh [--mcp main|cex-public|cex-exchange|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

Usage Guidance
Before running this installer: 1) Backup your existing Claude config (~/.claude.json) and skills directory. 2) Consider running with --no-skills first to only update MCP entries, or pass specific --mcp options rather than accept the default 'install all'. 3) Inspect the gate-skills repository (https://github.com/gate/gate-skills) yourself to ensure you trust the code being copied into ~/.claude/skills. 4) Do not paste production API secrets unless you understand where they will be stored; the script will merge user-provided GATE_API_KEY/GATE_API_SECRET into your ~/.claude.json. 5) Note the hard-coded Gate-Dex x-api-key (MCP_AK_8W2N7Q) and the placeholder Authorization token; ask the author why these are required and where GATE_MCP_TOKEN is expected to be obtained. 6) If you are unsure, perform a dry run in a disposable environment or manually apply the JSON fragments to your config instead of running the script.
Capability Analysis
Type: OpenClaw Skill Name: gate-mcp-claude-installer Version: 1.0.2 The bundle is a functional installer for the Gate MCP ecosystem, designed to integrate cryptocurrency exchange and market data tools into Claude Code. The installation process in 'scripts/install.sh' and 'scripts/merge-mcp-config.js' involves modifying the local '~/.claude.json' configuration and cloning the 'gate-skills' repository from GitHub (https://github.com/gate/gate-skills.git). While the skill performs high-risk operations such as requesting API keys and executing remote packages via 'npx', these actions are explicitly documented and necessary for the stated purpose of setting up trading tools. The 'SKILL.md' file contains instructions for the AI agent to fetch runtime rules from a remote URL, which is a notable prompt-injection surface but appears to be a design choice for centralized policy management rather than a malicious exploit.
Capability Assessment
Purpose & Capability
The skill's name/description match the actual behavior: it writes MCP entries into Claude Code config and can install the gate-skills repository. Minor mismatch: the registry metadata lists no required binaries/env, but the included README and install script require bash, node (npx), and git. Those are reasonable for this installer but were not declared up-front.
Instruction Scope
SKILL.md and scripts instruct the agent (and the user) to merge JSON fragments into ~/.claude.json and to clone/copy the entire gate-skills repo into the user's ~/.claude/skills directory. Default behavior is to install ALL MCP slots and ALL skills unless --no-skills is passed. This is broader than a minimal installer (it places many third-party skill files on disk and will rm -rf existing per-skill directories when replacing them). The script also prompts for user API keys and writes them into the Gate entry env block if supplied.
Install Mechanism
Installation uses a bash script that git-clones https://github.com/gate/gate-skills and copies files into the user's Claude skills directory. Cloning a GitHub repo is a conventional install mechanism (moderate risk). There are no opaque downloads or remote archives from unknown hosts, but automatically installing everything from a remote repository increases the blast radius if the repo is compromised.
Credentials
No required env vars are declared in registry metadata, but the script optionally collects GATE_API_KEY / GATE_API_SECRET from the user and temporarily exports them to merge the config. The MCP fragments include a hard-coded x-api-key value (MCP_AK_8W2N7Q) for Gate-Dex and an Authorization template using ${GATE_MCP_TOKEN}; the origin/purpose of the token is not set/established by the installer. These auth values should be reviewed — the fixed x-api-key is unexpected and the placeholder token could be confusing.
Persistence & Privilege
The installer writes to user config (~/.claude.json), creates/modifies ~/.claude/skills/, and will remove and replace existing skill directories when installing. While this is expected for an installer, the default behavior to install all skills (and overwrite skill directories) without more granular user confirmation elevates its impact and could introduce unreviewed code into the user's agent environment.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gate-mcp-claude-installer
  3. After installation, invoke the skill by name or use /gate-mcp-claude-installer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Product/UX scope and installer workflow details in `SKILL.md` are now separated from execution rules, which have moved to a new authoritative reference: `references/mcp.md`. - Updated guidance: you must read and strictly follow `references/mcp.md` for environment checks, config merge, and rollback, before installer execution. - Clarified in the description typical triggers for this skill (e.g., "install Gate MCP Claude," "Gate skills Claude Code"). - No changes to installer steps, modes, or default behavior.
v1.0.1
- Added support for both local and remote Gate CEX MCPs, including public and exchange endpoints. - Expanded default install behavior to include six MCPs: main (local), cex-public, cex-exchange, dex, info, and news. - Provided individual JSON config fragments for each MCP to simplify merging with user Claude config. - Updated installation instructions, rules, and prompts for new MCP modes and authorization flows. - Added a merge-mcp-config.js script for improved and non-destructive MCP config updates.
v1.0.0
- Initial release of gate-mcp-claude-installer skill. - Provides a one-click installer for all Gate MCP servers (main, dex, info, news) and all Gate Skills for Claude Code (Claude CLI). - Allows users to select specific MCPs to install or install all by default. - Always installs all skills from the gate-skills repository unless `--no-skills` is specified. - Merges new MCPs into user's existing Claude config without overwriting other configurations. - Includes user prompts for post-installation steps, such as obtaining API keys and authorizing Gate-Dex if needed.
Metadata
Slug gate-mcp-claude-installer
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Gate Claude Code One-Click Installer (MCP + Skills)?

Gate MCP and Gate skills installer for Claude Code (CLI). Use when the user asks to install Gate tools in Claude Code. Triggers on 'install Gate MCP Claude',... It is an AI Agent Skill for Claude Code / OpenClaw, with 318 downloads so far.

How do I install Gate Claude Code One-Click Installer (MCP + Skills)?

Run "/install gate-mcp-claude-installer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Gate Claude Code One-Click Installer (MCP + Skills) free?

Yes, Gate Claude Code One-Click Installer (MCP + Skills) is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Gate Claude Code One-Click Installer (MCP + Skills) support?

Gate Claude Code One-Click Installer (MCP + Skills) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Gate Claude Code One-Click Installer (MCP + Skills)?

It is built and maintained by Gate (@gate-exchange); the current version is v1.0.2.

💬 Comments