gate-mcp-installer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Gate MCP Installer

Gate MCP 安装器

One-click setup for Gate MCP (mcporter) in OpenClaw.
OpenClaw中Gate MCP(mcporter)的一键设置工具。

Quick Start

快速开始

To set up Gate MCP, run the install script:
bash
bash ~/.openclaw/skills/gate-mcp-installer/scripts/install-gate-mcp.sh
Or execute the skill directly and I will guide you through the installation.
要设置Gate MCP,请运行安装脚本:
bash
bash ~/.openclaw/skills/gate-mcp-installer/scripts/install-gate-mcp.sh
或者直接执行该skill,我会引导你完成安装。

What This Skill Does

本Skill的功能

This skill automates the complete Gate MCP setup process:
  1. Installs mcporter CLI globally via npm
  2. Configures Gate MCP server with proper endpoint
  3. Verifies connectivity by listing available tools
  4. Provides usage examples for common queries
本Skill可自动化完成完整的Gate MCP设置流程:
  1. 通过npm全局安装mcporter CLI
  2. 配置Gate MCP服务器的正确端点
  3. 通过列出可用工具验证连接性
  4. 提供常见查询的使用示例

Manual Installation Steps (if script fails)

手动安装步骤(若脚本失败)

Step 1: Install mcporter

步骤1:安装mcporter

bash
npm i -g mcporter
bash
npm i -g mcporter

Or verify installation

或验证安装

npx mcporter --version
undefined
npx mcporter --version
undefined

Step 2: Configure Gate MCP

步骤2:配置Gate MCP

bash
mcporter config add gate https://api.gatemcp.ai/mcp --scope home
bash
mcporter config add gate https://api.gatemcp.ai/mcp --scope home

Step 3: Verify Configuration

步骤3:验证配置

bash
undefined
bash
undefined

Check config is written

检查配置是否已写入

mcporter config get gate
mcporter config get gate

List available tools

列出可用工具

mcporter list gate --schema

If tools are listed, Gate MCP is ready to use!
mcporter list gate --schema

如果工具列表成功显示,说明Gate MCP已准备就绪!

Common Usage Examples

常见使用示例

After installation, use Gate MCP with queries like:
  • "check BTC/USDT price"
  • "use gate mcp to analyze SOL"
  • "what arbitrage opportunities are there on Gate?"
  • "check ETH funding rate"
安装完成后,可通过以下查询使用Gate MCP:
  • "查询BTC/USDT价格"
  • "使用Gate MCP分析SOL"
  • "Gate平台上有哪些套利机会?"
  • "查询ETH资金费率"

Troubleshooting

故障排查

IssueSolution
command not found: mcporter
Run
npm i -g mcporter
Config not foundRun the config add command again
Connection timeoutCheck internet connection to fulltrust.link
No tools listedVerify config URL is correct
问题解决方案
command not found: mcporter
运行
npm i -g mcporter
未找到配置重新运行配置添加命令
连接超时检查与fulltrust.link的网络连接
未列出工具验证配置URL是否正确

Resources

资源

  • Install Script:
    scripts/install-gate-mcp.sh
    - Automated one-click installer
  • 安装脚本
    scripts/install-gate-mcp.sh
    - 自动化一键安装器