Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface {
Render(ctx context.Context, state *domain.State) ([]domain.ActionRequest, bool, error)
Inspect() ([]domain.Node, error)
}
Engine defines the interface required by the MCP server to interact with Trellis.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps the Trellis Engine and exposes it as an MCP Server.
func NewServer ¶
func NewServer(engine Engine, loader ports.GraphLoader) *Server
NewServer creates a new MCP Server instance.
func (*Server) ServeStdio ¶
ServeStdio starts the server on Stdin/Stdout.
Click to show internal directories.
Click to hide internal directories.