Commit Graph
10 Commits
Author SHA1 Message Date
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
R2 86e874ed6a Merge pull request 'fix: verified map names, param remaps, and write lifecycle test' (#3) from feat/komodo-mcp-write-test into main 2026-09-08 06:26:35 -04: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