TWITThe Way I Trade
Get free indicators
AI trading guide

How to trade with Claude AI & cTrader

A quick setup guide for connecting your AI assistant to cTrader using the open-standard Model Context Protocol (MCP). No coding, just careful copy and paste. Steps follow the official cTrader docs; menu names can vary by version.

Setup walkthrough video

Watch the setup walkthrough, then follow the step-by-step guide below.

01 / Step 1

Download the required software

cTrader Platform

Get cTrader through our recommended broker partner Egoli Forex.

Download cTrader via Egoli Forex

Node.js (bridge only)

Needed only for the Claude Desktop bridge in step 2. cTrader’s built-in MCP server does not need it. Choose the LTS version.

Download Node.js (LTS)

Claude Desktop

Anthropic’s desktop app, with native Model Context Protocol (MCP) support.

Download Claude Desktop
02 / Step 2

Install Node.js

cTrader's native MCP server does not need Node.js. Claude Desktop, however, may need a stdio bridge (the third-party mcp-remote package, run through npx) to reach it, and that bridge needs Node.js. Run the downloaded .msi (Windows) or .pkg (macOS) installer and follow the wizard. If your AI client supports HTTP MCP servers directly, you can skip this step.

Verification: fully quit and restart Claude Desktop after installing Node.js so it detects the system path changes.
03 / Step 3

Copy your cTrader MCP configuration

  1. Open cTrader Desktop (Windows or Mac) and log in with your cTID.
  2. Go to Settings, then MCP Server.
  3. Turn on Enable MCP server.
  4. Review Allow trading via MCP and Require confirmation for trading operations. Keep trading off, or confirmation on, until you've tested on demo.
  5. Use the copy-code option shown there to copy the configuration for your client. The native form is an HTTP server at http://127.0.0.1:9876/mcp/.
  6. Keep cTrader running. Restart your AI client only while cTrader is open.
Not seeing an MCP Server option? Check that your cTrader version and platform support it, and compare with the official docs.
04 / Step 4

Add the snippet to Claude Desktop

  1. Open Claude Desktop, then go to Settings and choose Developer.
  2. Click Edit Config to locate claude_desktop_config.json.
  3. Back up that file first by copying it somewhere safe. Do not overwrite existing content.
  4. If your client supports HTTP servers, prefer the configuration copied from cTrader. Otherwise merge only the ctrader entry inside any existing mcpServers section, keeping your other servers, and keep the JSON valid.
Third-party bridge. mcp-remote is a community package, not made by cTrader or Anthropic. These snippets are examples built from the official local address and are not verified on every setup. On macOS do not use cmd.exe. If your copied configuration differs, use yours.
claude_desktop_config.json (Windows, mcp-remote bridge)
{
  "mcpServers": {
    "ctrader": {
      "command": "cmd.exe",
      "args": [
        "/c",
        "npx",
        "-y",
        "mcp-remote",
        "http://127.0.0.1:9876/mcp/"
      ]
    }
  }
}

Merge it into your config rather than replacing the file.

05 / Optional · recommended

Install cTrader Agent Skills

Skills are lightweight prompt packages provided by cTrader (Spotware) that teach AI agents how to use cTrader MCP servers more efficiently. They don't replace the MCP configuration, but they stop the AI getting confused by complex trading instructions.

Open your project folder in the terminal, then run this to install all official cTrader skills locally:

Install cTrader skills locally
npx skills add spotware/ctrader-skills --all -y
  • --all installs the complete suite of cTrader trading and charting skills.
  • -g is omitted on purpose: some agents don't support global skill installs, so install in the workspace you want to use.
  • -y auto-confirms setup prompts.

Troubleshooting: PowerShell script execution

If Windows PowerShell blocks the install because script execution is disabled, run this to allow local scripts for your current user, then retry:

PowerShell: allow scripts for CurrentUser
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

This changes your user's PowerShell execution policy, not just this installation. Only run scripts you trust. If your organisation manages execution policies, ask your administrator.

Verify installation:

List locally installed skills
npx skills ls

Keep skills updated:

Update installed skills
npx skills update -y
Important: after installing or updating skills, fully restart Claude Desktop from your system tray so the new skill instructions load. On macOS, fully quit Claude from the application menu before reopening it.
06 / Step 5

Verify the connection

  1. Save the file, fully quit Claude Desktop, then reopen it.
  2. Make sure cTrader is running with the MCP server enabled, then check Settings → Developer to see whether the ctrader server is listed and running. If it shows an error, re-check your JSON and Node.js install.
  3. Ask Claude a read-only question first, such as listing your demo account details.
Use demo. Do not connect a live account until you understand exactly what the tools can do and have confirmed their behaviour on demo.

This guide is educational only and not financial advice. AI assistance does not guarantee profits. Forex and CFDs carry a high risk of loss.