Goakt is a production-oriented distributed gateway library built in Go, leveraging the actor model to manage Model Context Protocol (MCP) workloads. Rather than acting as a simple JSON-RPC proxy, it functions as an operational control plane, handling tool lifecycle, session affinity, supervision, routing, credential brokering, policy enforcement, and auditability. It addresses the inherent challenges of stateful, concurrent, and failure-prone MCP workloads by building upon the GoAkt framework, ensuring clear supervision and lifecycle boundaries for tools, sessions, and control-plane workflows.
Características Principales
01Tenant-aware policy enforcement, quotas, and auditing with OpenTelemetry observability
02Programmatic Go API for MCP tool invocation and management
03Support for both stdio and HTTP-based MCP transports
04Per-tool supervision, circuit breakers, passivation, and backpressure
05Cluster-aware routing and failover with Kubernetes and DNS-SD discovery
061 GitHub stars
Casos de Uso
01Orchestrating diverse MCP workloads, handling both local child processes and remote service execution
02Building resilient AI agents that require robust tool invocation, supervision, and lifecycle management
03Implementing an operational control plane to manage tool lifecycle, routing, and policy enforcement in distributed systems