gate-mcp-codex-installer

One-click installer for Gate MCP and all Gate Skills in Codex. 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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gate-mcp-codex-installer" with this command: npx skills add gate/gate-skills/gate-gate-skills-gate-mcp-codex-installer

Gate One-Click Installer (Codex: MCP + Skills)

Use this skill when the user says "one-click install Gate", "install Gate MCP and skills", "Codex install gate-mcp", etc., and is using Codex.

Resources

TypeNameEndpoint / Config
MCPGate (main)npx -y gate-mcp, see gate-mcp
MCPGate Dexhttps://api.gatemcp.ai/mcp/dex, fixed x-api-key
MCPGate Infohttps://api.gatemcp.ai/mcp/info
MCPGate Newshttps://api.gatemcp.ai/mcp/news
Skillsgate-skillshttps://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, dex, info, news) + all gate-skills.
  2. Selectable MCPs: Users can choose to install only specific MCPs (e.g. main only, dex only, etc.); 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, dex, info, news.
  • If the user specifies "only install xxx" -> install only the specified MCPs.

2. Write Codex MCP Config

  • User-level config: ~/.codex/config.toml (or $CODEX_HOME/config.toml). Creates the file and writes [mcp_servers] with corresponding tables if it does not exist.
  • If it already exists, merge: only append Gate MCP sections that don't already exist; do not overwrite existing config.
  • Config details:
    • Gate (main): stdio, command = "npx", args = ["-y", "gate-mcp"]
    • gate-dex: streamable HTTP, url + http_headers["x-api-key"] fixed as MCP_AK_8W2N7Q + http_headers["Authorization"] = Bearer ${GATE_MCP_TOKEN}
    • gate-info / gate-news: streamable HTTP, url

3. Install gate-skills (all)

  • Pull all subdirectories under skills/ from https://github.com/gate/gate-skills and copy them to $CODEX_HOME/skills/ (default ~/.codex/skills/).
  • 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 restart Codex to load MCP servers and skills.
  • 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 config.toml.

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

gate-exchange-futures

No summary provided by upstream source.

Repository SourceNeeds Review
-39
gate
Research

gate-exchange-marketanalysis

No summary provided by upstream source.

Repository SourceNeeds Review
-38
gate
General

gate-exchange-spot

No summary provided by upstream source.

Repository SourceNeeds Review
-38
gate