Skip to content

MCP metatrader: spawn metatrader-mcp-server ENOENT #39

Description

@shimatai

I'm getting the following errors:

MCP metatrader: Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging)
Could not attach to MCP server metatrader

Environment:

  • Windows 11
  • Python 3.14.6 (pip 26.1.2)
  • Metatrader 5 installed in C:\Program Files\MetaTrader 5\terminal64.exe
  • Claude and Metatrader 5 are opened and running
  • Metatrader 5 logged in the same trading account

claude_desktop_config.json

{
  "mcpServers": {
    "metatrader": {
      "command": "metatrader-mcp-server",
      "args": [
        "--login", "MY_VALID_MT5_LOGIN",
        "--password", "MY_VALID_MT5_PASSWORD",
        "--server", "MY_VALID_MT5_SERVER",
        "--transport", "stdio",
		"--path", "C:\\Program Files\\MetaTrader 5\\terminal64.exe"
      ]
    }
  },
  "coworkUserFilesPath": "C:\\Users\\Shimatai\\Claude",
  "preferences": {
    "coworkScheduledTasksEnabled": false,
    "coworkHipaaRestricted": false,
    "ccdScheduledTasksEnabled": false,
    ...
   }
}

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions