Documentation
¶
Overview ¶
Package mcp implements the MCP interface for ARTF. This package provides an MCP (Model Context Protocol) wrapper around the gRPC RTBExtensionPoint service, allowing AI agents to interact with ARTF via MCP tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent wraps the MCP server with ARTF-specific functionality. It delegates all business logic to the underlying gRPC ARTFAgent.
func (*Agent) GetFederationManager ¶
func (a *Agent) GetFederationManager() *federation.Manager
GetFederationManager returns the federation manager
func (*Agent) GetMCPServer ¶
GetMCPServer returns the underlying MCP server for custom configuration
func (*Agent) Handler ¶
Handler returns an HTTP handler for the MCP endpoint with CORS support. This can be mounted on an existing mux to serve MCP alongside other routes.
func (*Agent) SetFederationManager ¶
func (a *Agent) SetFederationManager(fm *federation.Manager)
SetFederationManager sets the federation manager for federated GRPC calls