Capital.Com MCP Server

CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 81.31% of retail investor accounts lose money when

Remote serverstreamable-httpPython

What is the Capital.Com MCP Server?

CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 81.31% of retail investor accounts lose money when trading CFDs with

What the server does

Model Context Protocol (MCP) server for Capital.com Open API - enabling LLM-driven access to your Capital.com trading account.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Capital.Com MCP Server

{
  "mcpServers": {
    "capital-com": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ghcr.io/capital-com-sv/capital-mcp"],
      "env": {
        "CAP_API_KEY": "your-value",
        "CAP_DEFAULT_ACCOUNT_ID": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
CAP_API_KEYCredential the server authenticates with.Yes
CAP_DEFAULT_ACCOUNT_IDConfiguration value read at startup.Optional

Example prompts to try

  • “Use Capital.Com MCP to Note.”
  • “Use Capital.Com MCP to Required.”
  • “Use Capital.Com MCP to Optional.”

Frequently asked questions

The source code is linked from the repository URL on this page.