External MCP Server Manifest & Tool-Poisoning Security Auditor
audit_mcp_server_manifestScans an external MCP server's tools/list manifest to detect tool-name shadowing and hidden prompt-injection directives before mounting a third-party server into an agent session.
Instructions
Scans an external MCP server's initial tools/list manifest to detect tool-name shadowing (read_file, bash) and hidden prompt-injection directives in descriptions. Use when vetting a newly discovered third-party MCP server before mounting it into an agent session; for comparing a previously pinned MCP baseline against a live mid-session tools/list response, use detect_mcp_schema_rugpull instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'manifest_json' ('audit_profile' defaults to 'strict'), supports '?demo=true' or L402 (25 sats), and returns HTTP 400 if invalid.
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": {
"manifest_json": "<manifest_json>"
},
"name": "audit_mcp_server_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audit_profile | No | Sensitivity level for flagging system-tool name shadowing; defaults to 'strict' when omitted. | |
| manifest_json | Yes | JSON string or object containing the external MCP server's tools array to audit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manifest_safe | Yes | True if zero shadowed tools or description injections are found. | |
| security_grade | Yes | Overall manifest safety grade ('A+', 'C', or 'F'). | |
| shadowed_tools | Yes | Tool names attempting to shadow host privileges (e.g. 'bash', 'read_file'). | |
| suspicious_tools | Yes | Tools containing covert prompt-injection or exfiltration instructions. |