Gainium MCP server
{
"mcpServers": {
"gainium": {
"command": "npx",
"args": [
"-y",
"gainium-mcp@latest"
],
"env": {
"GAINIUM_MCP_PUBLIC_URL": "https://...",
"MCP_INTROSPECTION_SECRET": "<mcp_introspection_secret>",
"GAINIUM_INTROSPECTION_URL": "https://...",
"GAINIUM_MCP_HOST": "<gainium_mcp_host>",
"GAINIUM_API_KEY": "<gainium_api_key>",
"GAINIUM_API_SECRET": "<gainium_api_secret>"
}
}
}
}{
"mcpServers": {
"gainium": {
"command": "npx",
"args": [
"-y",
"gainium-mcp@latest"
],
"env": {
"GAINIUM_MCP_PUBLIC_URL": "https://...",
"MCP_INTROSPECTION_SECRET": "<mcp_introspection_secret>",
"GAINIUM_INTROSPECTION_URL": "https://...",
"GAINIUM_MCP_HOST": "<gainium_mcp_host>",
"GAINIUM_API_KEY": "<gainium_api_key>",
"GAINIUM_API_SECRET": "<gainium_api_secret>"
}
}
}
}{
"mcpServers": {
"gainium": {
"command": "npx",
"args": [
"-y",
"gainium-mcp@latest"
],
"env": {
"GAINIUM_MCP_PUBLIC_URL": "https://...",
"MCP_INTROSPECTION_SECRET": "<mcp_introspection_secret>",
"GAINIUM_INTROSPECTION_URL": "https://...",
"GAINIUM_MCP_HOST": "<gainium_mcp_host>",
"GAINIUM_API_KEY": "<gainium_api_key>",
"GAINIUM_API_SECRET": "<gainium_api_secret>"
}
}
}
}{
"servers": {
"gainium": {
"command": "npx",
"args": [
"-y",
"gainium-mcp@latest"
],
"env": {
"GAINIUM_MCP_PUBLIC_URL": "${input:gainium_mcp_public_url}",
"MCP_INTROSPECTION_SECRET": "${input:mcp_introspection_secret}",
"GAINIUM_INTROSPECTION_URL": "${input:gainium_introspection_url}",
"GAINIUM_MCP_HOST": "${input:gainium_mcp_host}",
"GAINIUM_API_KEY": "${input:gainium_api_key}",
"GAINIUM_API_SECRET": "${input:gainium_api_secret}"
}
}
},
"inputs": [
{
"id": "gainium_mcp_public_url",
"type": "promptString",
"description": "Gainium mcp public url",
"password": true
},
{
"id": "mcp_introspection_secret",
"type": "promptString",
"description": "Mcp introspection secret",
"password": true
},
{
"id": "gainium_introspection_url",
"type": "promptString",
"description": "Gainium introspection url",
"password": true
},
{
"id": "gainium_mcp_host",
"type": "promptString",
"description": "Gainium mcp host",
"password": true
},
{
"id": "gainium_api_key",
"type": "promptString",
"description": "Gainium api key",
"password": true
},
{
"id": "gainium_api_secret",
"type": "promptString",
"description": "Gainium api secret",
"password": true
}
]
}{
"mcpServers": {
"gainium": {
"command": "npx",
"args": [
"-y",
"gainium-mcp@latest"
],
"env": {
"GAINIUM_MCP_PUBLIC_URL": "https://...",
"MCP_INTROSPECTION_SECRET": "<mcp_introspection_secret>",
"GAINIUM_INTROSPECTION_URL": "https://...",
"GAINIUM_MCP_HOST": "<gainium_mcp_host>",
"GAINIUM_API_KEY": "<gainium_api_key>",
"GAINIUM_API_SECRET": "<gainium_api_secret>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y gainium-mcpversion 3.3.0
What it does
MCP server for Gainium crypto trading bot platform. Exposes tools to manage trading bots, deals, balances, and positions via AI assistants connected to your Gainium account.
- Query balance, equity, and open positions across your trading account.
- List, create, update, and delete trading bots (DCA, combo, grid strategies).
- Manage active deals, apply market orders, and adjust bot parameters through natural language.
Tools this server exposes
| Tool | Does |
|---|---|
| list_bots | List trading bots filtered by type (dca, combo, grid) with optional search and pagination. |
| get_bot_info | Retrieve detailed information about a specific bot including status and configuration. |
| create_bot | Create a new trading bot with specified type and parameters. |
| update_bot | Update bot settings and configuration. |
| delete_bot | Delete a trading bot. |
| start_bot | Start a bot. |
| stop_bot | Stop a bot. |
| list_deals | List active deals for a bot filtered by status. |
| get_deal_info | Get details about a specific deal. |
| execute_deal_action | Execute an action on a deal (sell, market sell, buy, update take profit/stop loss). |
| get_balance | Retrieve account balance information. |
| get_equity | Get current equity and profit/loss summary. |
| get_open_positions | List all open positions in your account. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.