# Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router

> Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router is a paid API for AI agents from mcp-security.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Searches and routes queries across 500+ indexed MCP servers and A2A tools with token-compressed results and a prompt-injection firewall

## Facts

- Endpoint: GET https://mcp-security.agentdiet.dev/v1/workflows/code-release-security-gate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: mcp-security.agentdiet.dev
- Website: https://mcp-security.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/mcp-security-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-554ec36a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zr88Z4jYOZN1qqL_fv1ij

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-security-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-554ec36a
```

Example prompt: Can you search the MCP tool index for capabilities around 'github security auditing' and route me to the best matching server with a compressed summary?

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover available MCP servers or A2A tools at runtime without hardcoding individual tool URLs. Ideal for swarm orchestration scenarios where the agent must find the best capability for a given task from a large index, especially when token budget is constrained (85% compression) or when prompt-injection safety is a concern.

## Known failure modes

- Empty results if the query is too niche or no indexed tools match
- Prompt-Guard firewall may block or sanitize queries containing injection patterns
- HTTP 402 payment required if x402 credentials are missing or invalid
- Timeout if the meta-router cannot reach indexed MCP backends within SLA
- Malformed query (missing required 'query' field) returns validation error

## How this service works

Single-connection meta-router indexing 500+ MCP servers & A2A tools with 85% token compression and Prompt-Guard firewall. (Live x402 v2, IETF MPP & MCP endpoint at https://mcp-security.agentdiet.dev/v1/workflows/code-release-security-gate)

## Output

Returns a compressed list of matching MCP servers or A2A tools relevant to the query, including endpoint metadata, capability descriptions, and safety-filtered results, with up to 85% token reduction compared to raw tool manifests.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mcp-security-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-554ec36a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-security.agentdiet.dev](https://www.zero.xyz/host/mcp-security.agentdiet.dev/llms.txt)
