Containerization Assist
What it does
TypeScript MCP server for AI-powered containerization workflows with Docker and Kubernetes support
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 Containerization Assist 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
注册并创建 Containerization Assist 的密钥
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
{ "mcpServers": { "containerization-assist": { "command": "npx", "args": [ "-y", "containerization-assist-mcp", "start" ], "env": { "DOCKER_SOCKET": "your-value", "LOG_LEVEL": "your-value" } } } }只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
退出 Claude 再重新打开
试一试
用 Containerization Assist 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Containerization Assist,或回答中出现 Containerization Assist 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Containerization Assist
Containerization Assist 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Containerization Assist 的应用
- 需要 Containerization Assist 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要 Containerization Assist 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
- 需要 Containerization Assist 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
- 需要 Containerization Assist 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
可连接 Claude Code,但需要先准备
需要 Containerization Assist 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
注册并创建 Containerization Assist 的密钥
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --scope user containerization-assist --env DOCKER_SOCKET=your-value --env LOG_LEVEL=your-value -- npx -y containerization-assist-mcp start按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Claude Code 中输入 /mcp
应能看到 Containerization Assist 在列表中并显示已连接
试一试
用 Containerization Assist 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Containerization Assist,或回答中出现 Containerization Assist 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Containerization Assist 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
注册并创建 Containerization Assist 的密钥
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
填写你的密钥
在 Containerization Assist 的设置中,DOCKER_SOCKET, LOG_LEVEL 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Containerization Assist 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Containerization Assist,或回答中出现 Containerization Assist 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Containerization Assist 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
注册并创建 Containerization Assist 的密钥
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
填写你的密钥
在 Containerization Assist 的设置中,DOCKER_SOCKET, LOG_LEVEL 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Containerization Assist 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Containerization Assist,或回答中出现 Containerization Assist 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
claude mcp add --scope user containerization-assist --env DOCKER_SOCKET=your-value --env LOG_LEVEL=your-value -- npx -y containerization-assist-mcp startClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"containerization-assist": {
"command": "npx",
"args": [
"-y",
"containerization-assist-mcp",
"start"
],
"env": {
"DOCKER_SOCKET": "your-value",
"LOG_LEVEL": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"containerization-assist": {
"command": "npx",
"args": [
"-y",
"containerization-assist-mcp",
"start"
],
"env": {
"DOCKER_SOCKET": "your-value",
"LOG_LEVEL": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"containerization-assist": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"containerization-assist-mcp",
"start"
],
"env": {
"DOCKER_SOCKET": "your-value",
"LOG_LEVEL": "your-value"
}
}
}
}需要你填写的值
DOCKER_SOCKETenvDocker socket path or named pipeLOG_LEVELenvLogging level (debug, info, warn, error)
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月13日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 Azure 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于3天前
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5834 个服务器的 95%
- 发布到注册中心的时间比此分类中其他 5834 个服务器的 19% 更新
- 基础检查结果等于或优于此分类中其他 5834 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Containerization Assist 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于3天前,最新版本(1.5.0)于4个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Containerization Assist MCP Server
An AI-powered containerization assistant that helps you build, scan, and deploy Docker containers through VS Code and other MCP-compatible tools.
[Full documentation →](https://azure.github.io/containerization-assist/)
Install
Features
Core Capabilities
- 🐳 Docker Integration: Build, scan, and deploy container images
- ☸️ Kubernetes Support: Generate manifests and deploy applications
- 🤖 AI-Powered: Intelligent Dockerfile generation and optimization
- 🧠 Knowledge Enhanced: AI-driven content improvement with security and performance best practices
- 🔄 Intelligent Tool Routing: Automatic dependency resolution and execution
- 📊 Progress Tracking: Real-time progress updates via MCP notifications
- 🔒 Security Scanning: Built-in vulnerability scanning with AI-powered suggestions
- ✨ Smart Analysis: Context-aware recommendations
- Policy-Driven System (v3.0)
- Pre-generation configuration
- Knowledge filtering and weighting
- Template injection
- Semantic validation
- Cross-tool consistency
Policy System (v3.0)
Full control over containerization through Rego policies:
- Configure Before Generation: Set defaults for resources, base images, build strategy
- Guide During Generation: Filter knowledge base, inject templates automatically
- Validate After Generation: Semantic checks, security scoring, cross-tool consistency
Example Policies Included:
- Environment-based strategy (dev/staging/prod)
- Cost control by team tier
- Security-first organization
- Multi-cloud registry governance
- Speed-optimized development
See Policy Authoring Guide for details.
System Requirements
- Node.js 20+
- Docker or Docker Desktop
- Optional: Trivy (for security scanning features)
- Optional: Kubernetes (for deployment features)
Manual Install
Add the following to your VS Code settings or create .vscode/mcp.json in your project:
{
"servers": { "ca": { "command": "npx", "args": ["-y", "containerization-assist-mcp", "start"], "env": { "LOG_LEVEL": "info" } } } }
Restart VS Code to enable the MCP server in GitHub Copilot.
SDK Usage (Without MCP)
For direct tool usage without MCP protocol (e.g., VS Code extensions, programmatic access):
import { analyzeRepo, buildImageContext, scanImage } from 'containerization-assist-mcp/sdk';
import { execSync } from 'child_process';
// Simple function calls - no MCP server needed const analysis = await analyzeRepo({ repositoryPath: './myapp' }); if (analysis.ok) { console.log('Detected:', analysis.value.modules); }
// buildImageContext returns build context with security analysis and commands const buildContext = await buildImageContext({ path: './myapp', imageName: 'myapp:v1', platform: 'linux/amd64' }); if (buildContext.ok) { const { securityAnalysis, nextAction } = buildContext.value; console.log('Security risk:', securityAnalysis.riskLevel);
// Execute the generated build command from the build context directory execSync(nextAction.buildCommand.command, { cwd: buildContext.value.context.buildContextPath, env: { ...process.env, ...nextAction.buildCommand.environment } }); }
const scan = await scanImage({ imageId: 'myapp:v1' });
See the SDK integration examples for full SDK documentation.
Windows Users
For Windows, use the Windows Docker pipe:
"DOCKER_SOCKET": "//./pipe/docker_engine"
Quick Start
The easiest way to understand the containerization workflow is through an end-to-end example:
Single-App Containerization Journey
This MCP server guides you through a complete containerization workflow for a single application. The journey follows this sequence:
- Analyze Repository → Understand your application's language, framework, and dependencies
- Generate Dockerfile → Create an optimized, security-hardened container configuration
- Build Image → Compile your application into a Docker image
- Scan Image → Identify security vulnerabilities and get remediation guidance
- Tag Image → Apply appropriate version tags to your image
- Generate K8s Manifests → Create deployment configurations for Kubernetes
- Prepare Cluster → Set up namespace and prerequisites, then deploy with
kubectl apply - Verify → Confirm deployment health and readiness
Prerequisites
Before starting, ensure you have:
- Docker: Running Docker daemon with accessible socket (
docker psshould work) - Linux/Mac:
/var/run/docker.sockaccessible - Windows: Docker Desktop with
//./pipe/docker_engineaccessible - Kubernetes (optional, for deployment features):
- Valid kubeconfig at
~/.kube/config - Cluster connectivity (
kubectl cluster-infoshould work) - Appropriate RBAC permissions for deployments, services, namespaces
- Node.js: Version 20 or higher
- MCP Client: VS Code with Copilot, Claude Desktop, or another MCP-compatible client
Example Workflow with Natural Language
Once configured in your MCP client (VS Code Copilot, Claude Desktop, etc.), use natural language:
Starting the Journey:
"Analyze my Java application for containerization"
Building the Container:
"Generate an optimized Dockerfile with security best practices"
"Build a Docker image tagged myapp:v1.0.0" "Scan the image for vulnerabilities"
Deploying to Kubernetes:
"Generate Kubernetes manifests for this application"
"Prepare my cluster and deploy to the default namespace" "Verify the deployment is healthy"
Single-Operator Model
This server is optimized for one engineer containerizing one application at a time. Key characteristics:
- Sequential execution: Each tool builds on the results of previous steps
- Fast-fail validation: Clear, actionable error messages if Docker/Kubernetes are unavailable
- Deterministic AI generation: Tools provide reproducible outputs through built-in prompt engineering
- Real-time progress: MCP notifications surface progress updates to clients during long-running operations
Multi-Module/Monorepo Support
The server detects and supports monorepo structures with multiple independently deployable services:
- Automatic Detection:
analyze-repoidentifies monorepo patterns (npm workspaces, services/, apps/ directories) - Automated Multi-Module Generation:
generate-dockerfileandgenerate-k8s-manifestssupport multi-module workflows - Conservative Safeguards: Excludes shared libraries and utility folders from containerization
Multi-Module Workflow Example:
1. "Analyze my monorepo at ./my-monorepo"
→ Detects 3 modules: api-gateway, user-service, notification-service
- "Generate Dockerfiles" → Automatically creates Dockerfiles for all 3 modules:
- services/api-gateway/Dockerfile
- services/user-service/Dockerfile
- services/notification-service/Dockerfile
- "Generate K8s manifests" → Automatically creates manifests for all 3 modules
- Optional: "Generate Dockerfile for user-service module" → Creates module-specific deployment manifests
Detection Criteria:
- Workspace configurations (npm, yarn, pnpm workspaces, lerna, nx, turborepo, cargo workspace)
- Separate package.json, pom.xml, go.mod, Cargo.toml per service
- Independent entry points and build configs
- EXCLUDES: shared/, common/, lib/, packages/utils directories
Available Tools
The server provides 11 MCP tools organized by functionality:
Analysis & Planning
| Tool | Description |
|---|---|
analyze-repo | Analyze repository structure and detect technologies by parsing config files |
Dockerfile Operations
| Tool | Description |
|---|---|
generate-dockerfile | Gather insights from knowledge base and return requirements for Dockerfile creation |
fix-dockerfile | Analyze Dockerfile for issues including organizational policy validation and return knowledge-based fix recommendations |
Image Operations
| Tool | Description |
|---|---|
build-image-context | Prepare Docker build context with security analysis and return build commands |
scan-image | Scan Docker images for security vulnerabilities with remediation guidance (uses Trivy CLI) |
tag-image | Tag Docker images with version and registry information |
push-image | Push Docker images to a registry |
Kubernetes Operations
| Tool | Description |
|---|---|
generate-k8s-manifests | Gather insights and return requirements for Kubernetes/Helm/ACA/Kustomize manifest creation |
prepare-cluster | Prepare Kubernetes cluster for deployment |
verify-deploy | Verify Kubernetes deployment status |
Utilities
| Tool | Description |
|---|---|
ops | Operational utilities for ping and server status |
Workflow Tools
Interactive workflow tools that return step-by-step plans (output is collapsed by default in VS Code Copilot Chat):
| Tool | Description | Inputs |
|---|---|---|
create-containerization-policy | Step-by-step guidance for authoring a custom OPA Rego policy | None |
kind-loop | Local dev loop: analyze → build → scan → deploy to Kind | namespace (optional), imageName (optional) |
aks-loop | Remote dev loop: analyze → build → push → deploy to AKS | registry, resourceGroup, clusterName (required); namespace, imageName (optional) |
Version Tracking
All generated artifacts include version metadata so you can track which version of containerization-assist produced them.
Dockerfiles (generate-dockerfile):
The tool output includes attributionLabels.labels with a version label, included as a LABEL instruction in the generated Dockerfile:
| Label | Value | Purpose |
|---|---|---|
com.azure.containerizationassist.version | Package version (e.g., 1.4.0) | Version of containerization-assist used |
Kubernetes Manifests (generate-k8s-manifests):
The tool output includes attributionLabels.annotations applied to all generated Kubernetes r