# MCP Server Probe: Health, Tools & Latency Checker (`hydrocore/mcp-server-probe`) Actor

Check remote MCP servers before an AI agent connects: reachable, transport, auth required, server name and version, protocol version, tool, prompt and resource counts, tool names, description quality, schema size in tokens, latency and a health verdict.

- **URL**: https://apify.com/hydrocore/mcp-server-probe.md
- **Developed by:** [Hydrocore Data](https://apify.com/hydrocore) (community)
- **Categories:** Developer tools, AI, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 mcp server probeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-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 Probe: Health, Tools, Schema Size, Latency & Auth Checker

Check **remote MCP (Model Context Protocol) servers before an AI agent connects to them**. Give it one or many server URLs and get one flat row per server: is it **reachable**, which **transport** it speaks, does it **require auth**, **server name and version**, **protocol version**, how many **tools, prompts and resources** it exposes, the **tool names**, how many tools lack a useful description, the **size of all tool definitions in tokens**, **handshake and tools/list latency** and a plain **health verdict** (healthy, degraded, auth-required or down). No login and no API key are needed for public servers.

### ✅ What you get

- Health verdict: healthy, degraded, auth-required or down
- Transport (Streamable HTTP or legacy SSE), protocol version, HTTP status
- Server name, version and instructions length
- Tool, prompt and resource counts and the tool names
- Tools without a useful description and average description length
- Estimated tokens of all tool definitions
- Handshake and tools/list latency in milliseconds
- Authentication hint (WWW-Authenticate) for protected servers

### 🏆 Why this Actor

- **Made for the MCP era:** the same handshake an agent client performs (initialize, initialized, tools/list, prompts/list, resources/list), run for you and summarized.
- **Context cost visible:** estimated tokens of all tool definitions, so you can see which servers will eat an agent's context window.
- **Quality signals:** tools without descriptions, very large tool sets, slow handshakes and the deprecated legacy SSE transport are flagged in plain language.
- **Flat, fixed JSON:** the same 25 keys on every row, missing values are null, plus a one-sentence summaryText for agents.
- **Fair billing:** one charge per probed server. Invalid URLs, blocked private hosts, duplicates and filtered servers are never charged.

### 💡 Use cases

- AI agent builders: vet a remote MCP server before adding it to a client
- MCP server authors: smoke-test your own endpoint after every deploy and track tool count and schema size
- Agent platforms and directories: keep listings honest by checking that listed servers still answer
- DevOps: schedule a run and alert on down or degraded servers
- Researchers: measure how many public MCP servers are alive, protected or use the legacy transport

### 🚀 How to use

1. Enter one or more **MCP server URLs** (the Streamable HTTP endpoint, for example https://mcp.deepwiki.com/mcp).
2. Optional: add request headers for a server you own, keep only problems and pick a sort.
3. Run, then open **Overview**, **Tools & quality** or **Connection & auth**, or call the Actor from an agent via the API or MCP.

### ⚙️ Input

| Field | What it does |
|---|---|
| `servers` | One MCP server URL per line. Bare hosts get https://. The prefilled example list is used when the input is empty. |
| `headers` | Optional extra HTTP headers for every server, for example an Authorization header for a server you own. |
| `onlyProblems` | Save only down, degraded and auth-required servers; healthy ones are skipped and not charged. |
| `sortBy` | input, problemsFirst, slowestFirst or mostToolsFirst. |
| `maxResults` | Cap on saved servers after sorting (default 100, maximum 1000). |

Example input:

```json
{
  "servers": [
    "https://mcp.deepwiki.com/mcp",
    "https://mcp.linear.app/mcp",
    "https://example.com/mcp"
  ],
  "sortBy": "problemsFirst"
}
```

### ⬆️ Output

One row per server. Invalid URLs and blocked private hosts get a free row with `recordType` = `status` and the reason in `summaryText`. Every row has the same 25 keys in the same order; missing values are `null`. The example is a real row from a test run of the current build.

Overview fields:

| Field | Type | Example | Description |
|---|---|---|---|
| `serverUrl` | string | "https://mcp.deepwiki.com/mcp" | The MCP endpoint that was probed (normalised, https:// added when missing). |
| `health` | string | "healthy" | healthy, degraded, auth-required or down. Healthy = handshake and tools/list worked; degraded = connected with a problem (no tools, slow, legacy SSE); auth-required = HTTP 401/403; down = not an MCP server or no answer. |
| `serverName` | string | "DeepWiki" | serverInfo.name from the initialize response. |
| `serverVersion` | string | "4.0.2" | serverInfo.version from the initialize response. |
| `toolCount` | integer | 3 | Number of tools returned by tools/list (all pages, up to 5 pages). Null when the list was not returned. |
| `promptCount` | integer | 0 | Number of prompts from prompts/list. Null when the server does not declare prompts. |
| `resourceCount` | integer | 0 | Number of resources from resources/list. Null when the server does not declare resources. |
| `initializeMs` | integer | 226 | Time for the initialize request, in milliseconds. |
| `schemaTokensEstimate` | integer | 428 | Rough size of all tool definitions in tokens (JSON characters / 4); this is what the server costs an agent in context. |
| `summaryText` | string | "DeepWiki 4.0.2 is healthy: 3 tools, 0 prompts, 0 resources,… | One plain-English sentence for an AI agent or a review. |

All 25 fields (in order): `recordType`, `serverUrl`, `health`, `reachable`, `transport`, `authRequired`, `httpStatus`, `serverName`, `serverVersion`, `protocolVersion`, `toolCount`, `promptCount`, `resourceCount`, `toolNames`, `toolsMissingDescriptionCount`, `avgToolDescriptionChars`, `schemaTokensEstimate`, `initializeMs`, `toolsListMs`, `instructionsChars`, `issues`, `authHint`, `summaryText`, `inputValue`, `scrapedAt`.

Real row from a test run of the current build:

```json
{
  "recordType": "server",
  "serverUrl": "https://mcp.deepwiki.com/mcp",
  "health": "healthy",
  "reachable": true,
  "transport": "streamable-http",
  "authRequired": false,
  "httpStatus": 200,
  "serverName": "DeepWiki",
  "serverVersion": "4.0.2",
  "protocolVersion": "2025-06-18",
  "toolCount": 3,
  "promptCount": 0,
  "resourceCount": 0,
  "toolNames": [
    "ask_wiki_question",
    "read_wiki_contents",
    "read_wiki_structure"
  ],
  "toolsMissingDescriptionCount": 0,
  "avgToolDescriptionChars": 71,
  "schemaTokensEstimate": 428,
  "initializeMs": 226,
  "toolsListMs": 206,
  "instructionsChars": 3890,
  "issues": null,
  "authHint": null,
  "summaryText": "DeepWiki 4.0.2 is healthy: 3 tools, 0 prompts, 0 resources, handshake 226 ms, about 428 tokens of tool definitions.",
  "inputValue": "https://mcp.deepwiki.com/mcp",
  "scrapedAt": "2026-11-16T20:55:16.349Z"
}
```

Views: **Overview**, **Tools & quality**, **Connection & auth**, **Detailed (all fields)**. Export as JSON, CSV, Excel, XML or HTML from the Storage tab or the API (`/datasets/{id}/items?format=csv&view=overview`). The run summary (`OUTPUT` record in the key-value store) counts inputs, invalid URLs, duplicates, blocked hosts, probed, healthy, degraded, auth-required, down, filtered, over the cap and saved servers, plus the sort order.

### 💰 Pricing

Competitive pricing, pay per result: **$0.004 per probed server** on the Free plan, less on higher plans, plus the $0.0005 Actor start. The default run (3 servers) costs about $0.0125; checking 100 servers costs about $0.40. Invalid URLs, blocked private hosts, duplicates and filtered servers are never charged.

| Event | What it is | Free | Bronze | Silver | Gold+ |
|---|---|---|---|---|---|
| MCP server probed | One MCP server probed and saved (health verdict, transport, auth, server and protocol version, tool, prompt and resource counts, tool names, description quality, schema size, latency). Invalid URLs, blocked private hosts, duplicates and filtered servers are free. | $0.004 | $0.0036 | $0.0034 | $0.0032 |
| Actor start | Once per run (Apify standard start event, per GB of memory; the default 256 MB = one fee) | $0.0005 | $0.0005 | $0.0005 | $0.0005 |

### 🔁 Integrations

Works with the Apify API, MCP (AI agents), Make, n8n, Zapier, Google Sheets and webhooks. Field names are stable camelCase, so mappings do not break between runs.

### ❓ FAQ

**What is an MCP server?**

The Model Context Protocol (MCP) lets AI assistants and agents call tools, read resources and use prompts exposed by a server. Remote MCP servers are reached over HTTP.

**What does the probe actually do?**

It performs the standard client handshake against the URL: an initialize request, the initialized notification, then tools/list (all pages, up to 5), and prompts/list and resources/list when the server declares them. It then closes the session. It never calls a tool.

**Which transports are supported?**

Streamable HTTP (the current MCP transport) is probed fully. The older HTTP+SSE transport is only detected and reported as degraded, because newer clients expect Streamable HTTP.

**What does health mean?**

healthy: handshake and tool list worked with no problems. degraded: it answers but has a problem (no tools returned, no tool list, slow handshake over 3 seconds or legacy SSE only). auth-required: HTTP 401 or 403. down: not reachable as an MCP server.

**Can it check servers that need a login or API key?**

Only if you pass your own credentials in headers. Without them the row says auth-required and includes the WWW-Authenticate hint. Never use someone else's credentials.

**How are schema tokens estimated?**

The JSON of all tool definitions is measured and divided by 4, a common rough rule for tokens. Real counts differ by model, but the ranking between servers is reliable.

**Why are some counts null?**

promptCount and resourceCount are null when the server does not declare that capability. toolCount is null when no tool list came back.

**Is it safe to point at any URL?**

Only public http(s) hosts are probed. Localhost, private network addresses and hosts that resolve to them are skipped for free.

**Can I monitor my servers on a schedule?**

Yes. Schedule the Actor with your server list and set onlyProblems to true; you only pay when something is down, degraded or needs auth.

**Is it good for AI agents?**

Yes. Tiny input, flat rows and a summaryText sentence let an agent decide in one call whether an MCP server is worth connecting to.

### 🛟 Support

Found a problem or need a field? Open an issue on the Issues tab; we read every issue.

### Changelog

- 1.0 (2026-11-16): first release.

# Actor input Schema

## `servers` (type: `array`):

One remote MCP server URL per line (Streamable HTTP endpoints such as https://mcp.deepwiki.com/mcp). Bare hosts get https://. Duplicates are skipped for free. The prefilled example list is used when the input is empty.

## `headers` (type: `object`):

Optional extra HTTP headers sent to every server, for example {"Authorization": "Bearer <token>"} for a server that needs a key you own. Never share a key you do not own. Leave empty for public servers.

## `onlyProblems` (type: `boolean`):

Save only servers that are down, degraded or need authentication. Healthy servers are skipped and never charged.

## `sortBy` (type: `string`):

Row order. input keeps your order, problemsFirst lists down, degraded and auth-required servers first, slowestFirst sorts by handshake time, mostToolsFirst by tool count.

## `maxResults` (type: `integer`):

Cap on saved servers (sorted first, then capped). Default 100, maximum 1000.

## Actor input object example

```json
{
  "servers": [
    "https://mcp.deepwiki.com/mcp",
    "https://docs.mcp.cloudflare.com/mcp",
    "https://mcp.context7.com/mcp"
  ],
  "onlyProblems": false,
  "sortBy": "input",
  "maxResults": 100
}
```

# Actor output Schema

## `overview` (type: `string`):

Health, server, tool count, handshake time and verdict.

## `tools` (type: `string`):

Tool names, description quality and schema size.

## `connection` (type: `string`):

Transport, protocol, status, auth and latency.

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

Every field for each row.

## `summary` (type: `string`):

Run summary: inputs, invalid URLs, duplicates, blocked hosts, probed, healthy, degraded, auth required, down, filtered, over the cap, saved and status rows.

# 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 = {
    "servers": [
        "https://mcp.deepwiki.com/mcp",
        "https://docs.mcp.cloudflare.com/mcp",
        "https://mcp.context7.com/mcp"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydrocore/mcp-server-probe").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 = { "servers": [
        "https://mcp.deepwiki.com/mcp",
        "https://docs.mcp.cloudflare.com/mcp",
        "https://mcp.context7.com/mcp",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("hydrocore/mcp-server-probe").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 '{
  "servers": [
    "https://mcp.deepwiki.com/mcp",
    "https://docs.mcp.cloudflare.com/mcp",
    "https://mcp.context7.com/mcp"
  ]
}' |
apify call hydrocore/mcp-server-probe --silent --output-dataset

```

## MCP server setup

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

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/se2CrGxG4Jyvt1exl/builds/ySFCQhSKai5AgbNKv/openapi.json
