/discovery/search gets both HTTP endpoints and MCP tools back in the same result set, distinguished only by the type field.
What gets cataloged
When a StellarX402-aware MCP server starts, it publishes the tools it hosts through the facilitator’s/discovery/publish endpoint. Each tool is cataloged with:
name— the MCP tool name.description— the MCP tool description, indexed for search.inputSchema— the MCP JSON schema, stored verbatim.payment— scheme, network, asset, and price (or ceiling).
Wire example
From the agent’s side
Agents filter with?type=mcp when they want tool candidates:
X-Payment header the same way an HTTP client would. See MCP Integration for Agents.