mcptools

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterContext

func RegisterContext(s *server.MCPServer, reg *registry.Registry)

func RegisterDeploy

func RegisterDeploy(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, creds *credentials.Store, agentToken string)

func RegisterDiagnostics

func RegisterDiagnostics(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, auditLog *audit.Log)

func RegisterExecute

func RegisterExecute(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, auditLog *audit.Log)

func RegisterHistory

func RegisterHistory(s *server.MCPServer, auditLog *audit.Log)

func RegisterImportExport

func RegisterImportExport(s *server.MCPServer, reg *registry.Registry)

func RegisterInventory

func RegisterInventory(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)

func RegisterMultiNode

func RegisterMultiNode(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, auditLog *audit.Log)

func RegisterNodeOps

func RegisterNodeOps(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)

func RegisterPackage

func RegisterPackage(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)

func RegisterPatch

func RegisterPatch(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, auditLog *audit.Log, patchCfg *PatchConfig)

func RegisterProcess

func RegisterProcess(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)

func RegisterSchedule

func RegisterSchedule(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool, auditLog *audit.Log)

func RegisterTopology

func RegisterTopology(s *server.MCPServer, reg *registry.Registry)

func RegisterTransfer

func RegisterTransfer(s *server.MCPServer, reg *registry.Registry, pool *agentclient.Pool)

func SetHealthMonitor

func SetHealthMonitor(m *healthmon.Monitor)

SetHealthMonitor stores the health monitor for use by all tool handlers.

func SetOpsRegistry

func SetOpsRegistry(r *ops.Registry)

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.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL