# 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-10-21).

Searches and routes across 500+ indexed MCP servers and A2A tools via a single connection, with token compression and prompt-injection firewall.

## Facts

- Endpoint: GET https://alpha-stream.agentdiet.dev/v1/universal-mcp-gateway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-ff9bd6d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oYshZwZEmki42jMtT4qmr

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-ff9bd6d3
```

Example prompt: Search the universal MCP gateway for tools that handle SEC filings and company enrichment — I want to find the best available endpoint I can route my agent through.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which of 500+ MCP servers or A2A tools can fulfill a capability requirement, without needing to maintain its own tool registry. Particularly useful when building swarm-style agent systems where the right tool is not known at design time, or when you want safe proxied access to external MCP endpoints with built-in prompt-injection protection and token compression.

## Known failure modes

- Query too vague returns no matching tools or overly broad results
- Indexed endpoint is stale or offline at time of routing
- Prompt-Guard firewall blocks a legitimate query if it resembles an injection pattern
- Payment not processed via x402 v2 results in 402 error before any results are returned
- Queried URL is not a valid MCP or A2A endpoint, returning a compliance 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/universal-mcp-gateway)

## Output

Returns a list of matching MCP servers or A2A tools with their capability metadata, compressed descriptions, and routing information. Results are filtered through a Prompt-Guard firewall to prevent prompt-injection attacks before being returned to the caller.

## 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-ff9bd6d3/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)
