Servers Changes Log Check Watch Why How it works GitHub

Capital.com MCP Server

io.github.SimonTarara62/capitalcom-mcp-server · pypi:capitalcom-mcp

Dernier changement observé · 2026-11-29T21:19:40Z

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

Première observation
2026-10-16
Inchangé depuis
2026-11-29
Dernière observation
2026-12-04
Observations
13
Modifications enregistrées
1
Outils
42

Définitions d’outils lors de la dernière observation (42)

  • cap_account_demo_topup — Add virtual funds to the active demo account's balance. Works only when the server runs against the demo environment (CAP_ENV=demo) and is refused on live. Needs confirm=true; it does not need trading to be enabled. Check the new balance with cap_account_list.
  • cap_account_history_activity — Get the account's activity log: positions opened and closed, orders placed, amended or cancelled. Covers the last 600 seconds by default; use last_period or from_date/to_date for other periods: up to 31 days per call, fetched a day at a time, newest first (no to_date = now, no from_date = one day before to_date). detailed=true gives full details, deal_id one deal. For money movements (deposits, wi …
  • cap_account_history_transactions — Get the account's money movements: deposits, withdrawals, realised trade P&L, overnight fees and other cash transactions. Covers the last 600 seconds by default; widen it with last_period or from_date/to_date and filter with type. The broker returns at most 100 rows, newest first: narrow the dates to see older ones. For a log of positions and orders use cap_account_history_activity. Read-only.
  • cap_account_list — List every account on this login with its balance figures, currency and type, plus active_account_id. Use it to check funds before a trade or to find an id for cap_session_switch_account. Read-only.
  • cap_account_preferences_get — Show the active account's trading preferences: whether hedging mode is on and the leverage set for each asset class. Read them before changing anything with cap_account_preferences_set. Read-only.
  • cap_account_preferences_set — Change the active account's preferences: hedging mode and/or leverage per asset class. This changes the real account's settings and affects margin on later trades. Needs confirm=true; it does not need trading to be enabled, but dry-run mode blocks it. Pass only what you want to change, and read the current values first with cap_account_preferences_get. With nothing to change it is refused with INV …
  • cap_market_get — Get the full details of one market by EPIC: instrument data, dealing rules (min/max deal size, size increment, stop distances) and a snapshot with the current bid/offer and market status. Use it before a preview to pick a valid size and stops; use cap_market_search when you only know the name and cap_market_prices for history. The fetch tool returns the same market details wrapped in the document …
  • cap_market_navigation_node — List what sits under one market category: its sub-categories (with node ids) and/or the markets in it (with EPICs). Take node_id from cap_market_navigation_root or from an earlier call to this tool, and repeat to walk down the tree. Read-only.
  • cap_market_navigation_root — List the top-level market categories (such as commodities, indices or shares) with their node ids. Use it to browse when you do not know a market's name, then open a category with cap_market_navigation_node. To find a market by name, cap_market_search is quicker. Read-only.
  • cap_market_prices — Get historical OHLC candles for one EPIC: at most 1000 per call. By default returns the latest 50 MINUTE_15 candles in a compact columnar form (time and mid-price open, high, low, close, volume); format="full" returns the broker's bid/ask candles. Resolutions: MINUTE, MINUTE_5, MINUTE_15, MINUTE_30, HOUR, HOUR_4, DAY, WEEK. Use from_date/to_date (UTC, YYYY-MM-DDTHH:MM:SS) for a fixed window, cap_s …
  • cap_market_search — Find markets by name or keyword (e.g. "gold", "Apple"), or look up exact EPICs, and get the broker's market records, each with its EPIC and instrument name. Start here to get the EPIC that the other market and trading tools need, then use cap_market_get for dealing rules. Give search_term or epics; with neither it is refused with INVALID_REQUEST. The search tool runs the same lookup for clients th …
  • cap_market_sentiment — Get client sentiment for one market: the percentage of Capital.com clients holding long versus short positions in it. Use it as a positioning gauge next to cap_market_prices. Read-only.
  • cap_session_login — Log in to Capital.com with the credentials configured on the server, or confirm that the current session is still valid. Rarely needed: the other tools log in on demand. With account_id the session ends on that account, whether it is a new login or a reused session (cap_session_switch_account does the same switch alone); this lasts until the session is re-created, then the broker's default account …
  • cap_session_logout — End the broker session and clear the stored session tokens; does nothing when not logged in. Any later tool call logs in again with the configured credentials, so this does not lock the server.
  • cap_session_ping — Ping the broker to keep the current session alive and extend its timeout; logs in first if there is no session. Use it during long pauses between calls. cap_session_status shows the local session state without calling the broker.
  • cap_session_status — Show the local session state: environment (demo/live), whether logged in, the active account id and an estimate of the seconds until the session token expires. Local only: it makes no broker call and never logs in. Use cap_session_login to start a session; the other tools log in on their own when needed.
  • cap_session_switch_account — Make another account on the same login the active one (balances, positions and trades then refer to it). It lasts until the session is re-created (a new login after about 10 minutes idle or on expiry), which falls back to the broker's default account; set CAP_DEFAULT_ACCOUNT_ID to keep one account for good. Trade results carry an account marker to check. Find ids with cap_account_list; cap_session …
  • cap_stream_alerts — Watch up to 40 EPICs over a WebSocket and report ticks whose mid price ((bid+offer)/2) is at or above (ABOVE) or at or below (BELOW) each alert's level; a level already passed hits on the first tick. Waits up to duration_s seconds (default 30, max 600); auto_close=true returns once every alert has triggered. Returns at most 100 triggered_alerts (truncated=true when more fired; alerts_triggered cou …
  • cap_stream_candles — Stream live OHLC bars for up to 40 EPICs at one or more resolutions over a WebSocket and return them when the stream ends. Holds the call open for duration_s seconds (default 30, max 600; make several calls for longer), keeps at most one bar per EPIC and resolution per update_interval_s and returns the last 100. Needs CAP_WS_ENABLED=true (in the Claude Desktop extension: Live streaming); your clie …
  • cap_stream_portfolio — Watch all open positions over a WebSocket for duration_s seconds (default 30, max 600) and return timestamped snapshots: the first at once, then at most one per update_interval_s as prices move (the last 20). Each has total_pnl and, per position, deal_id, epic, direction, size, open_level, current_price (closing side), pnl (the broker's) and currency; positions_monitored counts those open at the s …
  • cap_stream_prices — Stream live bid/offer ticks for up to 40 EPICs over a WebSocket and return them when the stream ends. Holds the call open for duration_s seconds (default 30, max 600; make several calls for longer), keeps at most one tick per EPIC per update_interval_s and returns the last 100. Needs CAP_WS_ENABLED=true (in the Claude Desktop extension: Live streaming); your client's tool timeout must exceed durat …
  • cap_trade_confirm_get — Read the broker's deal confirmation for a deal reference once and return it as the broker sent it: dealStatus (ACCEPTED or REJECTED) and the resulting dealId. Use it to check a deal sent with wait_for_confirm=false or one that came back TIMEOUT; to keep polling until the broker decides, use cap_trade_confirm_wait. Read-only.
  • cap_trade_confirm_wait — Poll the broker's deal confirmation for a deal reference until it is ACCEPTED or REJECTED or timeout_s passes. Returns the confirmation with status set to its dealStatus, or {"status": "TIMEOUT"}. TIMEOUT is ambiguous: the deal may still have gone through, so check cap_trade_positions_list or cap_trade_orders_list before retrying anything. For one read use cap_trade_confirm_get. Read-only.
  • cap_trade_execute_position — Place a real market order on the configured account from an unexpired, passing cap_trade_preview_position preview. Needs confirm=true, trading on and room under the open-position limit; dry-run blocks it. Allowlist, daily and size limits are checked again with the current settings (EPIC_NOT_ALLOWED / RISK_LIMIT). A preview executes once by default. PREVIEW_CHECKS_FAILED: failed checks; PREVIEW_ACC …
  • cap_trade_execute_working_order — Place a real working order (pending LIMIT/STOP) on the configured account (demo or live) from an unexpired, passing cap_trade_preview_working_order preview. Needs confirm=true and trading on; dry-run blocks it. Allowlist, daily and working-order size limits are checked again with the current settings (EPIC_NOT_ALLOWED / RISK_LIMIT). By default a preview executes once. PREVIEW_CHECKS_FAILED: failed …
  • cap_trade_orders_amend — Change a real working order that has not triggered yet: trigger level, expiry, stop-loss or take-profit. Give at least one field. Fields you do not mention are kept (a trailing stop becomes fixed); remove_stop / remove_profit remove a side. A side held as a distance must be restated (stop_distance / profit_distance) or removed, else INVALID_REQUEST and nothing is sent. No preview, allowlist or siz …
  • cap_trade_orders_cancel — Cancel a real working order that has not triggered yet, on the configured account. Needs confirm=true and trading enabled (dry-run mode blocks it); the EPIC allowlist is not applied. To exit an open position, use cap_trade_positions_close instead. A TIMEOUT confirmation is ambiguous: check cap_trade_orders_list before retrying. The result names the account (demo/live).
  • cap_trade_orders_list — List the active account's working orders (pending LIMIT/STOP orders that have not triggered yet), each with its deal id, market, direction, size and level. Use it to find the deal_id for cap_trade_orders_amend and cap_trade_orders_cancel, and to reconcile after a TIMEOUT. Open positions are listed by cap_trade_positions_list. Read-only.
  • cap_trade_positions_amend — Change the stop-loss and/or take-profit of a real open position. Pass at least one field to change (none is refused with INVALID_REQUEST). The stop and take-profit you do not mention are kept; remove_stop / remove_profit remove them. A trailing stop is kept on a best effort basis (re-sent at the current distance). No preview, allowlist or size check; confirm=true and enabled trading are required ( …
  • cap_trade_positions_close — Close a whole open position at market on the configured account: a real trade. Needs confirm=true and trading enabled (dry-run mode blocks it); the EPIC allowlist is not applied, so any open position can be closed. To remove a pending order that has not triggered, use cap_trade_orders_cancel. A TIMEOUT confirmation is ambiguous: check cap_trade_positions_list before retrying. The result names the …
  • cap_trade_positions_get — Get one open position by deal id, with its direction, size, open level, stop and limit and the market's current prices. Use it to check a position after executing or amending it; cap_trade_positions_list shows all of them at once. Read-only.
  • cap_trade_positions_list — List all open positions on the active account, each with its deal id, market, direction, size, open level, unrealised P&L and any stop or limit. Use it to check exposure, to find the deal_id for cap_trade_positions_get, cap_trade_positions_amend and cap_trade_positions_close, and to reconcile after a TIMEOUT. Pending orders are listed by cap_trade_orders_list. Read-only.
  • cap_trade_preview_position — Check a market order (buy or sell now) without sending it: trading enabled, EPIC allowed, daily order limit, market open (fails when the market is closed), size against the broker's rules and the size limit. A stop or take-profit level cannot be combined with a distance or amount for the same side. If all_checks_passed is true, pass preview_id to cap_trade_execute_position; by default a preview ex …
  • cap_trade_preview_working_order — Check a working order (a pending LIMIT or STOP order that triggers at level) without sending it. Same checks as cap_trade_preview_position with the working-order size limit, but a closed market does not fail it. A stop or take-profit level cannot be combined with a distance or amount for the same side. Nothing is sent to the broker. If all_checks_passed is true, pass preview_id to cap_trade_execut …
  • cap_watchlists_add_market — Add one market (EPIC) to an existing watchlist. Needs confirm=true; it does not need trading to be enabled, but dry-run mode blocks it. Undo with cap_watchlists_remove_market.
  • cap_watchlists_create — Create a new, empty watchlist on the account. Needs confirm=true; it does not need trading to be enabled, but dry-run mode blocks it. Add markets afterwards with cap_watchlists_add_market (the new id is in the response or in cap_watchlists_list).
  • cap_watchlists_delete — Delete a whole watchlist from the account; positions and orders are not affected. Needs confirm=true; it does not need trading to be enabled, but dry-run mode blocks it. To remove a single market use cap_watchlists_remove_market.
  • cap_watchlists_get — Get one watchlist with the markets it contains (with their EPICs). Take watchlist_id from cap_watchlists_list. Read-only.
  • cap_watchlists_list — List the watchlists saved on the account, with their ids and names. Use cap_watchlists_get to see the markets in one of them. Read-only.
  • cap_watchlists_remove_market — Remove one market (EPIC) from a watchlist; the watchlist itself stays. Needs confirm=true; it does not need trading to be enabled, but dry-run mode blocks it. To delete the whole watchlist use cap_watchlists_delete.
  • fetch — Get one market's details by EPIC as {id, title, text, url, metadata}, where text is the full cap_market_get response serialised as JSON. It exists for clients (such as ChatGPT deep research) that require a tool named fetch with this result shape; other clients should call cap_market_get directly. Read-only.
  • search — Search markets by name and return up to 20 results as {id, title, url}, where id is the EPIC and title the instrument name. It exists for clients (such as ChatGPT deep research) that require a tool named search with this result shape, and runs the same broker lookup as cap_market_search, which returns the full market records and takes more options. Read-only.

Consultez les observations signées, les ensembles d’outils antérieurs et leurs différences dans la fiche interactive ou via /api/v1/servers/027928eb5e82140e.

io.github.SimonTarara62

Transparency log · MCP tool definitions

Every MCP server's tools, on the record.

Your AI client trusts the tool descriptions an MCP server sends it — and a server can change them after you approved it. HISTOR keeps a public, signed record of what every remote MCP server in the official registry advertised, and tells you the day it changed.

Remote endpoints: it lists tools and never calls one. Registry packages: bounded canary calls run inside the isolated sandbox. It never says a server is safe — it tells you what was said, and when.

DRAG TO ORBIT
SIM
—

WebGL is unavailable here. The picture is the log itself: each label is a leaf, leaf hashes climb a Merkle tree, and a signed tree head seals the root.

—
Registry remote endpoints
last completed crawl
—
Targets with a pinned tool set
current
—
Changes
last 7 days
—
Labels in the log
all time
—
Last signed tree head
UTC

What HISTOR is for

Tool descriptions are instructions. They should not change behind your back.

The problem

A server can change what your model reads

When you connect an MCP server, its tool descriptions go straight to the model as instructions. A server can pass your review with harmless descriptions and change them next week — one added sentence is all a prompt injection needs, and most clients never ask you again.

What HISTOR does

It keeps the public record

Every six hours (every 30 minutes for a week once its tools have changed twice) HISTOR reads what each remote (streamable-HTTP) endpoint in the official MCP registry advertises, fingerprints it, signs what it saw and appends it to a log that can only grow. When a server's definitions change, the change gets a date and a diff.

What you get

A second pair of eyes you can check

Look up any server before you trust it. Paste what your client received and learn whether everyone else sees the same thing. Follow changes in a feed, or put a badge in your README. Every answer is signed, so you can verify it instead of believing it.

Who it is for

People who use MCP serversin Claude, Cursor or any client — check a server before you connect it, and again when it changes.
Agent builderswhose agents connect to servers on their own — call /check before trusting a tool set.
Registries and directoriesthat want more than stars and download counts — show when a listing's tools last changed.
Server authorswho want to show a stable, documented history — add the badge, and every change you ship is dated in public.

Four words used on this page

Tool definitions
The name, description and input schema of each tool a server offers — the text your model reads.
Pinned
HISTOR has recorded a fingerprint (digest) of the exact definitions it saw, so any later change is detectable.
Label
One signed statement about one observation: what was seen, what matched, whether it changed. Anyone can verify it offline.
Signed tree head
The log's signed summary after each crawl. Comparing two of them proves nothing was deleted or rewritten in between.

Read → digest → label → append → sign → compare

How the log works

Six steps, every one of them checkable by someone who does not trust HISTOR. The only thing you have to take on faith is that the observation happened when the label says it did — and the log makes it impossible to change that story afterwards.

01

Read

Remote endpoints in the official MCP registry: initialize, then tools/list, drained across every page; no tool is called, and private addresses are refused before the connection opens. npm and PyPI packages: installed and started in the sandbox described below, with no route out.

02

Digest

The tool set is reduced to name, description, input and output schema, sorted by UTF-16 code units and hashed over its RFC 8785 canonical form. Anyone holding the same tools gets the same digest — which is what makes a comparison possible.

03

Label

Four MTL/1 methods, one signed AWR/2 document each: what was observed, what the WARDEN pattern set matched, whether the definitions changed since the last label, and whether the name is on a threat list. No score, ever.

04

Append

Every label becomes a leaf of an RFC 9162 Merkle tree: leaf hash = SHA-256(0x00 ‖ JCS(label)). The label you download is the leaf input, so you can recompute its hash yourself.

05

Sign

After each crawl HISTOR signs a tree head: the size and the root. Keep yesterday's head; ask for a consistency proof to today's; if anything was removed or rewritten, the proof fails.

06

Compare

Each day a continuity label compares the new digest with the last one. Equal: "unchanged since". Different: a change, with the date and a per-tool diff. A client that checks what it received adds the view no crawler has.

Where an npm or PyPI package is run

Test conditions

A package observation is true for these conditions, and no others. Every package page names the exact image it ran in and any configuration it was given.

System

Linux x86_64, inside gVisor (runsc): the package talks to a kernel written for sandboxing, not to the host's. An unprivileged user, no capabilities, a read-only root.

Runtimes

npm packages in histor-node:22, PyPI packages in histor-python:3.12: the official node:22-bookworm-slim and python:3.12-slim images plus bash, git, Python 3 or Node 22 and a Java 21 runtime — never Docker — built when a sandbox host is installed. A package whose Requires-Python excludes 3.12 runs on histor-python:3.13 or 3.14; one that requires a newer Node runs again on histor-node:24. The exact image a package ran in is on its page.

Install

npm with --ignore-scripts, then the install scripts in a traced stage of their own. PyPI: wheels only — a package that ships only source is reported, never built.

Network

No route out. Every name the package looks up resolves to HISTOR's own traps, which record what was sent and forward nothing. A server that needs the internet to start shows that here.

Secrets

None are real. Decoy credentials sit in HOME and a decoy .env in the working directory. A variable the package says it needs gets a placeholder; where the placeholder was sent is recorded.

Limits

512 MB of memory, one CPU, 64 MB of /tmp. 360 s to install, 150 s to start and answer; up to 15 tools called once each with canary arguments, 8 s per call.

Configuration

Only names: required variables its registry entry declares or that it printed when it exited, and a start argument such as serve when its usage text offers one. Never a value from anyone else.

What a label does not say

The profile HISTOR implements forbids the words safe, secure, audited, certified, approved and trusted. Here is why, in the terms of what the log can and cannot show.

Not a safety rating

A pattern match is a reason to read a definition, not a finding. Three of the four methods can never return fail. There is no score to rank by, because no score HISTOR could compute would mean what a reader takes it to mean.

Not the code

Labels are about advertised text. A remote endpoint's source is never read and its tools are never invoked; a package runs only in the sandbox, against nothing real. A server can keep identical definitions and behave differently for real users; the log cannot see that, and says so inside every label.

A change is not an accusation

A version bump changes definitions too. A change is shown as a date and a diff, in amber, never red. What you do with it is yours: re-read, re-approve, or pin the old digest.

A package as run here, not on your machine

An npm or PyPI server is observed under the test conditions above: Linux, no internet, placeholder keys. One that needs Windows, a real account or the network may show fewer tools or none; its page says why it exited.

One operator, one key

Today one party runs the log. A second observer on another network is the next step, and any AIMarket hub can run one. Until then, what the key proves is who said it — not that it is true.

Behind a login, unseen

Endpoints that require authentication answer 401 to everyone without a key, including HISTOR. They are counted and listed as not observed, never dropped from the numbers.

Other logs, the same servers

Outside checks

HISTOR is not the only public record of MCP tool definitions. Where another log publishes its reads, the two are compared on the same servers and days, and the result is published both ways, with HISTOR's own misses.

ScraperWatch

A daily diff of a fixed panel of about 3,000 remote endpoints. HISTOR compares each of their published days with its own reads, and ScraperWatch shows the result on its page under "Outside check". The first comparison found a robots.txt parsing limit on their side and a handshake regression on HISTOR's; both were fixed the same day.

scraperwatch.com/mcp-changes
/datasets/peers/scraperwatch/latest

heldfast

An open daily record of the tool definitions of the servers in the official MCP registry. Of the 23,190 servers both logs recorded on 26 October 2026, 21,215 had every field in both; on those, 97.9% of servers and 99.1% of tools were identical byte for byte, and each difference has a stated cause: package versions, read times, failed reads, a first page only, an older protocol.

github.com/rufat325/heldfast
/datasets/interop-digests-2026-10-31

For clients, registries and server authors

Use it

Before your agent trusts a server, send the tools it received. The answer is signed by the log's did:key and names the tree head it was given under.

curl -sS https://histor.modelmarket.dev/api/v1/check \
  -H 'Content-Type: application/json' \
  -d '{"endpoint":"https://example.com/mcp","tools":[ …tools/list result… ],"contribute":true}'
# -> {"type":"histor.check/v1","match":"same"|"different"|"previously-observed"|"same-other-revision"|…,
#     "observed":{"unchangedSince":"…","changes":0}, "patternScan":{…}, "signature":{…}}

# Only looking a server up: a GET with its endpoint (writes nothing)
curl -sS "https://histor.modelmarket.dev/api/v1/check?endpoint=https://example.com/mcp"

# README badge for your server
[![MCP tool defs](https://histor.modelmarket.dev/badge/<id>.svg)](https://histor.modelmarket.dev/s/<id>)

# Atom feed of every observed change
https://histor.modelmarket.dev/feed.xml
WARDENchecks definitions at connect
HISTORremembers what was advertised
THEMISadmits at publish
Hublists histor.check@v1
AWRthe signed format

Questions

Is this a marketplace listing?

No. The server list is the log's index: every remote endpoint in the official MCP registry, with what HISTOR could observe about it. Nothing here is for sale and nothing is ranked by quality.

Does HISTOR tell me a server is safe?

No, and it never will. It tells you what a server advertised, whether that changed, and which published patterns matched the text. Whether to trust the server is your decision — HISTOR makes sure you decide on the same facts as everyone else.

Why are so many servers "not observed"?

Most remote MCP endpoints require a login (they answer 401 to anyone without a key), some use the legacy SSE transport or need per-user values in the URL, and some are simply down. They stay on the list with the reason, so the numbers never hide them.

How do I check a server I already use?

Open the Check tab, paste the server's endpoint and the tools/list result your client received, and press Check. You get back, signed, whether HISTOR observed the same definitions — or different ones, or an older set.

What does HISTOR record when a tool definition changes?

HISTOR records tool names, descriptions and input schemas from tools/list, plus any output schemas the server returns. Each change compares the newly observed list with the previous list from the same server. A full diff shows tools added or removed, word-level edits to descriptions, and old and new schema values at the JSON paths that changed. If either observation has only names, the diff is limited to names. HISTOR tracks annotations such as readOnlyHint separately when it captures them.

Browse observed changes · Example diff (JSON) · Original question on DEV

How do I get a badge for my server?

Find your endpoint on the Servers tab, open it, and copy the Markdown snippet under the facts. The badge shows the date your definitions were pinned or last changed, and links to the full history.

Why should I trust HISTOR itself?

You do not have to. Every label and every tree head is signed with one published key; the Log tab proves in your browser that the log only grew; and the command-line auditor does the same from any machine. What remains is that one operator runs it today — a second, independent observer is the next step.

What does it cost?

Looking things up, the badges, the feed and /check are free. HISTOR also offers histor.check@v1 to the AIMarket Hub, so agents can reach it through the market.

I run an MCP server. What does HISTOR send it, and how do I opt out?

Every 6 hours, and every 30 minutes for a week once its tools have changed twice in a week. First it reads /robots.txt (RFC 9309, product token histor, about once a day per site): a path that file does not allow HISTOR is not read, and its page here says so. Otherwise server/discover and tools/list (MCP 2026-07-28), or, for a server without that, initialize, notifications/initialized and tools/list — never a tool call, never a redirect followed on the MCP path, at most two connections per host, from a User-Agent that starts with histor/. To keep HISTOR out, disallow your MCP path for User-agent: histor (or for all crawlers); to let HISTOR alone in, add User-agent: histor with an Allow line for that path. An issue on the histor repository with your endpoint or host also works: it is then listed as not observed (operator-opt-out), with the reason, rather than silently dropped. Labels already in the log stay: the log only grows.