BotsRated

Help › How-tos

MCP tool: check_mcp_setup

purpose

Check MCP servers in a config or a list of hosts. Free. Up to 50 hosts or an mcp.json: last handshake, tool count, tools-hash change date, receipt link. No required args; pass hosts, text, mcp_json, or config.

call

Protocol: MCP Streamable HTTP. POST https://botsrated.com/mcp Headers: Content-Type: application/json Accept: application/json, text/event-stream No auth. GET /mcp returns 405 (live). Start with tools/list if needed.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "check_mcp_setup",
    "arguments": {
    "hosts": [
        "api.agentweather.io"
    ]
}
  }
}

The tool result is usually result.content[0].text (a JSON string) plus result.structuredContent. Paid tools that are unpaid return HTTP 200 with a PaymentRequired payload inside the tool result (not a JSON-RPC error). result.isError is true for tool-level errors such as missing fields or invalid_handle.

sample_response

source: live prod MCP tools/call, charged:false fetched: live production, 24 Nov 2026 (counts redacted) trimmed: true

{
  "charged": false,
  "service": "BotsRated",
  "covered": 1,
  "requested": 1,
  "skipped": 0,
  "servers": [
    {
      "host": "api.agentweather.io",
      "covered": true,
      "type": "x402",
      "last_handshake": null,
      "last_checked": "2026-11-24T20:08:52Z",
      "tool_count": null,
      "tools_hash_changed_at": null,
      "receipt_url": "https://botsrated.com/receipt/5b4ef51f8503b18845b6?host=api.agentweather.io&day=2026-11-24",
      "page": "https://botsrated.com/s/api.agentweather.io"
    }
  ],
  "input_rules": "We read only hostnames (and, if you paste mcp.json, each server's url/serverUrl/httpUrl). Public 0x or Solana addresses are compared to payTo values our unpaid checks already quoted; we don't read the chain and we don't store those addresses. Never paste a private key or seed phrase. Nothing is fetched or stored from your wallet.",
  "next": {
    "step": "Next: watch this host free (api.agentweather.io), or check again later. Verify this receipt later: https://botsrated.com/receipt/5b4ef51f8503b18845b6?host=api.agentweather.io&day=2026-11-24.",
    "receipt_url": "https://botsrated.com/receipt/5b4ef51f8503b18845b6?host=api.agentweather.io&day=2026-11-24",
    "watch_free": "api.agentweather.io",
    "check_again": true
  }
}

errors

codewhenfix
hosts over capMore than 50 hosts (hosts_over_cap in the body).Split the list. Same 50-host cap as POST /v1/dependency-watch/report.
skipped / local serversCommand/stdio MCP servers have no host to measure (see input_rules and the HTTP no_hosts error).Pass only remote http(s) server URLs or hostnames. Never paste a private key.

notes