Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
HTTPClient abstracts HTTP calls for testability.
type MemoryOption ¶ added in v0.1.33
type MemoryOption func(*Server)
MemoryOption configures optional memory search for the MCP server.
func WithMemoryAPI ¶ added in v0.1.33
func WithMemoryAPI(dirPath string) MemoryOption
WithMemoryAPI enables memory search tools via the daemon's HTTP API. dirPath is the project directory; if empty, the server falls back to channel_id for lookups.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps the MCP server with tools for task scheduling.
func New ¶
func New(channelID, apiURL, authorID string, httpClient HTTPClient, logger *slog.Logger, opts ...MemoryOption) *Server
New creates a new MCP server with scheduler tools.
func (*Server) DirPath ¶ added in v0.1.33
DirPath returns the project directory used for memory lookups.
Click to show internal directories.
Click to hide internal directories.