@nogoo9/no-crd / index / registerSpawnerTools
Function: registerSpawnerTools()
registerSpawnerTools(
server,k8sContext,enabledTools):void
Defined in: src/mcp/spawner/index.ts:48
Registers workspace management tools (the Spawner subsystem) with the MCP Server. Registered tools:
list_workspaces: Lists active agent workspaces (pods labeled nogoo9/type=workspace).stop_workspace: Deletes/terminates a workspace pod.spawn_workspace: Configures and deploys a workspace pod using templates/spec with annotations.get_workspace: Fetch details of a single workspace by ID.get_workspace_events: Fetch event logs of a workspace by ID.upgrade_workspace: Upgrade a workspace to the latest version.upgrade_all_workspaces: Upgrade all outdated workspaces.
Parameters
server
McpServer
The MCP Server instance.
k8sContext
Active Kubernetes API client context.
enabledTools
string[]
List of tool names that are allowed/enabled to be registered.
Returns
void
