You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
INV-02: An agent reads cmapi through MCP tools #438
BacklogNot started: the work waits in the backlogclass:INVInnovation: a new feature, design, idea or methodstatus:openNo fix yetstoryOne slice of a feature for one role
As an AI agent working for a team, I want read-only MCP tools for clusters, namespaces, requests, quotas, capacity, policies and expirations, so that I can answer questions and prepare changes without hand-written HTTP calls.
Business value
Agents can explain the state of a team's namespaces and requests in seconds, with the same answers the portal shows.
Context
The read operations exist and are documented in /openapi.json and docs/04 (for example GET /api/v1/clusters/{id}/namespaces, GET /api/v1/requests, GET /api/v1/capacity, GET /api/v1/policies/results). Scoping is by the caller's roles (docs/14).
Acceptance criteria
Each tool is marked read-only and returns what the API returns for the same identity, shown by a test against the service.
Paged answers follow the API's cursors; an unknown or null figure stays null, never 0 (the portal's rule), shown by a test.
A caller without the permission gets the API's 403 problem, unchanged, shown by a test.
Tasks
Tool list from INV-01; schemas generated from /openapi.json.
Out of scope
Writes (INV-03, INV-04).
Definition of done
Mockup approved, or the work has no screen and no API shape
Draft pull request open
Build: tests fail before the change and pass after it
BacklogNot started: the work waits in the backlogclass:INVInnovation: a new feature, design, idea or methodstatus:openNo fix yetstoryOne slice of a feature for one role
Activity