Sweet icon

Sweet

1

Normalizes GraphQL, JSON-RPC 2.0, and Cap'n Proto requests into Model Context Protocol (MCP) format via a multi-protocol edge proxy.

Acerca de

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.

Características Principales

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

Casos de Uso

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