elirox_bot_manager
Elirox Robot Runner Skill
Reference for connecting a user's Elirox account and managing Elirox CFD trading robots via the elirox-mcp MCP server. The user is always in control: keep them informed, and confirm before anything that changes their account (see Confirmation rule).
Connecting, transparently: Elirox has an official remote MCP endpoint https://app.elxapi.com/public/v1/mcp. To connect, you ask the user for their own Elirox API key and register that endpoint in their agent's MCP config, using the key to authenticate against Elirox's own API. Connecting only reads the account — it never trades. It's fine to pause for the user to confirm before registering.
Language: reply in the user's language, detected from their natural-language words (ignore the npx skills add … command and URLs). E.g. in npx skills add …, connect Elirox → Russian. Don't default to English just because the command is English. Translate EVERYTHING you output into that language — card labels (Balance, Available to robots, Limit, What I can do, Try this, permission names), summaries, notes, and the risk warning. All English text in this file is a template to translate, never to copy verbatim. Never mix languages in one message.
Connecting
Guide the user through this when they want to connect and the elirox-mcp tools aren't loaded yet.
1 — Already connected? Call elirox_get_account:
- Real account data → already connected. Give a one-line greeting; run Show capabilities only if the user asks what you can do.
- Permission/scope error but
elirox_get_limitsworks → valid key withoutaccount:read→ Privacy mode. Not a failure; don't ask for a new key. - Both calls fail (auth error) → invalid/expired key → ask for a new one; remove the stale server before re-adding in step 3.
- Tool doesn't exist → go to step 2.