BotsRated

Pin your MCP servers in CI

Write down what each server answers today, commit it, and let CI tell you when that answer changes.

Pin check details

Why pin a remote server

A package you depend on changes only when you bump its version. A remote MCP server changes whenever its owner deploys: a tool can be added, removed or reworded, and a server that answered without a login can start asking for one. Your agent reads the new tool list on its next run. A pin is a short record of what the server answered when you last looked, kept in your repository, so a difference shows up as a failed check instead of a surprise.

Step 1: make a pin for each server

Ask for a lock entry for each remote server URL in your mcp.json:

curl -s "https://botsrated.com/v1/pin/lock?url=https://mcp.example.com/mcp"

The answer is signed. Keep its pin object (url, tools_sha256, tool_count, auth_sha256) in a file such as botsrated-pins.json:

{"pins": [{"url": "https://mcp.example.com/mcp", "tools_sha256": "<64 hex>", "tool_count": 12, "auth_sha256": "<64 hex>"}]}

Only the servers in our probe set can be pinned. A server that is not covered answers host_not_covered.

Step 2: check the pins on every build

Send the file to the pin check (up to 25 pins per call) and fail the step when anything changed:

- name: Check MCP pins
  run: |
    curl -sf -X POST https://botsrated.com/v1/pin/check \
      -H 'content-type: application/json' --data @botsrated-pins.json -o pin-check.json
    jq -r '.results[] | "\(.status) \(.mcp.url // .input) \(.changed | join(","))"' pin-check.json
    test "$(jq '.summary.changed' pin-check.json)" = "0"

Each pin comes back as match, changed (with the fields that differ), unreachable_at_last_check or not_covered. The whole answer is signed with key botsrated-prod-3; /verify-yourself shows how to check it.

Step 3: read what changed before you update the pin

A changed pin means our latest check of that server saw a different tool-list hash, tool count or login answer from the one you pinned. It is a fact about the server's answer, not a finding about the server. Before you replace the pin, read the change: the server's page (/s/<host>#changes) lists tool-list and login changes with the signed record behind each one.

How BotsRated measures this

Every measured fact on this site links to the signed record behind it. If a record about your own service looks wrong, use /disputes.

All guides · Methodology