Documentation
¶
Overview ¶
Package agentmcp serves the Encounter engine toolset over the Model Context Protocol so a standalone PicoClaw instance (or any MCP client) can play through the same tools the in-app agent uses.
Index ¶
Constants ¶
const ServerName = "encx-engine"
ServerName is the implementation name advertised to MCP clients.
Variables ¶
This section is empty.
Functions ¶
func NewElicitConfirmer ¶
func NewElicitConfirmer() agenttools.Confirmer
NewElicitConfirmer returns a Confirmer that puts mutating calls to the MCP client through elicitation. Pass it as agenttools.Options.Confirmer when building a catalog for PolicyApprove.
func NewServer ¶
NewServer publishes a catalog as an MCP server.
Under agenttools.PolicyApprove every mutating call is put to the client through MCP elicitation, which is the protocol's equivalent of the in-app confirmation sheet. Clients that do not support elicitation get a refusal rather than a silent mutation.
Types ¶
This section is empty.