Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildMCPHandler ¶ added in v0.14.20
BuildMCPHandler initialises the connector layer (DB + connectors bootstrap) and returns a ready-to-serve MCP handler + admin context. Callers must either call ServeStdioOS (for the production stdio path) or ServeStdio with a custom reader/writer (for exec/test paths).
func RunMCPStdio ¶ added in v0.5.1
func RunMCPStdio(version, commit, buildTime string)
RunMCPStdio initialises the connector layer and serves MCP JSON-RPC over stdin/stdout. Intended for local clients (Claude Desktop, Cursor).
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) JobsSvc ¶ added in v0.12.0
JobsSvc returns the manager.Service the API server owns. Exposed so the single-node `lab all` entrypoint can hand it to worker.RunScheduler — both the HTTP handlers and the cron loop then share one Service, avoiding the double-fire race two independent Services would have.