{"name":"io.github.SimonTarara62/capitalcom-mcp-server","slug":"simontarara62-capitalcom-mcp-server","title":"Capital.com MCP Server","description":"Unofficial community MCP for the Capital.com Open API. Guarded two-phase trades; demo-first.","url":"https://mcp.market/server/simontarara62-capitalcom-mcp-server","rating":null,"grade":"B","score":83,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":26,"stars":0,"forks":0,"downloads_week":34,"last_push_at":"2026-09-07T12:35:15.000Z","license":"Apache-2.0"},"uptime":null,"claimed":false,"transport":"pypi","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/SimonTarara62/capitalcom-mcp-server","website":"https://github.com/SimonTarara62/capitalcom-mcp-server","version":"0.3.4","remotes":[],"packages":[{"registryType":"pypi","identifier":"capitalcom-mcp","version":"0.3.4","runtimeHint":"uvx","transport":{"type":"stdio"},"environmentVariables":[{"description":"Path to a .env file holding credentials (alternative to inline secrets).","name":"CAP_ENV_FILE"},{"description":"Capital.com API key (use a DEMO key first).","isSecret":true,"name":"CAP_API_KEY"},{"description":"Capital.com account identifier (email).","isSecret":true,"name":"CAP_IDENTIFIER"},{"description":"Capital.com API password.","isSecret":true,"name":"CAP_API_PASSWORD"},{"description":"Environment: demo or live (default: demo).","name":"CAP_ENV"},{"description":"Set true to enable order execution (off by default).","name":"CAP_ALLOW_TRADING"},{"description":"Comma-separated EPIC allowlist for trading, or ALL.","name":"CAP_ALLOWED_EPICS"}]}],"tools":[{"name":"cap_account_demo_topup","description":"Top up the demo account balance (DEMO ONLY). The SDK enforces demo + confirm.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_account_history_activity","description":"Get account activity history (deals, orders, updates). detailed adds fields; deal_id filters.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_account_history_transactions","description":"Get transaction history (deposits, withdrawals, P&L). Optional type filter.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_account_list","description":"List all trading accounts (balance, currency, type). Requires authentication.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_account_preferences_get","description":"Get account preferences (hedging mode, per-asset-class leverage).","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_account_preferences_set","description":"Set account preferences (TRADE-GATED). Requires confirm=true when configured.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_market_get","description":"Get full market details and dealing rules for an EPIC.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_market_navigation_node","description":"Get child nodes/markets under a navigation node.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_market_navigation_root","description":"Get the root market-navigation tree (categories).","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_market_prices","description":"Get historical OHLC candles. resolution e.g. MINUTE_15, HOUR, DAY.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_market_search","description":"Search markets by term or EPIC list. limit truncates results client-side.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_market_sentiment","description":"Get client sentiment (long vs short %) for a market.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_session_login","description":"Create or verify a session. force=true re-logs in; account_id switches account.","write_action":true,"price_micros":0,"input_schema":null},{"name":"cap_session_logout","description":"End the session and clear tokens. Requires authentication.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_session_ping","description":"Keep the session alive (extends timeout). Requires authentication.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_session_status","description":"Get current session status (login state, account, token expiry). No auth required.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_session_switch_account","description":"Switch the active trading account by ID. Requires authentication.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_stream_alerts","description":"Monitor EPICs for price-level crossings. alerts: {EPIC: {level, direction: ABOVE|BELOW}}.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_stream_candles","description":"Stream live OHLC bars for up to 40 EPICs at the given resolutions (WebSocket).","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_stream_portfolio","description":"Stream live portfolio snapshots for open positions for duration_s seconds (WebSocket).","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_stream_prices","description":"Stream live bid/offer for up to 40 EPICs for duration_s seconds (WebSocket).","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_trade_confirm_get","description":"Get deal-confirmation status (ACCEPTED/REJECTED/pending) for a deal reference.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_trade_confirm_wait","description":"Poll the confirmation endpoint until ACCEPTED/REJECTED or timeout.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_trade_execute_position","description":"Execute a previewed position (CREATES A REAL TRADE). SDK enforces all safety gates.","write_action":true,"price_micros":0,"input_schema":null},{"name":"cap_trade_execute_working_order","description":"Execute a previewed working order (CREATES A REAL ORDER). SDK enforces all safety gates.","write_action":true,"price_micros":0,"input_schema":null},{"name":"cap_trade_orders_amend","description":"Amend a working order's level/expiry/stops-limits (SIDE EFFECT). Requires confirm.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_trade_orders_cancel","description":"Cancel a working order (SIDE EFFECT). Requires confirm + trading enabled.","write_action":true,"price_micros":0,"input_schema":null},{"name":"cap_trade_orders_list","description":"List all working orders (pending LIMIT/STOP that haven't triggered).","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_trade_positions_amend","description":"Amend stop-loss / take-profit on an open position (SIDE EFFECT). Requires confirm.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_trade_positions_close","description":"Close an open position (SIDE EFFECT). Requires confirm + trading enabled.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_trade_positions_get","description":"Get a single position's details by deal ID.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_trade_positions_list","description":"List all open positions (P&L, direction, size, attached orders).","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_trade_preview_position","description":"Preview a position (NO SIDE EFFECTS). Runs the full risk pipeline; returns preview_id.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_trade_preview_working_order","description":"Preview a working order (NO SIDE EFFECTS). type is LIMIT or STOP. Returns preview_id.","write_action":true,"price_micros":0,"input_schema":null},{"name":"cap_watchlists_add_market","description":"Add a market (EPIC) to a watchlist. Requires confirm when configured.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_watchlists_create","description":"Create a new watchlist (1-100 chars). Requires confirm when configured.","write_action":true,"price_micros":0,"input_schema":null},{"name":"cap_watchlists_delete","description":"Delete a watchlist. Requires confirm when configured.","write_action":true,"price_micros":0,"input_schema":null},{"name":"cap_watchlists_get","description":"Get a watchlist's details including its markets.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_watchlists_list","description":"List all watchlists (IDs and names).","write_action":false,"price_micros":0,"input_schema":null},{"name":"cap_watchlists_remove_market","description":"Remove a market (EPIC) from a watchlist. Requires confirm when configured.","write_action":true,"price_micros":0,"input_schema":null},{"name":"fetch","description":"ChatGPT Deep Research: fetch a market's details. Returns {id,title,text,url,metadata}.","write_action":false,"price_micros":0,"input_schema":null},{"name":"search","description":"ChatGPT Deep Research: search Capital.com markets. Returns {results:[{id,title,url}]}.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":83,"grade":"B","scanned_at":"2026-09-27T05:27:26.164Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-27T05:27:26.187Z","components":{"code":{"score":25,"max":25,"notes":["7 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":15,"max":15,"notes":["last push 20 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"pypi","identifier":"capitalcom-mcp","version":"0.3.4","found":true,"weeklyDownloads":34,"license":"Apache-2.0","dependencyCount":8,"publishedAt":"2026-06-15T17:19:33.019773Z","repositoryUrl":"https://github.com/SimonTarara62/capitalcom-mcp-server"}],"repo":{"found":true,"owner":"SimonTarara62","repo":"capitalcom-mcp-server","archived":false,"pushedAt":"2026-09-07T12:35:15Z","stars":0,"forks":0,"openIssues":2,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/33222802?v=4","ownerCreatedAt":"2017-10-30T11:57:51Z","license":"Apache-2.0"},"icon":{"url":null,"source":"none"},"presence":{"stars":0,"forks":0,"downloadsWeek":34,"license":"Apache-2.0","lastPushAt":"2026-09-07T12:35:15.000Z","score":26}}}},"grade_history":[],"reviews":[]}