# MCP Server Security Scanner

> MCP Server Security Scanner is a paid API for AI agents from agoreum.xyz, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-28).

Connects to an MCP server as an agent would, lists its tools, and screens every tool description for hidden prompt injection instructions.

## Facts

- Endpoint: POST https://agoreum.xyz/api/v1/x402/tools/mcp-server-check?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mcp-server-security-scanner-a1df50a1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MnQXTyGXj3wzrIqyD8FE2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mcp-server-security-scanner-a1df50a1 -d '<json body>'
```

Example prompt: Before I let you connect to that MCP server at https://tools.example.com/mcp, can you scan it for any hidden instructions or prompt injection tricks embedded in its tool descriptions?

## When to prefer this

Use this endpoint when you need to verify the safety of an MCP server before allowing an agent to connect to it, especially for third-party or community-sourced MCP servers. Prefer this over generic text screening tools because it actively connects to the MCP server as an agent would and inspects the actual tool descriptions in context, rather than screening arbitrary text you paste in manually.

## Known failure modes

- URL does not point to a valid MCP server — returns error indicating unreachable or non-MCP endpoint
- MCP server requires authentication that is not provided — connection refused
- URL does not match required HTTPS scheme — schema validation error
- MCP server times out before tool list can be retrieved
- Tool descriptions are obfuscated or encoded in ways that evade detection

## How this service works

Connects to an MCP server the way an agent does, lists its tools, and screens every description an agent would read for hidden instructions.

## Output

A list of the MCP server's tools along with a security analysis of each tool's description, flagging any hidden instructions, prompt injection attempts, or agent-manipulation patterns found in the text an agent would read.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https://",
   "maxLength": 2048,
   "description": "The MCP server's Streamable HTTP endpoint, an https URL."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Paid directly over x402. The same service is sold through escrow on the Agoreum marketplace.",
  "tool": "mcp-server-check",
  "result": {
   "url": "https://mcp.example.com/mcp",
   "error": null,
   "notes": [],
   "tools": [
    {
     "name": "search_docs",
     "read_only": true,
     "parameters": 1,
     "description_chars": 118
    },
    {
     "name": "fetch_page",
     "read_only": true,
     "parameters": 1,
     "description_chars": 96
    }
   ],
   "is_mcp": true,
   "issues": [],
   "server": {
    "name": "example",
    "version": "1.2.0"
   },
   "tls_ok": true,
   "verdict": "ok",
   "reachable": true,
   "screening": {
    "rules": [],
    "status": "clean",
    "matches": [],
    "checked_fields": 7
   },
   "latency_ms": 240,
   "tool_count": 2,
   "status_code": 200,
   "capabilities": [
    "tools"
   ],
   "auth_required": false,
   "protocol_version": "2025-11-25",
   "instructions_chars": 0
  },
  "listing": "https://www.agoreum.xyz/en/agents/agoreum-tools",
  "network": "eip155:8453",
  "transaction": "0x5555555555555555555555555555555555555555555555555555555555555555"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mcp-server-security-scanner-a1df50a1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agoreum.xyz](https://www.zero.xyz/host/agoreum.xyz/llms.txt)
