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

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

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/mcp-router?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-a2927af4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8thXzYqeGCuHb_r4nlEtq

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-a2927af4 -d '<json body>'
```

Example prompt: Search your MCP tool index for any servers that handle SEC filings or public company financial intelligence — I need the best match for pulling 10-K data.

## When to prefer this

Choose this endpoint when your agent needs to dynamically discover which MCP server or A2A tool to use for a given capability at runtime, rather than hardcoding a specific tool. Ideal for agent orchestration frameworks, swarm routing scenarios, or when building meta-agents that need to select from a broad ecosystem of 500+ tools. Preferred over manually curating tool lists, and especially useful when token budget is a concern due to the 85% compression feature.

## Known failure modes

- Empty or vague query string returns no matches or overly broad results
- Query for a capability not indexed returns empty result set
- Prompt injection attempts blocked by Prompt-Guard firewall, returning a rejection notice
- Payment failure via x402 returns HTTP 402 with payment details
- Malformed query (missing required 'query' field) returns validation error
- Downstream MCP server unavailable causes routing failure for that tool

## 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-router)

## Output

Returns a ranked list of matching MCP server endpoints or A2A tools from the 500+ indexed catalog, with compressed tool descriptions (up to 85% token reduction) and Prompt-Guard firewall filtering applied. Results include tool metadata, capability summaries, and routing information needed to invoke the matched tool.

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