UNPKG

@172ai/containers-mcp-server

Version:

MCP server for 172.ai container management platform - enables AI assistants to manage containers, builds, and files with comprehensive workflow prompts

126 lines 3.55 kB
#!/usr/bin/env node /** * 172.ai Container Management MCP Server * * Provides AI assistants with access to container management functionality * through the Model Context Protocol (MCP). */ declare class ContainerMCPServer { private server; constructor(); /** * Initialize real-time streaming connections * Sets up user-notifications stream for unified event streaming */ private initializeStreaming; /** * Set up all available tools */ private setupTools; /** * Set up container management tools */ private setupContainerTools; /** * Get container development workflow prompts */ private getContainerWorkflowPrompts; /** * Get all available tools */ private getAllTools; /** * Set up build management tools handlers */ private setupBuildTools; /** * Set up file management tools handlers */ private setupFileTools; /** * Set up capability management tools handlers */ private setupCapabilityTools; /** * Set up execution management tools handlers */ private setupExecutionTools; /** * Set up error handlers */ private setupErrorHandlers; private handleListContainers; private handleGetContainer; private handleCreateContainer; private handleUpdateContainer; private handleDeleteContainer; private handleCopyContainer; private handleBuildContainer; private handleGetBuildStatus; private handleListBuilds; private handleGetBuildLogs; private handleExplainBuildLogs; private handleCancelBuildMonitoring; private handleGetStreamAnalytics; private handleListContainerFiles; private handleGetFileContent; private handleUploadFile; private handleUpdateFile; private handleDeleteFile; private handleListCapabilities; private handleGetCapability; private handleSearchCapabilities; private handleStartExecution; private handleStopExecution; private handleGetExecutionStatus; private handleListExecutions; private handleGetExecutionProgress; private handleGetExecutionLogs; private handleExplainRuntimeLogs; private handleExplainDeploymentLogs; private handleExtendExecution; private handleGetExecutionHistory; private handleGetCostEstimate; private handleGetExtensionCostEstimate; private handleGetContainerMetrics; private handleCancelExecutionMonitoring; private handleGetExecutionStreamAnalytics; /** * Get build progress update for a specific token */ private handleGetBuildProgressUpdate; /** * Get execution progress update for a specific token */ private handleGetExecutionProgressUpdate; /** * Get all progress updates for debugging */ private handleGetAllProgressUpdates; /** * Get container development workflow content */ private getContainerDevelopmentWorkflowContent; /** * Get container debugging workflow content */ private getContainerDebuggingWorkflowContent; /** * Get container deployment workflow content */ private getContainerDeploymentWorkflowContent; /** * Get container best practices content */ private getContainerBestPracticesContent; /** * Start the MCP server */ start(): Promise<void>; /** * Graceful shutdown with streaming cleanup */ private shutdown; } export { ContainerMCPServer }; //# sourceMappingURL=server.d.ts.map