
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 分