← All integrations

Model Context Protocol integration

Wrap Ontario's paid endpoints as MCP tools. Each tool descriptor advertises its USDC price; the MCP host can budget before invoking.

Reference docs: https://modelcontextprotocol.io/  |  Machine-readable: /integrations/mcp.json

Snippet

{
  "name": "ontario-protocol",
  "version": "1.0.0",
  "tools": [
    {
      "name": "agent_trust_scan",
      "description": "Scan an agent endpoint (paid: 0.01 USDC via x402).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "target_url": {"type": "string"}
        },
        "required": ["target_url"]
      },
      "x402": {
        "endpoint": "https://ontarioprotocol.com/api/x402/agent-trust-scan",
        "method": "POST",
        "price_usdc": "0.01",
        "network": "base"
      }
    }
  ]
}

Endpoints wired

Want to test without paying? Use POST /api/demo/agent-trust-scan — free, rate-limited, same response shape.