Commit Graph
18 Commits
Author SHA1 Message Date
bot-hermes fe00ed430b feat: expand troubleshooting tools — server_stats, resource_stats, updates, build logs, 8 new execute ops
- New komodo_server_stats: system_information, system_stats, historical_server_stats, server_state, periphery_information, containers_summary, version, core_info
- New komodo_resource_stats: deployment_stats, deployment_container, build_monthly_stats, action_state (9 resource types), concurrency_limit_usage, resource_matching_container
- New komodo_updates: get (full execution logs) and list (recent operations history)
- Expanded komodo_logs: add build resource type (built_contents, remote_contents, remote_error, hashes)
- Expanded komodo_list_detail: terminals, alerts, containers_summary
- Expanded komodo_execute: refresh_server, refresh_server_containers, refresh_stack_cache, refresh_stack_content, remove_orphan_containers, check_stack_for_update, check_deployment_for_update, get_mcp_token
2026-09-08 20:28:53 +00:00
bot-hermes 9df8ab5af8 Per-session Komodo creds from MCP client headers, remove baked-in env vars 2026-09-08 19:09:59 +00:00
bot-hermes 36b30767ed Integrate komodo_client package: typed rpc overloads, executeAndPoll, auto-generated types 2026-09-08 18:59:53 +00:00
bot-hermes 0495ad269e fix: use port 9999 to avoid conflict with stale bare process 2026-09-08 15:54:07 +00:00
bot-hermes af7103aa87 chore: bust cache v2 2026-09-08 15:50:02 +00:00
bot-hermes 4e7a85e52d chore: bust Docker cache with BUILD_CACHE_BUST arg 2026-09-08 15:46:20 +00:00
bot-hermes b4301285e5 fix: execute tool param mapping + docker-compose port 9801
- execute: map each operation to correct Komodo API param key
  (stack ops use 'stack', build ops use 'build', etc.)
- execute: container ops pass server alongside container name
- docker-compose: use host port 9801 to avoid conflict with
  existing bare node process on 9800
2026-09-08 15:32:00 +00:00
bot-hermes c362aa1783 feat: add Dockerfile and docker-compose for Komodo deployment 2026-09-08 15:19:17 +00:00
bot-hermes 6b82b22da7 fix: repair logs, inspect, and rename tools
- logs: add server/services params for container/stack log endpoints
- inspect: add service param for deployment_container/stack_container types
- rename: remove incorrect tag special-casing (RenameTag expects id field)
- scripts: add comprehensive test_all_tools.py covering all 13 tools
2026-09-08 15:17:06 +00:00
bot-hermes 85fc8d7d28 fix: add UPDATE_PARAM_KEY for variable (UpdateVariableValue wants {name}), close #16 2026-09-08 11:22:00 +00:00
bot-hermes 417c8ca13d fix: param-key mapping, phantom ops, and delete/update maps — close #12-#15
- #12: Remove tag from DELETE_PARAM_KEY (DeleteTag uses {id}, not {tag})
- #13: Remove 5 phantom execute ops (RunServerRefreshContainers/RunCommand/Scripts/Copy/Move)
- #14: Remove user_group from UPDATE_REQUEST_MAP (UpdateUserGroup doesn't exist)
- #15: Server-scoped execute ops pass {server} not {id}; RunSync passes {sync} not {id}
2026-09-08 11:17:46 +00:00
bot-hermes e5f1200577 fix: align all API mappings with live Core v2.3.3, close #4-#11
- Remove 72 phantom endpoints from types.ts (non-existent in live API)
- Fix 11 naming drifts (ListSyncResources→ListResourceSyncs, RunStackPull→PullStack, etc.)
- Add missing execute ops: pull_stack, deploy_stack_service (RunStackService), run_sync
- Remove phantom resource types: execution, access_request, terminal, alert
- Add komodo_copy tool (11 resource types) and komodo_rename tool (12 types)
- Add 14 new list_detail types (swarm_*, config, extra_args, etc.)
- Fix komodo-client.ts: fallback to KOMODO_INIT_ADMIN_USERNAME/PASSWORD env vars
- Rewrite references/api.md to match actual OpenAPI v2.3.3 spec
- Remove terminal from test script RESOURCE_DEFS (no longer valid resource type)
2026-09-08 11:01:51 +00:00
bot-hermes f1efd29beb fix: verified map names, param remaps, and write lifecycle test
- Fix tag create: AddTag → CreateTag
- Fix tag update: UpdateTag → UpdateTagColor, param {id} → {tag}
- Fix sync_resource create/update: CreateSyncResource → CreateResourceSync,
  UpdateSyncResource → UpdateResourceSync
- Add GET/DELETE param remapping for tag ({tag}), variable ({name}),
  user_group ({user_group}) — same pattern as INSPECT_PARAM_KEY
- Update api.md with corrected endpoint names
- Add scripts/test_write_lifecycle.py — full CRUD lifecycle test
  covering 15 resource types across 4 tiers, urllib-only

All fixes verified live against Core v2.3.3 error responses.
2026-09-08 10:23:20 +00:00
bot-hermes c437808514 fix: verified-against-live Core v2.3.3 shapes
- login: {type: LoginLocalUser, params} + data.jwt extraction
- inspect: server-scoped objects use {server, container|image|network|volume}
- search_logs: terms array + per-type params (deployment/container/stack/swarm_service)

Verified via 15-test read-only pass against 10.10.2.114:9120
2026-09-07 17:41:21 -04:00
bot-hermes 2402b3b7fa feat: full Komodo API coverage — 11 tools, ~336 endpoints
Expand from 7 tools to 11 tools covering 100% of the Komodo v2.3.2 API:

New tools:
- komodo_summary: resource summaries/stats
- komodo_inspect: Docker object inspection (16 types)
- komodo_search_logs: log search with query
- komodo_list_detail: extended listing (27 types)

Expanded existing tools:
- 12 → 21 resource types (action, repo, builder, swarm, variable, user_group, alert, terminal, git_provider_account)
- 37 → 100+ execute operations
- komodo_logs: 4 resource types with proper endpoints

Other changes:
- API key auth support (X-Api-Key / X-Api-Secret headers)
- 30s fetch timeout + structured error handling
- Updated docs: references/api.md (483 lines), README.md (238 lines)
2026-09-07 21:10:19 +00:00
bot-hermes e5929a940e Merge pull request 'feat: Komodo MCP server — 7 tools, full API coverage' (#1) from feat/initial-build into main 2026-09-07 16:38:29 -04:00
bot-hermes 5206ee612d feat: Komodo MCP server — 7 tools, full API coverage
- komodo_list, komodo_get, komodo_create, komodo_update, komodo_delete,
  komodo_execute, komodo_logs with resource_type routing
- JWT auth with token caching and auto-refresh on 401
- HTTP/SSE transport on port 9800
- TypeScript, @modelcontextprotocol/sdk, zod schemas
- README.md with setup instructions
- references/api.md with full endpoint mapping
2026-09-07 20:36:39 +00:00
bot-hermes 15dce68efe init: scaffold with PLAN.md, package.json, tsconfig.json 2026-09-07 16:25:07 -04:00