
Komodo MCP Server
io.github.Samik081由 GitHub 账号 Samik081 发布v0.9.1更新于 Oct 25, 2026
Manage Komodo through AI assistants
概览
一个 MCP 服务器,让 AI 助手读取并操作 Komodo DevOps 平台:服务器、堆栈、部署、构建、仓库和用户。
- 可以做什么
- 列出并查看服务器、堆栈、部署、构建、仓库、构建器、告警器、资源同步和操作历史,包括日志、统计信息以及容器、镜像、网络和卷的 Docker inspect 输出。部署、拉取、启动、停止、重启、暂停、销毁或清理堆栈、部署和 Docker 资源,并运行构建、流程、动作和 GitOps 同步。创建、更新和删除 Komodo 资源,并管理用户、服务用户、API 密钥和权限。
- 适用场景
- 适合已经运行 Komodo、希望通过聊天助手而非 Komodo 界面查看基础设施状态、读取日志和统计信息,或触发部署和生命周期操作的场景。只读层级可用于安全地探索 Komodo 实例。
- 运行要求
- 通过 npx 以 Node.js 本地运行,或以 Docker 镜像运行;当 MCP_TRANSPORT 设为 http 时也可作为远程 HTTP 端点运行。需要可访问的 Komodo Core 实例地址(KOMODO_URL),以及在 Komodo 界面生成的 API 密钥和密钥(KOMODO_API_KEY 和 KOMODO_API_SECRET)。面向 Komodo 1.19.5 构建。
安装
在 SourceWeft 中
- 打开 控制台中的 Komodo MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[npm version] [Docker image] [License: MIT] [Node.js Version]
MCP Komodo
MCP server for the Komodo DevOps platform. Manage servers, stacks, deployments, builds, and more through natural language in Cursor, Claude Code, and Claude Desktop.
Features
- 63 tools across 14 categories covering the complete Komodo DevOps API
- Three access tiers (
read-only,read-execute,full) for granular control - Category filtering via
KOMODO_CATEGORIESto expose only the tools you need - Zero HTTP dependencies -- lightweight native-fetch client, no SDK required
- Docker images for
linux/amd64andlinux/arm64on GHCR - Remote MCP via HTTP transport (
MCP_TRANSPORT=http) using the Streamable HTTP protocol - TypeScript/ESM with full type safety
API Compatibility
Built for Komodo 1.19.5.
Quick Start
Run the server directly with npx:
The server validates your Komodo connection on startup and fails immediately with a clear error if credentials are missing or invalid.
Docker
Run with Docker (stdio transport, same as npx):
To run as a remote MCP server with HTTP transport:
The MCP endpoint is available at http://localhost:3000 and a health check at http://localhost:3000/health.
Configuration
Claude Code CLI (recommended):
JSON config (works with Claude Code .mcp.json, Claude Desktop claude_desktop_config.json, Cursor .cursor/mcp.json):
Docker (stdio):
Remote MCP (connect to a running Docker container or HTTP server):
Access Tiers
Control which tools are available using the KOMODO_ACCESS_TIER environment variable:
Tier details:
- full: All 63 tools. Includes
komodo_write_resourcefor creating, updating, and deleting Komodo resources, plus the user administration tools (service users, API keys, permissions). - read-execute: 55 tools. All read tools plus execute tools (deploy, pull, lifecycle, run, etc.). The
komodo_write_resourcetool and the user administration write tools are hidden. - read-only: 39 tools. List, get, logs, inspect, stats, summaries, operation history, and user/permission reads only. All execute and write tools are hidden.
Tools that are not available in your tier are not registered with the MCP server. They will not appear in your AI tool's tool list, keeping the context clean.
Set KOMODO_ACCESS_TIER to read-only, read-execute, or full (default: full).
Environment Variables
Generate API keys in the Komodo UI under Settings > API Keys.
Available Categories
servers, stacks, deployments, containers, builds, repos, procedures, actions, builders, alerters, resource-syncs, updates, users, write
Tools
mcp-komodo provides 63 tools organized by category. Each tool's Access column shows the minimum tier required: read-only (available in all tiers), read-execute (requires read-execute or full), or full (requires full tier only). The Hints column shows tool behavior: read-only (no state changes), destructive (modifies existing state), idempotent (same result if called twice).
All 16 execute tools wait for the operation to complete and report its real outcome by default; pass wait: false for fire-and-forget, or wait_timeout_seconds to bound the wait (default 45s).
Servers (10 tools)
Stacks (10 tools)
Deployments (9 tools)
Containers (1 tool)
Builds (4 tools)
Repos (3 tools)
Procedures (3 tools)
Actions (3 tools)
Builders (2 tools)
Alerters (2 tools)
Resource Syncs (3 tools)
Updates (2 tools)
Users (10 tools)
All 10 user tools require a Komodo admin account -- Komodo rejects them for non-admin API keys regardless of the configured access tier.
Write (1 tool)
Verify It Works
After configuring your MCP client, ask your AI assistant:
"What servers are connected to Komodo?"
If the connection is working, the assistant will call komodo_list_servers and return your servers with their current state and region.
Usage Examples
Once configured, ask your AI tool questions in natural language:
-
"List all my servers and their status" -- calls
komodo_list_serversto show every server with its current state and region. -
"What's the CPU and memory usage on server prod-01?" -- calls
komodo_get_server_statsto show real-time resource utilization. -
"Show me the logs from the production stack" -- calls
komodo_get_stack_logto retrieve recent log output from all services in the stack. -
"Deploy the frontend stack" -- calls
komodo_deploy_stackto redeploy the stack with its current configuration. -
"Why did the frontend stack deploy fail?" -- calls
komodo_list_updatesto find the failed deploy, thenkomodo_get_updateto show the full logs with stdout/stderr. -
"Pull the latest images for the monitoring stack" -- calls
komodo_pull_stackto download updated images without redeploying. -
"Create a new deployment called api-staging with image myapp:latest" -- calls
komodo_write_resourceto create a new Deployment resource in Komodo.
Troubleshooting
Connection refused
Check that KOMODO_URL is correct and that Komodo Core is reachable from where the MCP server is running. The server validates the connection on startup, so if it started successfully, the URL was valid at that time.
Invalid credentials / 401 Unauthorized
Verify your API key and secret are correct. Check that the key has not been revoked or expired in the Komodo UI under Settings > API Keys.
Tools not showing up
Check your access tier setting. In read-only mode, only 39 tools are registered. In read-execute mode, 55 tools are registered. Use full (or omit KOMODO_ACCESS_TIER) for all 63 tools. Check KOMODO_CATEGORIES -- only tools in listed categories are registered. Also verify the server started without errors by checking stderr output.
Development
License
来源:README.md,提交 ce1f080
工具
0版本历史
2- v0.9.1最新Sep 29, 2026
- v0.8.1Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分