← 返回 Skills 市场
gate-exchange

Gate Cursor One-Click Installer (MCP + Skills)

作者 Gate · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
314
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install gate-mcp-cursor-installer
功能描述
Gate MCP and Gate skills installer for Cursor. Use when the user asks to set up Gate trading or research tools in Cursor. Triggers on 'install Gate MCP Curso...
使用说明 (SKILL.md)

Gate One-Click Installer (Cursor: 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 preflight checks, config merge policy, and install verification.

CEX MCP modes

See gate-mcp: Local = stdio npx -y gate-mcp (API keys); Remote Public = https://api.gatemcp.ai/mcp (no auth); Remote Exchange = https://api.gatemcp.ai/mcp/exchange (Gate OAuth2). Tool naming differs between Local (abbrev) and Remote (cex_*); use each server's tools/list.

Resources

Type Name Endpoint / Config
MCP Gate (main) command: npx, args: ["-y", "gate-mcp"], optional env
MCP gate-cex-pub (cex-public) url + transport: streamable-http only (no headers)
MCP gate-cex-ex (cex-exchange) url + transport: streamable-http only; OAuth2 when prompted
MCP Gate-Dex (dex) url, transport: streamable-http, x-api-key + Bearer
MCP Gate-Info (info) url, transport: streamable-http
MCP Gate-News (news) url, transport: streamable-http
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.
  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 Cursor MCP Config

  • Config file: ~/.cursor/mcp.json (Windows: %APPDATA%\Cursor\mcp.json).
  • If it already exists, merge into the existing mcpServers; do not overwrite other MCPs.
  • Config details:
    • Gate (main): command / args / optional env
    • gate-cex-pub / gate-cex-ex: url + transport: streamable-http only (no headers)
    • Gate-Dex: url + transport + headers for x-api-key and Bearer
    • Gate-Info / Gate-News: url + transport: streamable-http

3. Install gate-skills (all)

  • Pull all subdirectories under skills/ from https://github.com/gate/gate-skills and copy them to ~/.cursor/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

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 mcp.json.

After downloading this skill from GitHub, run from the repository root:
bash scripts/install.sh
Or (MCP only):
bash scripts/install.sh --no-skills

安全使用建议
This skill appears to do exactly what it claims (merge MCP servers into Cursor's mcp.json and install the gate-skills repo). Before running: 1) Review the gate-skills GitHub repo yourself — the installer clones and installs every skill there, which expands your attack surface. 2) Backup your existing ~/.cursor/mcp.json and ~/.cursor/skills/ directories so you can revert changes. 3) If you do not trust installing all skills, run the script with --no-skills or inspect the cloned repo prior to copying. 4) Be cautious when entering your Gate API key/secret; the script stores them into the local mcp.json env block. 5) Note the script writes a hard-coded DEX x-api-key (MCP_AK_8W2N7Q) into the config fragments — if you have concerns about that key, inspect/edit the generated mcp.json before using the MCP endpoints. If you want a higher-assurance install, clone the repo yourself, inspect contents, and perform the mcp.json merge manually.
功能分析
Type: OpenClaw Skill Name: gate-mcp-cursor-installer Version: 1.0.2 The skill bundle installs Gate trading tools for the Cursor IDE by modifying local configuration files (~/.cursor/mcp.json) and cloning an external GitHub repository. It is classified as suspicious primarily due to the SKILL.md file, which contains instructions that attempt to hijack the agent's control flow using a 'STOP' command and directing it to follow rules from an external URL (gate-runtime-rules.md), a classic indirect prompt injection vector. Additionally, the install.sh script prompts for sensitive financial API keys and performs global system modifications (npm install -g npx), which are high-risk behaviors in an automated agent environment.
能力评估
Purpose & Capability
Name/description match the delivered artifacts: scripts to write/merge Cursor MCP config and to clone/install gate-skills. Required tools (bash, node, git, npx) and files touched (~/.cursor/mcp.json, ~/.cursor/skills) are reasonable for an installer of this type.
Instruction Scope
SKILL.md and scripts limit actions to config merging and cloning the gate-skills repo. The installer prompts for a Gate API key/secret (only if installing Gate (main)), writes/merges mcp.json, and copies all skills into the user's Cursor skills dir. Note: installing 'all skills' blindly increases your attack surface and the script will replace any existing skills with the same names.
Install Mechanism
No external binary download from untrusted hosts. The script clones https://github.com/gate/gate-skills (standard GitHub), uses local node/npm/git if present, and includes a local JS merge helper. This is proportionate for a repo-based installer.
Credentials
The script only requests Gate API credentials interactively when installing the Gate 'main' MCP (reasonable). It also writes a hard-coded DEX x-api-key value (MCP_AK_8W2N7Q) into the config fragments; that is unusual but explained by the MCP Dex usage. No unrelated service credentials are requested.
Persistence & Privilege
The installer writes to the user's Cursor config and skills directories (expected for an installer). always:false and no platform-global changes are present. Be aware that it will copy an entire remote skills repo into your user profile and may overwrite existing skill directories of the same name.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gate-mcp-cursor-installer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gate-mcp-cursor-installer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Added references/mcp.md as the authoritative source for execution, preflight, and verification steps. - Updated SKILL.md to clarify product scope, behavior, and install rules; user and installer should strictly follow references/mcp.md for workflow. - SKILL.md description reworded for clearer trigger phrases and purpose. - No changes to install script or user-facing flow; installer workflow and config merge/check logic are now separated for maintainability.
v1.0.1
- Added support for new CEX MCP modes: local (stdio), remote public, and remote exchange (OAuth2). - Installation script and documentation updated to allow selective installation of new MCPs (`main`, `cex-public`, `cex-exchange`, `dex`, `info`, `news`). - MCP config fragments added for Cursor integration (including all CEX/Dex/Info/News endpoints). - Clarified behavior rules, naming, usage instructions, and post-install authentication guidance for each MCP type. - Included merge logic for existing Cursor MCP config and improved multi-MCP selection. - Full upstream resource and runtime rules check added to SKILL.md documentation.
v1.0.0
Initial release — one-click installer for Gate MCP servers and all Gate skills in Cursor. - Installs all Gate MCP servers (main, dex, info, news) and all gate-skills by default. - Supports selecting specific MCPs for installation. - Fully installs all skills from the gate-skills repository unless `--no-skills` is specified. - Updates or merges Cursor MCP configuration without overwriting existing MCPs. - Guides users post-installation, including API key setup and authorization steps.
元数据
Slug gate-mcp-cursor-installer
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Gate Cursor One-Click Installer (MCP + Skills) 是什么?

Gate MCP and Gate skills installer for Cursor. Use when the user asks to set up Gate trading or research tools in Cursor. Triggers on 'install Gate MCP Curso... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 314 次。

如何安装 Gate Cursor One-Click Installer (MCP + Skills)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gate-mcp-cursor-installer」即可一键安装,无需额外配置。

Gate Cursor One-Click Installer (MCP + Skills) 是免费的吗?

是的,Gate Cursor One-Click Installer (MCP + Skills) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gate Cursor One-Click Installer (MCP + Skills) 支持哪些平台?

Gate Cursor One-Click Installer (MCP + Skills) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gate Cursor One-Click Installer (MCP + Skills)?

由 Gate(@gate-exchange)开发并维护,当前版本 v1.0.2。

💬 留言讨论