komodo-mcp

komodo-mcp

An MCP server that exposes the full API of the Komodo infrastructure management platform. It enables users to manage deployments, stacks, servers, and containers through tools for inspection, configuration, and operational control.

Category
访问服务器

README

komodo-mcp

MCP (Model Context Protocol) server for Komodo, a container and infrastructure management platform. Exposes Komodo's full API as MCP tools, enabling Claude Code and other MCP clients to manage deployments, stacks, servers, builds, and more.

Setup

1. Install dependencies and build

cd komodo-mcp
npm install
npm run build

2. Configure environment variables

The server requires three environment variables:

Variable Description
KOMODO_URL Base URL of your Komodo instance (e.g., https://komodo.example.com)
KOMODO_API_KEY API key from Komodo
KOMODO_API_SECRET API secret from Komodo

Generate an API key pair in Komodo under Settings > API Keys.

3. Register with Claude Code

Add to your Claude Code MCP config (~/.claude/claude_desktop_config.json or project-level):

{
  "mcpServers": {
    "komodo": {
      "command": "node",
      "args": ["/path/to/komodo-mcp/dist/index.js"],
      "env": {
        "KOMODO_URL": "https://komodo.example.com",
        "KOMODO_API_KEY": "your-api-key",
        "KOMODO_API_SECRET": "your-api-secret"
      }
    }
  }
}

Tool Reference

Tools are grouped by resource domain with an action parameter to keep the tool count manageable (~45 tools instead of 250+).

Read Tools (Query & Inspection)

Tool Actions
komodo_deployments list, get, get_container, get_log, search_log, get_stats, get_summary
komodo_stacks list, get, get_log, search_log, list_services, get_summary
komodo_servers list, get, get_state, get_stats, get_system_info, list_processes, get_summary
komodo_builds list, get, list_versions, get_summary
komodo_repos list, get, get_summary
komodo_containers list, list_all, get_log, search_log, inspect
komodo_images list, inspect
komodo_networks list, inspect
komodo_volumes list, inspect
komodo_compose_projects list
komodo_procedures list, get, get_summary
komodo_actions list, get, get_summary
komodo_alerters list, get, get_summary
komodo_syncs list, get, get_summary, export_toml, export_all_toml
komodo_swarms list, get, get_summary, inspect, list_nodes, list_services, list_stacks, list_networks, list_configs, list_secrets
komodo_users list, find, get_username, list_api_keys
komodo_user_groups list, get
komodo_permissions get, list
komodo_variables list, get
komodo_tags list, get
komodo_alerts list, get
komodo_builders list, get, get_summary
komodo_docker_registries list, list_from_config, get
komodo_git_providers list, list_from_config, get
komodo_system get_version, get_core_info, list_schedules, list_secrets, list_terminals, list_updates, get_update, get_docker_summary, find_resource

Write Tools (Create, Update, Delete)

Tool Actions
komodo_deployment_manage create, update, delete, copy, rename, create_from_container
komodo_stack_manage create, update, delete, copy, rename, write_file, check_update
komodo_server_manage create, update, delete, copy, rename
komodo_build_manage create, update, delete, copy, rename, write_file, refresh_cache
komodo_repo_manage create, update, delete, copy, rename, refresh_cache
komodo_procedure_manage create, update, delete, copy, rename
komodo_action_manage create, update, delete, copy, rename
komodo_alerter_manage create, update, delete, copy, rename
komodo_sync_manage create, update, delete, copy, rename, write_file, commit, refresh_pending
komodo_swarm_manage create, update, delete, copy, rename
komodo_builder_manage create, update, delete, copy, rename
komodo_docker_registry_manage create, update, delete
komodo_git_provider_manage create, update, delete
komodo_user_manage create_local, create_service, delete, update_admin, create_api_key, delete_api_key
komodo_user_group_manage create, delete, rename, add_user, remove_user
komodo_permission_manage update_on_target
komodo_variable_manage create, delete, update_value, update_description
komodo_tag_manage create, delete, rename
komodo_alert_manage close
komodo_network_manage create

Execute Tools (Lifecycle & Operations)

Tool Actions
komodo_deployment_control deploy, start, stop, restart, pause, unpause, pull, destroy
komodo_stack_control deploy, deploy_if_changed, start, stop, restart, pause, unpause, pull, destroy, run_service
komodo_container_control start, stop, restart, pause, unpause, destroy, start_all, stop_all, restart_all
komodo_build_control run, cancel
komodo_repo_control clone, pull, build, cancel_build
komodo_procedure_control run
komodo_action_control run
komodo_sync_control run
komodo_alerter_control test, send_alert
komodo_image_control delete, prune
komodo_network_control delete, prune
komodo_volume_control delete, prune
komodo_swarm_control create_config, create_secret, remove_services, remove_stacks
komodo_batch batch_deploy, batch_deploy_stack, batch_run_build, batch_run_action, batch_run_procedure, batch_destroy_deployment, batch_destroy_stack
komodo_system_control backup_database, prune_system, prune_buildx, rotate_core_keys, rotate_all_server_keys, global_auto_update

Usage Examples

# Ask Claude to list your deployments
"List all my Komodo deployments"

# Check server health
"Show me the CPU and memory stats for server prod-1"

# View stack logs
"Get the last 50 lines of logs for the monitoring stack"

# Deploy a stack
"Deploy the web-app stack"

Development

npm run dev    # Watch mode (recompile on changes)
npm run build  # One-time build
npm start      # Run the MCP server

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选