MCP overview
HaasOnline ships a hosted Model Context Protocol server: connect it to Claude (or any MCP-capable client) and your assistant can work with your account in a conversation -
- inspect your bots: runtime state, logs, open orders, positions, profit reports
- run and analyze backtests, drive Labs parameter optimizations
- read, write, and compile HaasScript, with the full command reference searchable
- browse accounts, wallets, and markets
Two ways to run it
Section titled “Two ways to run it”| Cloud | Hosted MCP server, connected via OAuth - see Connect |
| Self-hosted | Your TradeServer serves MCP locally; point your client at it directly |
MCP and the REST API
Section titled “MCP and the REST API”Same backend, two doors. MCP is for conversations and agents; the REST API is for code. They share entitlements and the tool surface tracks the API’s growth.