Komodo MCP Server
平台与服务by mp-tool
面向 Komodo 的 MCP server,可通过 AI 管理 Docker containers、servers、stacks 与 deployments。
什么是 Komodo MCP Server?
面向 Komodo 的 MCP server,可通过 AI 管理 Docker containers、servers、stacks 与 deployments。
README
🦎 Komodo MCP Server
Model Context Protocol Server for Komodo
Manage your Docker or Podman deployments through Komodo with AI assistants and automation tools.
Komodo MCP Server enables seamless interaction between AI assistants (like Claude, GitHub Copilot) and Komodo (Container Management Platform) for efficient container management, server orchestration, and deployment operations. The MCP-Server gives you the ability to control your Komodo-managed infrastructure by using natural language or automated workflows.
Features • Quick Start • Authentication • Documentation
</div>Features
🛠️ Complete Infrastructure Control
- 52 Tools, 7 Categories — Full lifecycle management for containers, stacks, deployments, and servers — from listing and inspecting to deploying, scaling, and destroying.
- Remote Terminal Access — Execute commands on servers, containers, deployments, and stack services with real-time output streaming, exit codes, and progress reporting.
- Log Search & Analysis — Pattern-based log search across containers with configurable tail limits and match counting.
🔌 Deploy Anywhere
- Multi-Transport — Streamable HTTP (stateful), HTTPS with TLS, legacy SSE, and stdio. Same server, any client.
- Multi-Platform Docker — Production-ready images for
amd64,arm64,arm/v7, andarm/v6(Raspberry Pi). Non-root, multi-stage builds with tini init. - Works with Any MCP Client — Claude Desktop, VS Code / GitHub Copilot, or any MCP-compatible tool. Runs via Docker, npx, or native Node.js.
🔐 Security & Authentication
- Three Auth Methods — API Key/Secret (recommended), username/password, or JWT token. All support Docker secrets via
*_FILEvariants. - Runtime Configuration — Set or change credentials dynamically via
komodo_configurewithout restarting the server. - Hardened by Default — Input validation (Zod), secret scrubbing in logs, rate limiting, DNS rebinding protection, and security headers via Helmet.
⚡ Reliability & Operations
- Live Progress & Cancellation — Long-running operations (deploy, start, stop) report real-time progress. Cancel any operation mid-flight via AbortSignal.
- Auto-Reconnection — Connection monitoring with automatic recovery and exponential backoff. Auth failures stop retries immediately.
- Health & Readiness — Kubernetes-ready
/healthand/readyendpoints.komodo_health_checkreports server version, connectivity, and auth status.
Built on mcp-server-framework — a production-ready TypeScript MCP server framework with structured logging, OpenTelemetry, and session management.
Available Tools (52)
| Category | Tools |
|---|---|
| Configuration | komodo_configure, komodo_health_check |
| Containers | komodo_list_containers, komodo_inspect_container, komodo_get_container_logs, komodo_search_logs, komodo_prune, komodo_start_container, komodo_stop_container, komodo_restart_container, komodo_pause_container, komodo_unpause_container |
| Servers | komodo_list_servers, komodo_get_server_info, komodo_get_server_stats, komodo_create_server, komodo_update_server, komodo_delete_server |
| Stacks | komodo_list_stacks, komodo_get_stack_info, komodo_create_stack, komodo_update_stack, komodo_delete_stack, komodo_deploy_stack, komodo_pull_stack, komodo_start_stack, komodo_restart_stack, komodo_pause_stack, komodo_unpause_stack, komodo_stop_stack, komodo_destroy_stack |
| Deployments | komodo_list_deployments, komodo_get_deployment_info, komodo_create_deployment, komodo_update_deployment, komodo_delete_deployment, komodo_deploy_container, komodo_pull_deployment_image, komodo_start_deployment, komodo_restart_deployment, komodo_pause_deployment, komodo_unpause_deployment, komodo_stop_deployment, komodo_destroy_deployment |
| Terminal | komodo_server_exec, komodo_container_exec, komodo_deployment_exec, komodo_stack_service_exec |
| API Keys | komodo_list_api_keys, komodo_create_api_key, komodo_delete_api_key |
Tip: Use
komodo_configureto set credentials at runtime, andkomodo_health_checkto verify connectivity before running other tools.
Quick Start
Docker Compose (Recommended for HTTP)
Deploy as a persistent HTTP server — connect from any MCP client.
mkdir komodo-mcp && cd komodo-mcp
curl -O https://raw.githubusercontent.com/MP-Tool/komodo-mcp-server/main/docker/compose.yaml
curl -O https://raw.githubusercontent.com/MP-Tool/komodo-mcp-server/main/docker/docker.env
cp docker.env .env # Edit with your credentials
docker compose up -d
Claude Desktop
Add to your claude_desktop_config.json (Settings → Developer → Edit Config):
"komodo-mcp-server": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "KOMODO_URL=https://komodo.example.com:9120",
"-e", "KOMODO_API_KEY=api-key",
"-e", "KOMODO_API_SECRET=api-secret",
"ghcr.io/mp-tool/komodo-mcp-server:latest"
]
}
VS Code / GitHub Copilot
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"Komodo MCP Server": {
"type": "stdio",
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "KOMODO_URL=https://komodo.example.com:9120",
"-e", "KOMODO_API_KEY=api-key",
"-e", "KOMODO_API_SECRET=api-secret",
"ghcr.io/mp-tool/komodo-mcp-server:latest"
]
}
}
}
→ Full VS Code Guide · Node.js / npx (no Docker) · All Integrations
Use
Once connected, ask Claude, Copilot, or any MCP-compatible assistant:
"List all my Komodo servers"
"Show containers on production-server"
"Start the nginx container"
"Deploy my-app to staging"
"Get stats for dev-server"
Testing with MCP Inspector
npx @modelcontextprotocol/inspector --url http://localhost:8000/mcp
Use /mcp for Streamable HTTP or /sse for legacy SSE transport (if enabled). Adjust host and port to match your setup.
Authentication
Three methods are supported — use whichever fits your setup:
| Method | Environment Variables | Best For |
|---|---|---|
| API Key (recommended) | KOMODO_API_KEY + KOMODO_API_SECRET | Service accounts, automation |
| Username / Password | KOMODO_USERNAME + KOMODO_PASSWORD | Interactive users |
| JWT Token | KOMODO_JWT_TOKEN | Browser-based SSO (OIDC, GitHub, Google OAuth) |
KOMODO_URL is always required. All credentials also support Docker secrets via *_FILE variants (e.g. KOMODO_API_KEY_FILE).
For the full configuration reference (env vars, config files, Docker secrets), see the Configuration Guide.
Disclaimer
AI tools (GitHub Copilot, Claude) are used as part of the development workflow — for code generation, architecture exploration, and documentation drafting. Every line of code and documentation is manually reviewed to ensure quality, correctness, and compliance with established engineering standards.
This software is provided under the GPL-3.0 License. If you find bugs or have ideas, issues and contributions are always welcome.
Contributing
Contributions are welcome! See our Contributing Guide for details.
Development
# Clone and install
git clone https://github.com/MP-Tool/komodo-mcp-server.git
cd komodo-mcp-server
npm install
# Build and run
npm run build
npm start
Documentation
| Guide | Description |
|---|---|
| Configuration | All environment variables, config file formats, priority chain, Docker secrets |
| Docker Deployment | Docker Compose setup, health checks, production deployment |
| Client Integrations | Claude Desktop, VS Code, Node.js/npx setup guides |
| Contributing | Development setup, coding standards, PR guidelines |
| Security | Vulnerability reporting, security best practices |
| Changelog | Version history and release notes |
License
GPL-3.0 License - see LICENSE for details.
Requirements
- Komodo v2.0.0 or later
- Docker (for containerized deployment) or Node.js 22+ (for native installation)
- Valid Komodo credentials (API Key/Secret, Username/Password, or JWT Token)
Security
Report security vulnerabilities via GitHub's Private Vulnerability Reporting (see SECURITY.md).
Best practices:
- Never commit credentials
- Use environment variables
- Keep dependencies updated
- Run as non-root user (default in Docker)
Links
- Komodo — Container management platform
- Komodo Docs — Official documentation
- MCP Specification — Model Context Protocol
- MCP Registry — MCP server registry
<div align="center">
Built with ❤️ for the Komodo community 🦎
</div>常见问题
Komodo MCP Server 是什么?
面向 Komodo 的 MCP server,可通过 AI 管理 Docker containers、servers、stacks 与 deployments。
相关 Skills
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
MCP服务构建器
by alirezarezvani
从 OpenAPI 一键生成 Python/TypeScript MCP server 脚手架,并校验 tool schema、命名规范与版本兼容性,适合把现有 REST API 快速发布成可生产演进的 MCP 服务。
✎ 帮你快速搭建 MCP 服务与后端 API,脚手架完善、扩展顺手,尤其适合想高效验证服务能力的开发者。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。