Documentation
¶
Index ¶
- func CloseAllForwards()
- func RegisterContext(s *server.MCPServer, reg *registry.Registry)
- func RegisterDeploy(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, ...)
- func RegisterDiagnostics(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, ...)
- func RegisterExecute(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, ...)
- func RegisterForward(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)
- func RegisterHistory(s *server.MCPServer, auditLog *audit.Log)
- func RegisterImportExport(s *server.MCPServer, reg *registry.Registry)
- func RegisterInventory(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)
- func RegisterJobs(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)
- func RegisterMultiNode(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, ...)
- func RegisterNodeOps(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)
- func RegisterPackage(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)
- func RegisterPatch(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, ...)
- func RegisterPortal(s *server.MCPServer)
- func RegisterProcess(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)
- func RegisterSchedule(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, ...)
- func RegisterTopology(s *server.MCPServer, reg *registry.Registry)
- func RegisterTransfer(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)
- func SetHealthMonitor(m *healthmon.Monitor)
- func SetOpsRegistry(r *ops.Registry)
- func SetPortalURL(u string)
- type PatchConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseAllForwards ¶ added in v0.2.0
func CloseAllForwards()
CloseAllForwards releases all active forwards. Safe to call during shutdown.
func RegisterDeploy ¶
func RegisterDeploy(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, creds *credentials.Store, agentToken string)
func RegisterDiagnostics ¶
func RegisterExecute ¶
func RegisterForward ¶ added in v0.2.0
RegisterForward wires the forward_port / stop_forward / list_forwards tools.
func RegisterInventory ¶
func RegisterJobs ¶ added in v0.2.0
RegisterJobs exposes the background-job tools (detached executions).
func RegisterMultiNode ¶
func RegisterNodeOps ¶
func RegisterPackage ¶
func RegisterPatch ¶
func RegisterPatch(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, auditLog *audit.Log, patchCfg *PatchConfig)
func RegisterPortal ¶ added in v0.2.0
RegisterPortal exposes get_portal_url so the AI client can hand the operator a clickable link to the local operations portal without grepping logs.
func RegisterProcess ¶
func RegisterSchedule ¶
func RegisterTransfer ¶
func SetHealthMonitor ¶
SetHealthMonitor stores the health monitor for use by all tool handlers.
func SetOpsRegistry ¶
SetOpsRegistry registers a process-wide operations registry. Tool handlers that opt in via beginOp will record themselves there for the local portal. Safe to leave nil; in that case beginOp is a no-op pass-through.
func SetPortalURL ¶ added in v0.2.0
func SetPortalURL(u string)
SetPortalURL records the bookmarkable portal URL for get_portal_url to return. Pass "" to indicate the portal is unavailable.
Types ¶
type PatchConfig ¶
type PatchConfig struct {
SfpCopySource string // Network share or local path to sfpcopy.exe (dev machine accessible)
CacheDir string // Local cache dir for sfpcopy.exe on the dev machine
}
PatchConfig holds configurable paths for patching.
func NewPatchConfig ¶
func NewPatchConfig(configDir string) *PatchConfig