MCP Server Check API
Connect to a remote MCP server, run initialize and tools / prompts / resources list, validate against the 2025-11-25 spec, check OAuth and risky tool text.
Give the url of a remote Model Context Protocol server. The checker speaks Streamable HTTP (JSON or SSE answers, Mcp-Session-Id, MCP-Protocol-Version) and falls back to the legacy HTTP+SSE transport. It runs initialize, notifications/initialized, tools/list (all pages), prompts/list and resources/list when declared, plus one unknown-method probe, and closes the session. It never calls a tool unless you name one with call_tool (+ arguments).
Checks: JSON-RPC shape, negotiated protocol version, serverInfo and capabilities; per tool: name length and characters (spec 2025-11-25), duplicates, missing descriptions, inputSchema / outputSchema structure (types, properties, required), annotations; error code for unknown methods. Security heuristics flag descriptions with prompt-injection patterns (ignore instructions, hide from the user, <IMPORTANT> tags, secret files such as ~/.ssh, hidden steps, sending data elsewhere), invisible Unicode, encoded blobs and shadowing of common tool names.
On HTTP 401 it checks the OAuth discovery chain: WWW-Authenticate with resource_metadata, protected resource metadata (RFC 9728), authorization server metadata (RFC 8414 / OpenID), PKCE S256 and client registration. Pass token to check a protected server (used for this request only, never stored). format=badge returns an SVG badge for your README. Verdict: pass, warn or fail.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
url | query | string | yes | MCP endpoint, e.g. https://mcp.example.com/mcp (or the /sse URL of a legacy server). | |
token | body|query | string | no | Bearer token for protected servers (prefer POST so it is not in logs of proxies). | |
transport | query | string | no | auto | auto, streamable or sse (legacy). |
call_tool | body|query | string | no | Name of one tool to call with arguments (off by default). | |
arguments | body|query | object | no | JSON object of arguments for call_tool. | |
protocol_version | query | string | no | 2025-11-25 | Protocol version offered in initialize. |
timeout | query | number | no | 15 | Total time budget in seconds (3–25). |
format | query | string | no | badge: SVG badge instead of JSON. |
Example
curl "https://apibox.io.vn/v1/mcp-check?url=https://mcp.deepwiki.com/mcp" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/mcp-check?url=https://mcp.deepwiki.com/mcp', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/mcp-check?url=https://mcp.deepwiki.com/mcp",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/mcp-check?url=https://mcp.deepwiki.com/mcp');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"url": "https://mcp.deepwiki.com/mcp",
"checked_at": "2026-11-16T04:02:26.925Z",
"transport": "streamable_http",
"http_status": 200,
"auth_required": false,
"server": {
"name": "DeepWiki",
"title": null,
"version": "4.0.2",
"protocol_version": "2025-11-25",
"capabilities": [
"logging",
"prompts",
"resources",
"tools"
],
"instructions": "DeepWiki MCP provides AI-powered documentation for GitHub repositories. …",
"session": false
},
"tools": [
{
"name": "ask_wiki_question",
"title": "Ask Wiki Question",
"description": "Ask any question about a GitHub repository's codebase and get an AI-powered answer\ngrounded in its DeepWiki.",
"params": [
"repoName",
"question"
],
"required": [
"repoName",
"question"
],
"has_output_schema": true,
"annotations": null,
"issues": 0
},
{
"name": "read_wiki_contents",
"title": "Read Wiki Contents",
"description": "View documentation about a GitHub repository.",
"params": [
"repoName"
],
"required": [
"repoName"
],
"has_output_schema": true,
"annotations": null,
"issues": 0
},
{
"name": "read_wiki_structure",
"title": "Read Wiki Structure",
"description": "Get a list of documentation topics for a GitHub repository.",
"params": [
"repoName"
],
"required": [
"repoName"
],
"has_output_schema": true,
"annotations": null,
"issues": 0
}
],
"tools_count": 3,
"prompts_count": 0,
"prompts": [],
"resources_count": 0,
"resources": [],
"verdict": "pass",
"summary": {
"errors": 0,
"warnings": 0,
"infos": 0,
"ms": 3651
},
"issues": [],
"note": "Only initialize, notifications/initialized, tools/list, prompts/list, resources/list and one unknown-method probe are sent; tools/call only when \"call_tool\" is given. The token is used for this check only and is not stored."
}
Use cases
- Regression-test your MCP server in CI after every deploy
- Review a third-party MCP server for poisoned tool descriptions before adding it to Claude, Cursor or VS Code
- Debug OAuth discovery when a client cannot connect
- Show a "MCP: pass" badge in the README of your server
FAQ
Does it run my tools?
No. Only listing calls are sent. A tool is called only when you pass call_tool with its arguments, so you decide if it is safe.
Which transports are supported?
Streamable HTTP (the current transport, JSON or SSE answers) and the deprecated HTTP+SSE transport as a fallback. Local stdio servers cannot be reached from the internet.
Is the token stored?
No. It is sent to the server for this check only and is not logged or kept. Use a short-lived, read-only token where possible.
Related APIs
UUID Generator
Generate up to 1,000 UUID v4, time-ordered UUID v7, ULID, Nano ID or random hex IDs per request. Secure randomness, optional uppercase.
⏱Cron Expression Parser
Validate a cron expression and get its next run times in any timezone, with a plain-English description. Supports 5, 6 and 7-field cron syntax.
🕒Time & Timezone Converter
Get the current time in any timezone, convert between timezones and Unix timestamps (seconds or ms), with UTC offset and weekday for up to 30 zones.