feat: add tag and tag group reads #24
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I needed tags in MCP, so I wired up the read endpoints and made sure it covers issue #10.
What I changed
/landscapes/{landscapeId}/versions/{versionId}/tagsWhy I did it
Notes
Test plan
Note
Medium Risk
Adds new IcePanel API client capabilities (including retries/timeouts and multiple write endpoints) and exposes new MCP tools for tag management; incorrect request/typing or retry behavior could cause failed calls or unintended mutations.
Overview
Adds a new
icepanel-clientservice with validated base URL configuration, request timeouts, GET retry/backoff, and a richerIcePanelApiError/handleApiErrorflow, plus new endpoints for tags/tag groups and several create/update/delete operations (model objects, connections, tags, domains).Introduces
src/tools/tags.tsregistering MCP tools foricepanel_list_tags,icepanel_get_tag,icepanel_list_tag_groups, andicepanel_get_tag_group(with optional fuzzy search, pagination, and markdown/json output), and also adds tag write tools (icepanel_create_tag,icepanel_update_tag,icepanel_delete_tag).Updates
src/types.tsto broaden model objectstatus/typeunions and add request/response types for write operations and tag/tag-group/domain entities, while removing theTeam/TeamsResponsetypes.Written by Cursor Bugbot for commit 5b30af7. This will update automatically on new commits. Configure here.
Recommended merge order