Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateInternalName ¶ added in v0.1.11
GenerateInternalName converts a server name to a DNS-1123 compliant name that can be used as a Docker Compose service name or Kubernetes resource name. Export this function so that the runtime can use this to construct the name of MCP to connect to
Types ¶
type AgentRunRequest ¶
type AgentRunRequest struct {
RegistryAgent *models.AgentJSON
EnvValues map[string]string
// Registry-type MCP servers resolved from agent manifest at deploy time to inject into the agent
ResolvedMCPServers []*MCPServerRunRequest
}
type MCPServerRunRequest ¶
type Translator ¶
type Translator interface {
TranslateMCPServer(
ctx context.Context,
req *MCPServerRunRequest,
) (*api.MCPServer, error)
TranslateAgent(
ctx context.Context,
req *AgentRunRequest,
) (*api.Agent, error)
}
Translator is the interface for translating MCPServer objects to AgentGateway objects.
func NewTranslator ¶
func NewTranslator() Translator
Click to show internal directories.
Click to hide internal directories.