Your Bots. Your Strategies. AI That Can Actually See Them.
What is Model Context Protocol?
The Model Context Protocol (MCP) is an open standard developed by Anthropic that gives AI assistants a structured way to interact with external software systems. Instead of copying and pasting data back and forth, an MCP-connected AI can read live information from—and take actions within—your tools in real time.
Live Context, Not Guesses
Your AI assistant sees your actual bots, balances, and configurations—not static examples from its training data.
Bidirectional Access
Read data and take actions. Pause bots, adjust settings, and create HaasScripts without leaving your AI assistant's interface.
Universal Standard
MCP works with any compatible client—Claude Desktop, Cursor, and other AI tools that support the protocol.
Your Credentials Never Leave Your Machine
Other AI trading tools route your strategies and exchange connections through their cloud. HaasOnline's MCP server runs locally alongside TradeServer. Your API keys and exchange credentials stay on your hardware.
AI That Works With Your Proven Strategies — Not Instead of Them
With HaasOnline MCP, you stay in the driver's seat. Your bots run your strategies — AI helps you understand, manage, and improve them. You direct the conversation; the bots execute the trades.
What the HaasOnline MCP Server Does
The HaasOnline MCP server exposes your TradeServer to any MCP-compatible AI assistant. Once connected, your AI can:
- Inspect your bots — query running bots, configurations, current positions, and performance metrics
- Read market data — pull live prices, order book depth, and trade history across connected exchanges
- Manage HaasScripts — view, create, and update custom scripts without switching apps
- Review account balances — get a real-time snapshot of holdings across all connected exchanges
- Control bot state — pause, resume, or adjust bot settings on your command
Getting Connected
The MCP server ships as part of TradeServer Enterprise and runs locally alongside your instance:
- Create an API key in your TradeServer Enterprise settings panel
- Copy the generated API key
- Add the server to your AI assistant's MCP configuration (Claude Desktop, Cursor, Claude Code, or any MCP-compatible client)
- Start a new conversation — your assistant will have full context about your trading setup
Write and Improve HaasScripts in Conversation
Describe what you want and Claude drafts it against your live TradeServer setup. Iterate in conversation, backtest, and deploy — without leaving your AI assistant.
- Build new scripts from scratch — "Build a Bollinger Band mean reversion script for BTC/USDT"
- Extend existing strategies — "Add a volume filter to my RSI strategy"
- Debug and review — "Explain what this script is doing and flag any logic issues"
- Backtest immediately — create, refine, and test without switching apps
See It In Action
Below, a user directs Claude Code to draft and backtest a Rubber Band Trade script using Bollinger Bands and RSI, leveraging live TradeServer data via MCP.
What Enterprise Traders Are Doing With It
Traders managing 20, 50, or 100+ bots across multiple exchanges face a real problem: staying on top of everything. A full portfolio audit used to mean 30 minutes of clicking through TradeServer. With MCP, it's one conversation.
Strategy Audits
"Audit all my running bots and flag any that haven't placed an order in the last 24 hours."
Script Development
"Look at my existing RSI strategy and suggest how to add a volume filter."
Performance Analysis
"Give me a performance summary of my running bots this month."
New Strategy Setup
"I want to add a grid bot on BTC/USDT on Binance. Walk me through the configuration options."
Risk Management
"Check all my bots and tell me which ones don't have a stop-loss configured."
Exchange Monitoring
"Show me my total exposure across all exchanges and flag any positions that exceed 10% of my portfolio."
Available on All Enterprise Licenses
The MCP server is included with every active HaasOnline Enterprise license. Update to the latest TradeServer Enterprise release to find the MCP options in your settings panel.