# 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 alpha-stream.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

Meta-router that searches and proxies 500+ MCP servers and A2A tools by capability query, with token compression and prompt-injection firewall.

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/mcp-gateway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: alpha-stream.agentdiet.dev
- Website: https://alpha-stream.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/alpha-stream-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-5ce973e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Na_dR5vju5NUhibdtUKF9

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 alpha-stream-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-5ce973e4 -d '<json body>'
```

Example prompt: Search across all the MCP servers and A2A tools you have indexed to find me something that handles SEC filings — give me the best match with its connection details.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which MCP server or A2A tool can handle a given capability at runtime, rather than hardcoding a specific tool. Especially useful in swarm or orchestrator architectures where the right downstream tool isn't known ahead of time. The built-in Prompt-Guard firewall and token compression make it preferable over rolling your own tool registry when safety and efficiency matter.

## Known failure modes

- Query string too vague — returns zero or low-confidence matches
- Queried capability not indexed among the 500+ servers — returns empty result
- Prompt-Guard firewall blocks a query it classifies as adversarial
- Payment not processed (x402) — returns 402 Payment Required
- Upstream MCP server is offline — proxy returns timeout or degraded result
- Malformed query (empty string) — 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://alpha-stream.agentdiet.dev/v1/mcp-gateway)

## Output

Returns a ranked list of matching MCP servers or A2A tool cards relevant to the capability query, including connection metadata, with 85% token-compressed payloads and Prompt-Guard firewall applied to filter prompt-injection risks.

## 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/alpha-stream-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-5ce973e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alpha-stream.agentdiet.dev](https://www.zero.xyz/host/alpha-stream.agentdiet.dev/llms.txt)
