Skip to content

AI agents

Connect an AI agent ​

Volrix Trade includes a Model Context Protocol (MCP) server. An MCP client can inspect the same strategies, market data and broker accounts that you see in the workspace.

Connect your client ​

  1. Open MCP in your Volrix Trade workspace.
  2. Under API tokens, create a token for the client and copy it when shown.
  3. In your client, add the MCP server URL from the workspace. Use Streamable HTTP and send the token in the Authorization header as Bearer <token>. The MCP page also provides a configuration example for clients that run local servers.
  4. Start with a read request such as “List my connected brokers,” then inspect the tools and their results in your client.

The URL must be reachable from the machine running the client. A local client on the host can use http://localhost:8080/api/mcp with the default installation.

Read a paper session ​

After running a paper strategy, ask which orders filled for the strategy. The agent can use list_orders and inspect an individual record with get_order. Ask for execution mode, instrument, filled quantity, price and time. An empty order book is expected for a strategy that only observes the feed.

Pause entries for one strategy ​

In a paper session, ask your client to pause new entries for the strategy you are inspecting. It can look up the strategy with get_strategy, then call set_strategy_entries with its strategy_id and paused set to true. The strategy keeps managing its open legs, including stops, targets and exits.

Read the strategy again to check both fields. A running strategy with entries paused reports state: "running" and entries_paused: true. To resume accepting entries, use the same tool with paused set to false.

Trading permissions ​

The token acts with the owner's permissions. The MCP page groups tools into reads, changes, and operations that place or cancel orders, stop trading or delete data. Review the account and execution mode before confirming a trading action in your client. Revoke the token from the workspace when you disconnect the client.