Skip to content

Conversation

@AlexanderNZ
Copy link
Contributor

@AlexanderNZ AlexanderNZ commented Jan 29, 2026

I added the missing domain read endpoints so MCP can pull domain data, not just write it.

What I changed

  • added list/get domain reads for /landscapes/{landscapeId}/versions/{versionId}/domains
  • added formatting for domain output

Why I did it

  • domain IDs show up in model objects, so read support fills a real gap

Notes

Test plan

  • not run

Note

Medium Risk
Introduces a new, more feature-complete IcePanel API client (timeouts/retries/env validation) plus new MCP domain tools; behavior changes in request handling and error/retry logic could affect integrations if this client replaces prior callers.

Overview
Adds a new src/services/icepanel-client.ts IcePanel API client with validated ICEPANEL_API_BASE_URL, configurable timeouts/retries, exponential backoff for retryable GET/HEAD failures, and a structured IcePanelApiError + handleApiError helper.

Introduces MCP domain tooling via registerDomainTools (icepanel_list_domains with optional fuzzy search/pagination, plus icepanel_get_domain/create/update/delete_domain) and extends src/types.ts with domain/tag entities and request/response types for model object/connection/tag/domain CRUD, while tightening unions for ModelObject.status/type and adding ModelConnectionResponse.

Written by Cursor Bugbot for commit f84ede0. This will update automatically on new commits. Configure here.

Recommended merge order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant