Documentation
¶
Overview ¶
Package mcpserver provides the Traceary MCP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server provides the Traceary MCP server.
func NewServer ¶
func NewServer( serverVersion string, extraRedactPatterns []string, structuredRedactRules []redaction.RuleConfig, auditMaxInputBytes int, auditMaxOutputBytes int, event usecase.EventUsecase, session usecase.SessionUsecase, memory usecase.MemoryUsecase, contextUsecase usecase.ContextUsecase, storeManagement usecase.StoreManagementUsecase, opts ...ServerOption, ) (*Server, error)
NewServer creates a new MCP server.
type ServerOption ¶ added in v0.31.0
type ServerOption func(*Server)
ServerOption configures optional MCP server dependencies.
func WithEventMetadata ¶ added in v0.31.0
func WithEventMetadata(eventMetadata usecase.EventMetadataUsecase) ServerOption
WithEventMetadata configures body-free event reads for metadata projections.
func WithReport ¶ added in v0.31.0
func WithReport(report usecase.ReportUsecase) ServerOption
WithReport configures the shared body-free aggregate report.
Click to show internal directories.
Click to hide internal directories.