Normalizes GraphQL, JSON-RPC 2.0, and Cap'n Proto requests into Model Context Protocol (MCP) format via a multi-protocol edge proxy.
Sweet is a multi-protocol edge proxy designed to unify diverse API requests. It intelligently converts GraphQL queries, JSON-RPC 2.0 calls, and Cap'n Proto binary messages into the Model Context Protocol (MCP) format. The server dynamically routes incoming requests, handling them locally when possible or forwarding them to the least-loaded peer in the cluster during high demand. It features robust auto-discovery mechanisms, including secure DNS-based SRV record lookups, mDNS for local networks, and HTTP-based peer exchange, ensuring seamless mesh formation and build compatibility among nodes.