# MCP Server Readiness Scanner (`tankster_ai/mcp-trust`) Actor

Check a remote MCP server before your agents use it. Read-only checks of transport, auth and tool hygiene, each with evidence, a fix and its public source. Batch runs, or an MCP server for agents.

- **URL**: https://apify.com/tankster_ai/mcp-trust.md
- **Developed by:** [Tankster AI](https://apify.com/tankster_ai) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $100.00 / 1,000 readiness scans

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## MCP Server Readiness Scanner

**Is your remote MCP server ready for agents and for directory review?** This Actor runs a **read-only readiness scan** of a remote MCP server (Streamable HTTP) and tells you what an MCP client or a reviewer is likely to trip over. Each finding gives the **evidence**, **how to fix it** and the **public source** it is judged against (the MCP specification or an OAuth RFC).

Give it up to 10 URLs and get one dataset item per server, with a **0 to 100 score**, a verdict, and the full JSON and markdown reports. Or connect your agent to its **MCP server** and call `scan_mcp_server` yourself.

The scanner is `connector-readiness`, ported to TypeScript and held to the Python's results byte for byte. It is built by Tankster AI.

> **Not affiliated with Meta.** The scanner was built for teams applying to Meta's Muse connector platform. Meta has not published its review criteria. The checks come from the public MCP specification, the OAuth RFCs it cites and public descriptions of the submission form. A clean report does not mean a connector will be approved. Every report carries this disclaimer.

### Safety: what this Actor will and will not do

- **Scan only servers you own or are authorised to test, or that their operator documents as public.** For a public server you do not run, keep the minimal profile and a small budget.
- **Minimal profile and a small budget by default.** This Actor runs the minimal profile only: discovery or the `initialize` handshake, and `tools/list`. The default budget is 10 requests, and the most a scan can send is 30. A minimal scan of a typical server sends 2 to 4.
- **A time limit.** A scan stops after 25 seconds, and one response may be at most 1 MiB, the limits of the hosted product's free scan. A scan stopped by the time limit is free.
- **Read-only.** Only `GET` and `POST` are sent, and only allowlisted JSON-RPC methods. **No tool is ever called.**
- **No credentials.** The Actor never sends a token, a cookie or an `Authorization` header. A URL with a user name or password in it is refused, and the item shows it with the credentials replaced.
- **No Host spoofing.** You give a URL, not headers. The `Host` header is always the URL's own host.
- **Public addresses only.** URLs must be `https://`. Private, loopback, link-local and internal addresses and names are refused before anything is sent (for example `10.0.0.0/8`, `192.168.0.0/16`, `127.0.0.1`, `169.254.169.254`, `::1`, `fc00::/7`, `*.internal`, `*.local`, and every other block that IANA's special-purpose address registries mark as not globally reachable; for IPv6, anything outside global unicast `2000::/3`). Every connection a scan makes, including a redirect or an advertised metadata host, is checked again after DNS resolution: a public name that resolves to a private address is refused, not connected to.
- **No probes.** The full profile, which fetches a server's authorization metadata and sends protocol probes (an unsupported protocol version, malformed requests, a foreign `Origin` and an invalid token), is not offered here. It runs in Tankster AI's hosted product, MCP Trust, after a verified ownership proof of the server.

### What does it check?

The scanner's catalogue has 53 checks in 7 categories:

| Category | Checks | In this Actor |
|---|---|---|
| Transport | 11 | Yes, except the 4 protocol probes the minimal profile does not send |
| Authorization | 8 | AU-01. The rest fetch auth metadata, which the minimal profile does not |
| Tool hygiene | 10 | Yes |
| Protocol extensions (optional) | 7 | Yes. Absence is never a failure; `skills/list` and `skills/get` are sent only to a server that declares the Skills extension |
| Response safety | 4 | No: they read the output of an opt-in tool call, and this Actor never calls a tool |
| Listing readiness | 8 | No: they need a listing manifest |
| Raw API | 5 | No: they are for raw HTTP APIs, not MCP servers |

Checks that do not run are reported as `skipped`, with the reason, so every report lists all 53. Call `list_checks` for the full list, with each check's severity and public source.

Examples of what the scan finds: an endpoint that is not HTTPS or has an invalid TLS certificate, a server that only speaks the legacy protocol era, an endpoint that redirects, an unauthenticated request that gets no 401 challenge, tools without a valid input schema, instruction-like content, hidden Unicode or encoded blobs in tool metadata, destructive tools without annotations, and error responses that leak internal details.

### How to run a batch scan

Enter your MCP endpoints in **MCP server URLs** and start the Actor. The input form is prefilled with **DeepWiki's public MCP server** (`https://mcp.deepwiki.com/mcp`), which its operator documents as "a free, remote, no-authentication-required service". It is the same server the scanner's published sample report uses.

| Input | Default | What it does |
|---|---|---|
| `urls` | (required) | 1 to 10 MCP endpoints, each `https://` |
| `budget` | `10` | The most HTTP requests one scan may send, 1 to 30 |

Each URL gets one item. A scanned item looks like this (shortened, from a scan of the prefilled server on 20 November 2026):

```json
{
  "url": "https://mcp.deepwiki.com/mcp",
  "status": "scanned",
  "event": "readiness-scan",
  "profile": "minimal",
  "score": 97,
  "verdict": "NO BLOCKING ISSUES FOUND by these checks (see the disclaimer)",
  "counts": { "fail": 0, "error": 0, "warn": 1, "info": 1, "pass": 15, "skipped": 29 },
  "protocol": { "era": "modern", "version": "2026-07-28" },
  "toolCount": 3,
  "requests": { "used": 2, "budget": 10 },
  "fixFirst": [{ "id": "TH-05", "status": "warn", "severity": "low", "title": "Destructive tools carry explicit annotations" }],
  "report": { "findings": ["... all 53 checks with evidence, fix and reference ..."] },
  "reportMarkdown": "# MCP server readiness report ..."
}
```

The **score** is 0 to 100: a pass counts 1, a warn counts a half, a fail or an error counts 0, and info and skipped results are left out. It is for sorting and dashboards. Read the `verdict` and the findings before you act.

A scanned item names the event it is billed as (`"event": "readiness-scan"`); the run's charges in Apify Console show what was billed. A free item has `"status": "error"`, an `error` code, a `message` saying why, and `"charged": false`.

### How to connect your agent (Standby MCP server)

This Actor also runs in **Standby mode**, as an MCP server. Point your MCP client at:

```
https://<username>--mcp-server-readiness-scanner.apify.actor/mcp
Authorization: Bearer <your Apify API token>
```

Apify Console shows the exact MCP URL in the Actor's **Server** tab. For example, in Claude Code:

```
claude mcp add --transport http mcp-readiness https://<username>--mcp-server-readiness-scanner.apify.actor/mcp --header "Authorization: Bearer <your Apify API token>"
```

Tools:

- `scan_mcp_server` takes `url`, and optionally `budget` and `include_markdown`. It returns the same summary and JSON report as a batch item (the markdown report only when you ask for it). **Paid**, one `readiness-scan` event per successful scan.
- `list_checks` returns the 53 checks, which ones this server runs, the profiles and the limits. **Free.**

### Pricing

You pay per successful scan (pay per event):

| Event | Price | When |
|---|---|---|
| `readiness-scan` | **$0.25** | One scan that reached the server and finished, with its score and reports |

So 100 scans cost $25 in scan events, plus platform usage.

- **Free:** any URL that is refused (not `https://`, a private address, credentials in it), a server that cannot be reached (DNS, connection or TLS failure: no HTTP response at all), a host that resolves to a private address, a scan that reaches the time limit (`time_limit`) or stops early on a fault (their partial reports are still given), any refusal described below, and `list_checks`.
- **A scan that reaches the server is charged**, whatever it finds, including a server that answers with errors and a scan that stops at its request budget.
- **A batch run writes the item first, then charges it**, in one call the Apify SDK makes, as Apify asks: a result is charged after it is saved. If a write fails, the run logs it and goes on with the next URL. **The Standby server waits for Apify to confirm the charge before it answers.** Its answer says `"billing": "confirmed"` and lists the charge in `billedEvents`.
- **Platform usage:** a batch run uses 512 MB of memory by default. In Standby, your server runs **in your own Apify account (single-tenant)**, so you also pay for its runs while they are up, including while they wait for requests until the idle timeout stops them. To change the idle timeout (or the memory), open the Actor in Apify Console, select **Save as a new task**, change the task's **Settings**, and connect your MCP client to the task's hostname instead of the Actor's.
- **Run start:** if the Actor's pricing includes Apify's standard start event, it costs $0.00005 per run start at this Actor's memory (one event per start up to 1 GB).

#### Spending limits

- **A batch run's maximum cost** is respected: when it cannot cover another scan, the remaining URLs are not scanned. Each gets a free `spending_limit` item, and the run ends.
- **Your account's monthly usage hard limit** caps spending across all runs: once it is reached, Apify rejects new requests to Server Actors.
- **In Standby, a per-run limit** applies only if the run has one. Apify's pay-per-event limit is per run, not per user, and Standby may start more runs, each with its own limit. When the run you reach has spent its limit, scans are refused with `spending_limit` and nothing is charged; a new run has its own limit.

#### When something is wrong on Apify's side

- **Charge not confirmed (Standby):** if a charge was sent but Apify does not confirm it within a few seconds, or confirms less than it was asked to bill, you still get the report. It carries `"billing": "unconfirmed"` and the notice `charge_unconfirmed`, and `billedEvents` lists only the charges Apify confirmed. Check the run's charges in Apify Console to see what was billed. You already have the report, so there is no need to scan the server again to get it.
- **Billing unavailable (Standby):** only when no charge could be sent at all (Apify's billing could not be read, or failed before sending), the scan is refused with `billing_unavailable`, and nothing was charged.
- **Pricing or setup misconfigured:** if the Actor's pricing does not price the `readiness-scan` event, prices Apify's per-item event, or the Actor is not single-tenant, scans are refused with `pricing_misconfigured` or `tenancy_misconfigured` and nothing is charged. The run's status message says why. `list_checks` keeps working.

### Limits

- At most 10 URLs per batch run, and at most 30 requests per scan. A scan stops after 25 seconds, one response may be at most 1 MiB, and there is at least half a second between requests. A Standby call, scan and charge together, ends well inside Apify's 5-minute request timeout.
- The scan sees only what an anonymous MCP client sees. It does not log in, so a server that requires authentication is checked up to its challenge and its metadata.
- The response-safety checks need an opt-in tool call, the listing checks need a listing manifest, and the protocol probes and auth metadata checks need the full profile. This Actor does none of these, so those checks are always skipped here.
- The checks are automated and heuristic. They judge what the requests reveal, against the public specification, and can be wrong about a server's intent.

### FAQ

**Is it safe to point at someone else's server?** Only if its operator documents it as public, and then use the minimal profile and a small budget. The minimal profile sends 2 to 4 ordinary requests that any MCP client sends when it connects.

**Why was my URL refused?** It is not `https://`, it carries credentials, or it names a private, loopback, link-local or internal address. The item's `message` says which. Nothing was sent and nothing was charged.

**Why is my server "unreachable" when it works for me?** The scan runs from Apify's network. A server behind a VPN, an IP allowlist or a firewall cannot be reached from there. Unreachable scans are free.

**Why are so many checks skipped?** See the table above: some categories need inputs this Actor does not take, and some checks need the full profile, which runs only in the hosted product.

**Where is the full profile?** In Tankster AI's hosted product, MCP Trust, after a verified ownership proof (a file on the server or a DNS record). Probing a server is only fair to its operator, so this Actor, which cannot verify ownership, runs the minimal profile only.

**Where do the checks come from?** Each finding links its public source: the MCP specification (revision 2026-07-28, and 2025-11-25 for legacy servers) or the OAuth RFC it cites.

# Actor input Schema

## `urls` (type: `array`):

Up to 10 remote MCP endpoints (Streamable HTTP), each starting with https://, for example https://mcp.example.com/mcp. No credentials in the URL. Private, loopback, link-local and internal addresses are refused. The prefilled URL is DeepWiki's public MCP server, which its operator documents as free to use without authentication.

## `budget` (type: `integer`):

The most HTTP requests one scan may send. A minimal scan of a typical server needs 2 to 4. The scanner stops at the budget and reports the checks it could not run as skipped.

## Actor input object example

```json
{
  "urls": [
    "https://mcp.deepwiki.com/mcp"
  ],
  "budget": 10
}
```

# Actor output Schema

## `results` (type: `string`):

One item per URL: the summary, the score, the verdict and the JSON and markdown reports, or the error and why it was free.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://mcp.deepwiki.com/mcp"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tankster_ai/mcp-trust").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": ["https://mcp.deepwiki.com/mcp"] }

# Run the Actor and wait for it to finish
run = client.actor("tankster_ai/mcp-trust").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://mcp.deepwiki.com/mcp"
  ]
}' |
apify call tankster_ai/mcp-trust --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tankster_ai/mcp-trust"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/JY02SMEch2SaAhDya/builds/hkTNLrfooPLtfIqUF/openapi.json
