Scan an MCP server
scan_mcp_serverScan a live MCP server's tool definitions for tool poisoning, prompt injection and hidden characters before your agent connects. Returns Safe to connect, Review before you connect, or Do not connect with the reason, a 0-100 trust score, findings, and a signed attestation. Read-only; calls agentavow.com. Example: {"endpoint_url": "https://mcp.deepwiki.com/mcp"}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endpoint_url": "<endpoint_url>"
},
"name": "scan_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Re-scan now instead of returning the cached verdict (results cache ~1h). | |
| endpoint_url | Yes | The MCP server's https:// URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| high | No | High findings, static and sandbox. | |
| tier | No | Trust tier for the score (detail, not the headline). | |
| cached | No | Served from the ~1h cache. | |
| signed | No | True when a signed (Ed25519/JWS) attestation backs this. | |
| target | Yes | What was scanned, as given. | |
| install | No | Install command, only when nothing blocks it. | |
| sandbox | No | What the behavioral sandbox observed; null if it does not apply. | |
| verdict | Yes | Binary form of the decision, kept for older clients. | |
| adoption | No | The adoption score: real usage (downloads per week, stars or installs). Never changes the decision. | |
| critical | No | Critical findings, static and sandbox. | |
| decision | Yes | The answer to lead with: safe = Safe to connect, review = Review before you connect, do_not_connect = Do not connect. | |
| incident | No | Known past compromise (context only, never scored). | |
| certified | No | Matches the signed attestation's certified.eligible. | |
| subscores | No | Per-category 0-100 scores behind the trust score. | |
| deprecated | No | The maintainer's deprecation notice, or null. | |
| report_url | Yes | Full report page. | |
| scanned_at | No | When the scan ran (ISO 8601, UTC). | |
| verify_url | No | How to verify offline. | |
| not_checked | No | Plain-English notes for what the scan could not read or check (empty when it read everything). Say these alongside the answer. | |
| target_type | Yes | github, npm, pypi, crates, docker, hf, or mcp. | |
| trust_score | Yes | Trust score, 0-100. Evidence under the decision. | |
| published_at | No | When that version was published. | |
| top_findings | No | Up to five most important findings. | |
| coverage_gaps | No | Machine form of not_checked: gap kinds (e.g. tool_list_paged, oversized_files) with a flag or count. Empty when nothing was skipped. | |
| certified_mark | No | Certified and safe: show the Certified mark. | |
| decision_final | Yes | False while the behavioral sandbox is still running; the decision can still change. | |
| findings_total | No | All findings, every severity. | |
| rescan_pending | No | A fresh scan was started; this is the previous result. | |
| verdict_reason | No | Machine reason for the binary verdict, e.g. clean, clean_partial (clean, but not everything was read), blocking_findings, thin_coverage. | |
| decision_reason | Yes | One sentence naming what decided it. | |
| package_version | No | Package version scanned. | |
| report_json_url | No | The full verdict as JSON. | |
| static_findings_total | No | Findings from static analysis only. | |
| advisories_affecting_version | No | Published advisories that affect this version. |