Home › Finance › Capital.com MCP Server

Capital.com MCP Server

Unofficial community MCP for the Capital.com Open API. Guarded two-phase trades; demo-first.

Python CloudLocal
★ 0 stars Last pushed 2026-09-07 License: Apache-2.0

Topics: Finance & Fintech

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (pypi 0.3.4)

uvx capitalcom-mcp

Or add to your MCP client config:

{
  "mcpServers": {
    "capitalcom-mcp-server": {
      "command": "uvx",
      "args": [
        "capitalcom-mcp"
      ],
      "env": {
        "CAP_ENV_FILE": "<YOUR_VALUE>",
        "CAP_API_KEY": "<YOUR_VALUE>",
        "CAP_IDENTIFIER": "<YOUR_VALUE>",
        "CAP_API_PASSWORD": "<YOUR_VALUE>",
        "CAP_ENV": "<YOUR_VALUE>",
        "CAP_ALLOW_TRADING": "<YOUR_VALUE>",
        "CAP_ALLOWED_EPICS": "<YOUR_VALUE>"
      }
    }
  }
}
  • CAP_ENV_FILE — Path to a .env file holding credentials (alternative to inline secrets).
  • CAP_API_KEY secret — Capital.com API key (use a DEMO key first).
  • CAP_IDENTIFIER secret — Capital.com account identifier (email).
  • CAP_API_PASSWORD secret — Capital.com API password.
  • CAP_ENV — Environment: demo or live (default: demo).
  • CAP_ALLOW_TRADING — Set true to enable order execution (off by default).
  • CAP_ALLOWED_EPICS — Comma-separated EPIC allowlist for trading, or ALL.

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry