Sweet

•
7
•

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.

主な機能

011 GitHub stars
02Git-hash based build compatibility verification
03Load-based intelligent request routing
04Automated peer discovery (DNS, mDNS, HTTP)
05Multi-protocol request normalization (GraphQL, JSON-RPC 2.0, Cap'n Proto to MCP)
06Integrated security features (JWT authentication, rate limiting, health checks)

ユースケース

01Dynamically load balancing requests across multiple service nodes based on system load
02Proxying and unifying diverse API request formats (GraphQL, JSON-RPC, Cap'n Proto) into MCP
03Building scalable and distributed MCP clusters with automatic node discovery