# X402-Broker Universal MCP Gateway & Multi-Agent Swarm Router

> Single-connection MCP gateway discovering and executing 490+ verified MCP & A2A tools.

- name: com.x402broker/mcp-gateway
- version: 7.0.17
- connection class: R0 (autonomous)
- trust: 87/100 flags: duplicate-repo
- quality: 88/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.x402broker%2Fmcp-gateway
- tools: https://api.protogrid.dev/v1/servers/com.x402broker%2Fmcp-gateway/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "mcp-gateway": {
      "type": "http",
      "url": "https://x402broker.com/api/mcp"
    }
  }
}
```


## Trust

- hygiene: 60
- liveness: 98
- freshness: 100
- provenance: 85
- drivers: +repository +dns-namespace +website +reachable +uptime-94% +updated-17d-ago -duplicate-repo(33 names)
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 88/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 93 (weight 30)

- pass `tools.descriptions`: every tool has a description
- warn `tools.description_length`: 2 tools have descriptions over 1,024 characters, which crowds the context
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 19 of 19 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 3,171 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 19, about 3,171 tokens to load them all
- tool set hash: 178e2c49aa5c81aca4ffc7048d2d6be5
- badge: [![protogrid quality](https://protogrid.dev/badge/com.x402broker/mcp-gateway.svg)](https://protogrid.dev/servers/com.x402broker/mcp-gateway)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://x402broker.com/api/mcp (streamable-http, auth none, reachable true, uptime30d 0.93846154)

## Packages

_none_

## Tools (19)

- `cancel_cart`: Cancel an active shopping cart session by cart_id. Example: cancel_cart(cart_id='cart_1')
- `cancel_checkout`: Cancel an uncommitted checkout session by checkout_id. Example: cancel_checkout(checkout_id='chk_1')
- `complete_checkout`: Finalize checkout settlement via Base USDC x402 or Stripe MPP. Example: complete_checkout(checkout_id='chk_1')
- `create_cart`: Create a new shopping cart with initial line items. Example: create_cart(line_items=['agd-pass-2000'])
- `create_checkout`: Create a UCP checkout session for API passes or credits. Example: create_checkout(line_items=['agd-pass-2000'])
- `execute_marketplace_tool`: Execute any of the 16 native AgentDiet B2A tools by slug or proxy an external marketplace tool URL ($0.001-$0.02 per call). WHEN TO USE: Call to run a single tool discovered via search_x402_mcp_marketplace; use execute_workflow_bundle when you want to run a 4-tool composite bundle in parallel. WHEN NOT TO USE: Do not use for catalog search (use search_x402_mcp_marketplace) or wallet checks (use get_agent_wallet_status). PARAMETER INTERACTIONS: Set target_tool to a native slug (e.g. 'distill', 'token-intel', 'sec-intel', 'github-audit') or external https:// URL, and pass its primary input in input_value. Omit agent_id and tx_hash during your 5 free calls. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: execute_marketplace_tool(target_tool='example')
- `execute_workflow_bundle`: Execute a 4-tool native workflow bundle in parallel in a single call ($0.015-$0.03) and return a unified dossier, saving 3 LLM round-trips. WHEN TO USE: Call for comprehensive multi-source due diligence on a token, company domain, repository, or research topic; use execute_marketplace_tool when you only need a single tool. WHEN NOT TO USE: Do not use for single-endpoint queries or free catalog search. PARAMETER INTERACTIONS: Select bundle_id first and provide the matching entity identifier (token/0x address, domain, repo, or URL) in target. Omit agent_id and tx_hash during your 5 free calls. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: execute_workflow_bundle(bundle_id='example')
- `get_agent_wallet_status`: Inspect an agent's account ledger: remaining free trial calls (out of 5), prepaid USD balance, cumulative spend, total API calls, and total LLM tokens saved. WHEN TO USE: Call before a batch of paid tool executions or after completing a Stripe or USDC top-up to confirm your balance. WHEN NOT TO USE: Do not use to process web content, execute marketplace tools, or submit payments; use the other tools on this server for execution. PARAMETER INTERACTIONS: Omit agent_id to inspect the default trial account derived from your client IP, or pass your explicit agent_id or agd_pass_ session key to check a specific funded wallet. Free and read-only: never charges a fee or consumes a free trial call. Example: get_agent_wallet_status(agent_id='example')
- `get_cart`: Retrieve current shopping cart items and totals by cart_id. Example: get_cart(cart_id='cart_1')
- `get_checkout`: Retrieve checkout session status and totals by checkout_id. Example: get_checkout(checkout_id='chk_1')
- `get_order`: Retrieve fulfilled order receipt and API pass key by order_id. Example: get_order(order_id='ord_1')
- `get_product`: Retrieve full product or API pass metadata by product_id. Example: get_product(product_id='agd-pass-2000')
- `get_product_details`: Retrieve product pricing and variant IDs by product_id. Example: get_product_details(product_id='agd-pass-2000')
- `lookup_catalog`: Batch lookup catalog items by product identifier list. Example: lookup_catalog(ids=['agd-pass-2000'])
- `search_catalog`: Search the UCP product and API credit catalog by keyword. Example: search_catalog(query='pass')
- `search_shop_policies_and_faqs`: Search store privacy, refund, terms of service, and SLA policies. Example: search_shop_policies_and_faqs(query='refund')
- `search_x402_mcp_marketplace`: Search 490+ indexed MCP and HTTP 402 (x402) tools by capability keyword and return ranked endpoints with pricing, trust scores, and SLA tiers. WHEN TO USE: Call first to discover which native slug or external endpoint matches your task before calling execute_marketplace_tool. WHEN NOT TO USE: Do not use to execute a tool directly (use execute_marketplace_tool or execute_workflow_bundle). PARAMETER INTERACTIONS: Pass capability keywords or a domain in query; omit agent_id and tx_hash (this discovery tool is always free and never consumes a free trial call). Example: search_x402_mcp_marketplace(query='example')
- `update_cart`: Update line item quantities in an active shopping cart. Example: update_cart(cart_id='cart_1', line_items=[])
- `update_checkout`: Update buyer or payment rail details on a checkout session. Example: update_checkout(checkout_id='chk_1')
