AI Connections Overview
Overview of the three connection modes to integrate your own AI tools with VarianTrade.
Overview
VarianTrade supports three distinct modes to connect your own AI models or applications to your account. This allows you to choose the integration that best matches your billing preferences, application compatibility, and privacy requirements.
Comparison of Connection Modes
| Mode | Who Pays | What Leaves Your Machine | Capabilities |
|---|---|---|---|
| Remote MCP | You pay the provider subscription or API for your external AI application. | Only context retrieved by tool calls (portfolio summary, positions, risk limits, signals, market data). | Connects an MCP-capable desktop AI application (such as Claude Desktop or Cursor) directly to VarianTrade tools. |
| Your API Key | You pay the API provider (OpenAI, Anthropic, DeepSeek, or Gemini) directly for token usage. | The prompt text and context data. Your API key is transmitted once for verification and stored encrypted. | Enables the in-Telegram assistant to utilize your own API quota instead of VarianTrade credits. |
| Local CLI Bridge | You pay the provider subscription (such as Claude Pro or ChatGPT Plus) for the CLI tool. | Prompts and text outputs. No API keys, credentials, or session cookies ever leave your machine. | Runs AI jobs locally on your machine using your already-authenticated provider CLI tool. |
Inspecting and Revoking Connections
You can view all active connections at any time by sending /ai_connections in Telegram. This lists the status, connection type, last seen time, and scopes of each connection.
To revoke any connection:
- Run
/ai_connectionsin Telegram. - Tap the Revoke [Name] button for the connection you want to remove.
- Confirm the revocation when prompted.
Revocation is processed immediately: the associated access token or device secret is deleted, and the external application is blocked from making further requests.
Security Warning
Never paste API keys, browser cookies, session tokens, or CLI credentials directly into an ordinary chat message, public group chat, or support request. VarianTrade will only prompt you for credentials in a secure, private Telegram chat during an active setup flow.