Skip to content

Conversation

@AlexanderNZ
Copy link
Contributor

@AlexanderNZ AlexanderNZ commented Jan 29, 2026

I added the diagram read endpoints so MCP can list and fetch diagrams, plus thumbnails.

What I changed

  • added list/get diagram reads
  • added list/get diagram thumbnail reads
  • added formatting for diagram output

Why I did it

  • diagrams are core to the architecture model, but were missing from MCP reads

Notes

Test plan

  • not run

Note

Medium Risk
Moderate risk due to introducing a new, large IcePanel API client surface (env-configured base URL, timeouts/retries, error handling) and wiring new MCP tools to new endpoints; regressions could affect all API calls and tool outputs.

Overview
Adds a new icepanel-client service that centralizes authenticated IcePanel API calls, including timeout/retry logic, base URL validation via env vars, and user-facing handleApiError messaging, plus many new read/write endpoint wrappers.

Introduces new MCP tools in diagrams.ts to list/get diagrams and diagram thumbnails, including optional fuzzy search, pagination, and markdown/json formatting, and wires them into registerAllTools.

Updates types.ts to expand model object enums and add response/request types for connections, model-object/tag/domain write operations, and diagram/thumbnail payloads (and removes the old Team/TeamsResponse types).

Written by Cursor Bugbot for commit 4c37373. 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