Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadSkillInput ¶
type ReadSkillInput struct {
Name string `json:"name" jsonschema:"name of the skill to read"`
}
ReadSkillInput is the input type for read_skill tool
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server provides an MCP server that exposes skill operations
func (*Server) ReportSkillUsage ¶
ReportSkillUsage reports usage of a skill to the vault. This function runs in a goroutine and is best-effort - it will not block the MCP call.
func (*Server) SetUsageReporter ¶
func (s *Server) SetUsageReporter(reporter UsageReporter)
SetUsageReporter sets a custom usage reporter (for testing)
type UsageReporter ¶
type UsageReporter interface {
ReportSkillUsage(skillName, skillVersion string)
}
UsageReporter handles reporting skill usage
Click to show internal directories.
Click to hide internal directories.