Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

Capital.com MCP Server

von SimonTarara62Version 0.3.4i★ –iLäuft auf deinem Computer
Name in der Registryio.github.SimonTarara62/capitalcom-mcp-server

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

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

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Sonstiges
  • Das musst du eintragen: CAP_API_KEY, CAP_IDENTIFIER, CAP_API_PASSWORD

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Das trägst du selbst ein: CAP_ENV_FILE, CAP_API_KEY, CAP_IDENTIFIER, CAP_API_PASSWORD, CAP_ENV, CAP_ALLOW_TRADING, CAP_ALLOWED_EPICS

Als geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.

Du brauchst

  • PyPIuv für Python installiert (für den Befehl uvx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "mcpServers": {
    "capitalcom": {
      "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"
      }
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add capitalcom --env CAP_ENV_FILE=your-value --env CAP_API_KEY=your-value --env CAP_IDENTIFIER=your-value --env CAP_API_PASSWORD=your-value --env CAP_ENV=your-value --env CAP_ALLOW_TRADING=your-value --env CAP_ALLOWED_EPICS=your-value -- uvx capitalcom-mcp

Trag die leeren Werte ein, bevor du ihn startest.

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "capitalcom": {
      "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"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "capitalcom": {
      "type": "stdio",
      "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"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Werte, die du selbst einträgst

  • CAP_ENV_FILE env
    Path to a .env file holding credentials (alternative to inline secrets).
  • CAP_API_KEY geheim env
    Capital.com API key (use a DEMO key first).
  • CAP_IDENTIFIER geheim env
    Capital.com account identifier (email).
  • CAP_API_PASSWORD geheim env
    Capital.com API password.
  • CAP_ENV env
    Environment: demo or live (default: demo).
  • CAP_ALLOW_TRADING env
    Set true to enable order execution (off by default).
  • CAP_ALLOWED_EPICS env
    Comma-separated EPIC allowlist for trading, or ALL.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 7. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto SimonTarara62 bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Sonstigesi

  • Mehr Sterne als 0 % der anderen 32589 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 13 % der anderen 32589 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 32589 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist Capital.com MCP Server sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Das musst du eintragen: CAP_API_KEY, CAP_IDENTIFIER, CAP_API_PASSWORD

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.3.4) kam vor 5 Monaten in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Spec Driven Development, Remote Desktop Commander, Detailing Manager

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Spec Driven Development

von formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Läuft auf deinem Computer★ 440MITAktualisiert vor 14 Monaten
Installieren

Remote Desktop Commander

von desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Läuft in der Cloud★ 211Aktualisiert gestern
Installieren

Detailing Manager

von RadoslavMoshev

Connect your auto detailing studio's tasks, cars, clients and revenue to Claude or ChatGPT.

Läuft auf deinem ComputerAktualisiert heute
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

Capital.com MCP Server

Self-hosted Model Context Protocol (MCP) server for the Capital.com Open API, written in Python on FastMCP. It exposes 42 safe, guarded trading and market-data tools — two-phase execution, allowlists, demo-first — to any MCP client, over stdio or HTTP. Built on the tested capitalcom-cli broker engine (SDK).

Works with Claude Desktop · Claude Code · Cursor · VS Code (Copilot) · Windsurf · ChatGPT — any MCP client.

⚠️ Unofficial & educational. Not affiliated with Capital.com. Trading is

risky and this is not financial advice. Trading is disabled by default;

all trades are two-phase (preview → confirm → execute) with allowlists and

size/rate limits. Start on a demo account. Apache-2.0 licensed.

Install

No clone required — uvx runs it in an isolated, throwaway environment and always fetches the latest tested release:

uvx capitalcom-mcp --help        # smoke test

Or install a persistent command with pipx:

pipx install capitalcom-mcp
Pinning for production / real-money use

uvx capitalcom-mcp always runs the latest published release. That is fine for trying it out, but for production or real-money use, pin the exact version so an unexpected update can't change tool behavior under you:

{

"mcpServers": { "capitalcom": { "command": "uvx", "args": ["capitalcom-mcp==0.3.4"], "env": { "CAP_ENV_FILE": "/Users/you/.config/capital-mcp/.env" } } } }

The CLI form is uvx capitalcom-mcp==0.3.4 run …. Pin to a version you have reviewed, and bump deliberately after reading the CHANGELOG.

1. Add your credentials (once)

Get an API key in the Capital.com app: Settings → API integrations (make a demo key first). Then run the wizard — it writes a 0600 file and prints the exact client snippet:

uvx capitalcom-mcp init

This writes ~/.config/capital-mcp/.env. Verify any time (no secrets printed):

uvx capitalcom-mcp doctor

Inspect the full effective configuration (redacted, offline) or confirm your credentials actually authenticate:

uvx capitalcom-mcp config          # effective settings + credential source

uvx capitalcom-mcp doctor --login # verify authentication against the API

Prefer a secret manager? Set CAP_API_KEY_CMD / CAP_IDENTIFIER_CMD / CAP_API_PASSWORD_CMD to a command that prints the secret (e.g. op read op://vault/..., pass ...). The secret is fetched at launch and never written to disk or to your client config.

2. Add the server to your client

Every client uses the same command/args/env shape. Pasting "CAP_ENV_FILE": " " keeps secrets out of the client file; or put CAP_API_KEY/CAP_IDENTIFIER/CAP_API_PASSWORD directly in env.

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "capitalcom": { "command": "uvx", "args": ["capitalcom-mcp"], "env": { "CAP_ENV_FILE": "/Users/you/.config/capital-mcp/.env" } } } }

Claude Code
claude mcp add --transport stdio \

--env CAP_ENV_FILE=/Users/you/.config/capital-mcp/.env \ capitalcom -- uvx capitalcom-mcp

Cursor

~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{

"mcpServers": { "capitalcom": { "command": "uvx", "args": ["capitalcom-mcp"], "env": { "CAP_ENV_FILE": "/Users/you/.config/capital-mcp/.env" } } } }

VS Code (Copilot)

.vscode/mcp.json — note the root key is servers and type: "stdio":

{

"servers": { "capitalcom": { "type": "stdio", "command": "uvx", "args": ["capitalcom-mcp"], "env": { "CAP_ENV_FILE": "/Users/you/.config/capital-mcp/.env" } } } }

Windsurf

~/.codeium/windsurf/mcp_config.json:

{

"mcpServers": { "capitalcom": { "command": "uvx", "args": ["capitalcom-mcp"], "env": { "CAP_ENV_FILE": "/Users/you/.config/capital-mcp/.env" } } } }

ChatGPT

ChatGPT requires a remote server (stdio is not supported) — see Remote / VPS hosting. Once your server is reachable over HTTPS, enable Developer Mode (Settings → Connectors → Advanced) and add the server URL ending in /mcp. ChatGPT Deep Research connectors call two read-only tools, search and fetch, which this server implements; full custom tools require Developer Mode.

Remote / VPS hosting

Run with streamable-HTTP instead of stdio:

CAP_ENV_FILE=/home/you/.config/capital-mcp/.env \

capitalcom-mcp run --transport http --host 0.0.0.0 --port 8000

endpoint: http:// :8000/mcp

Or via env (handy in systemd): CAP_MCP_TRANSPORT=http, CAP_MCP_HOST, CAP_MCP_PORT. Put it behind a TLS-terminating reverse proxy for any public use.

What's inside — tools, resources & prompts

This server exposes 42 tools, 4 resources, and 7 guided prompts. All tool names are prefixed cap_ except the two ChatGPT Deep Research adapters (search, fetch). Mutating tools require confirm=true; trades are two-phase. The full surface is a stable contract — see API stability.

Session & account
ToolWhat it does
cap_session_statusCurrent login/session state.
cap_session_loginAuthenticate (optionally force=true).
cap_session_pingKeep-alive / liveness check.
cap_session_logoutEnd the session.
cap_session_switch_accountSwitch the active trading account.
cap_account_listList accounts and the active account id.
cap_account_preferences_getRead account preferences (e.g. hedging mode).
cap_account_preferences_setUpdate preferences (confirm required).
cap_account_history_activityAccount activity history.
cap_account_history_transactionsTransaction history.
cap_account_demo_topupTop up a demo balance (confirm required).
Market data
ToolWhat it does
cap_market_searchSearch instruments by term.
cap_market_getFull market details + snapshot for an EPIC.
cap_market_navigation_rootTop-level market navigation nodes.
cap_market_navigation_nodeDrill into a navigation node.
cap_market_pricesHistorical OHLC candles.
cap_market_sentimentClient long/short positioning.
Trading (read → preview → execute → manage)
ToolWhat it does
cap_trade_positions_listOpen positions.
cap_trade_positions_getOne position by deal id.
cap_trade_orders_listWorking (pending) orders.
cap_trade_confirm_getFetch a deal confirmation by reference.
cap_trade_confirm_waitPoll until a deal confirms (or times out).
cap_trade_preview_positionPhase 1: validate a market position (no execution).
cap_trade_preview_working_orderPhase 1: validate a working order.
cap_trade_execute_positionPhase 2: execute a previewed position (confirm).
cap_trade_execute_working_orderPhase 2: place a previewed working order (confirm).
cap_trade_positions_closeClose a position (confirm).
cap_trade_orders_cancelCancel a working order (confirm).
cap_trade_positions_amendAmend stop/limit on a position (confirm).
cap_trade_orders_amendAmend a working order (confirm).
Watchlists
ToolWhat it does
cap_watchlists_listList watchlists.
cap_watchlists_getGet one watchlist's markets.
cap_watchlists_createCreate a watchlist (confirm).
cap_watchlists_add_marketAdd an EPIC (confirm).
cap_watchlists_remove_marketRemove an EPIC (confirm).
cap_watchlists_deleteDelete a watchlist (confirm).
Streaming (WebSocket; requires CAP_WS_ENABLED=true)
ToolWhat it does
cap_stream_pricesLive bid/ask updates for EPICs.
cap_stream_candlesLive OHLC candle updates.
cap_stream_alertsThreshold price alerts.
cap_stream_portfolioLive position/P&L updates.
ChatGPT Deep Research adapters
ToolWhat it does
searchRead-only instrument search (ChatGPT connector contract).
fetchRead-only instrument fetch by id (ChatGPT connector contract).
Resources
URIWhat it returns
cap://statusSession/connection status snapshot.
cap://risk-policyActive risk policy (trading flag, caps).
cap://allowed-epicsThe trading EPIC allowlist.
cap://market-cache/{epic}Cached market snapshot for an EPIC.
Guided prompts

Prompts are reusable workflows your client can launch by name. They emit step-by-step guidance that orchestrates the tools above — they never trade on their own.

PromptPurpose
market_scanScan a watchlist for opportunities (prices + sentiment).
trade_proposalDesign a risk-sized trade and validate it via preview.
execute_tradeSafely execute a previously previewed trade.
position_reviewReview open positions and working orders.
live_price_monitorStream prices and flag threshold moves.
real_time_alertsConfigure and watch live price alerts.
live_portfolio_monitorStream live portfolio P&L with a threshold.

Safety model

  • Trading off unless CAP_ALLOW_TRADING=true and the EPIC is in CAP_ALLOWED_EPICS (or ALL).
  • Two-phase execution; confirm=true required for mutations.
  • Size, open-position, and daily-order caps; CAP_DRY_RUN=true blocks all executions. A TIMEOUT confirmation is ambiguous — reconcile, don't blindly retry.

Development

make install   # editable MCP + capitalcom-cli SDK from PyPI

make check # ruff + mypy + pytest (offline; no network/credentials)

End-to-end tests drive every tool through the MCP against the demo API (read, watchlists, account switch, preview/execute/amend/close/cancel, streaming). They place real demo orders and clean up after themselves, so use a demo .env with trading + streaming enabled:

# demo .env: CAP_ALLOW_TRADING=true, CAP_ALLOWED_EPICS=GOLD, CAP_WS_ENABLED=true

CAP_MCP_E2E=1 pytest -m e2e -v

Contributing

Contributions are welcome — this is a community project. Start with CONTRIBUTING.md, browse good first issues, and see the roadmap for where it's heading. The architecture and a worked "add a tool" example are in docs/extending.md.

License

Apache-2.0. See LICENSE and NOTICE.

PopNx fragen