SuperAPIAI Directory

gainium-mcp

github.com · AI developer platforms

🎖️ 📇 ☁️ 🏠 - Manage Gainium DCA, Combo and Grid trading bots: bots, deals, balances, backtests, the crypto screener and strategy presets.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose: To provide an MCP server for the Gainium cryptocurrency trading bot platform, allowing AI assistants to manage users' bots (DCA, Combo, Grid), trades, balances, backtests, crypto screeners, and strategy presets through a standard MCP interface.

Main capabilities: Provides 17 tools (merged by operation starting from v3.0.0, using botType/dealType/action discriminator parameters), covering discovery, account and market queries, creating/updating bots, cloning bots, managing trades and global variables, applying presets, running backtests, retrieving screeners and preset lists, etc. All GET endpoints support the fields parameter (minimal, standard, extended, full, or custom dot-notation fields; minimal can reduce payload by about 85%). Read-only tools have readOnlyHint, and write tools have destructiveHint safety annotations.

Usage: First create an API key pair in Gainium API Settings, then add it to the MCP client configuration (such as VS Code, Claude Desktop); the server will start automatically when the AI assistant needs it. Supports three deployment modes: local stdio mode (reads the environment variables GAINIUM_API_KEY and GAINIUM_API_SECRET), OAuth 2.1 hosted mode (recommended for hosted/public scenarios, requires a Bearer token, used for public https://mcp.gainium.io/mcp endpoints and the Claude connector directory), and legacy/self-hosted header mode (sends X-API-Key and X-API-Secret with each request). In HTTP mode, it also exposes /mcp (Streamable HTTP) and /sse, POST /messages?sessionId=... (legacy HTTP+SSE). For detailed setup, see the repository docs/using-gainium-mcp.md.

Permissions and limitations: Read-only keys can only use read-type tools; write keys can be used for all tools. In OAuth mode, when GAINIUM_MCP_PUBLIC_URL is set, RFC 8707 token audience binding is performed, and tokens for different resources cannot be used interchangeably; the read-only directory connector exposes only 9 read-only tools, excluding backtesting and all write tools. When OAuth is enabled, X-API-Key / X-API-Secret headers are ignored. The local stdio path is not affected by the relevant OAuth variables. Other details not described in the materials are not provided for now.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools