Skip to content

Cline

Cline is a VS Code extension that brings advanced AI capabilities to your editor. Use it if you’re a VS Code developer.

  • VS Code installed
  • Cline extension installed (from VS Code marketplace)
  • Your FIX credentials (see Before You Start
  1. Open VS Code
  2. Click the Cline icon (in the activity bar)
  3. Click MCP Servers
  4. Click Add Remote Server
  1. Name: axiory-ai (or Axiory.ai)
  2. URL: https://mcp.axiory.ai/mcp
  3. Auth Type: OAuth
  4. Click Add

A browser opens with the FIX credentials form:

  1. Select your broker server
  2. Enter your SenderCompID (from cTrader Settings > FIX API)
  3. Enter your FIX API Password (NOT your cTrader login password)
  4. Set trading mode (readonly/paper/live)
  5. Click Connect

You’ll see “Connected Successfully”.

In Cline chat, ask:

“Are you connected to cTrader? Show me my current positions.”

Cline should respond with your account status.

If OAuth doesn’t work:

Visit in your browser:

https://mcp.axiory.ai/token-portal
  1. Select your broker server
  2. Enter your FIX credentials
  3. Choose trading mode
  4. Click Generate Token
  5. Copy the token

Set the token in your environment:

Terminal window
export AXIORY_TOKEN="your-token-here"

Add to ~/.zshrc or ~/.bashrc to persist:

Terminal window
echo 'export AXIORY_TOKEN="your-token-here"' >> ~/.zshrc
source ~/.zshrc

In Cline MCP settings:

  1. Click Add Remote Server (or edit existing)
  2. Name: axiory-ai
  3. URL: https://mcp.axiory.ai/mcp
  4. Auth Type: Bearer Token
  5. Token: ${env:AXIORY_TOKEN}
  6. Click Save

Close and reopen VS Code to load the environment variable.

Once connected:

Ask Cline: What's the current EURUSD price?
Ask Cline: Buy 50,000 units of EURUSD at market

In Cline:

“I want to buy 100,000 units of EURUSD. Can you check the current price and place the order?”

Cline will:

  1. Fetch the current quote
  2. Check your risk limits
  3. Place the order (or simulate in paper mode)
  4. Show you the confirmation

Portal tokens expire after 30 days. Before expiry:

  1. Visit the Token Portal
  2. Generate a new token
  3. Update your environment variable: export AXIORY_TOKEN="new-token"
  4. Restart VS Code

If your token expires, you’ll see “401 Unauthorized”. Generate a new one.

”Server not found” or “Connection refused”

Section titled “”Server not found” or “Connection refused””

Check:

  1. Cline MCP settings show the server correctly
  2. URL is exact: https://mcp.axiory.ai/mcp
  3. Try clicking Test Connection
  4. Restart Cline / VS Code

”Invalid credentials” in the OAuth form

Section titled “”Invalid credentials” in the OAuth form”

Your FIX credentials are wrong:

  1. Go to cTrader Settings > FIX API
  2. Copy SenderCompID exactly (with all dots and numbers)
  3. Copy FIX API Password exactly (NOT your login password)
  4. Retry OAuth or regenerate a Portal Token

Your token has expired or is invalid:

  1. Check: echo $AXIORY_TOKEN
  2. If empty, set it: export AXIORY_TOKEN="your-token"
  3. If invalid, generate a new one at the Token Portal
  4. Restart VS Code

Cline can’t find the environment variable

Section titled “Cline can’t find the environment variable”

Make sure:

  1. You’ve set the variable: export AXIORY_TOKEN="..."
  2. You’ve restarted VS Code completely
  3. Verified the var exists: echo $AXIORY_TOKEN

If it still doesn’t work, manually enter the token (not recommended):

In Cline MCP settings, instead of ${env:AXIORY_TOKEN}, paste the actual token.

Cline is powerful for developers. Start with paper mode to test your trading logic.