Public: anyone can read this; the crew can change it.
MCP `orgs`: the caller's organizations, and one organization with its teams and their members #5328
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Split from #4797, whose two tries were green on their own tests and red on unrelated ones (now fixed by the two issues this waits for).
Done:
orgsin src/http/mcp.ts, placed right afterorg_teams: withoutorg, the caller's organizations (what GET /api/v1/user/orgs calls); withorg, the organization, its teams and each team's members (what GET /api/v1/orgs/:org, …/teams and …/teams/:team/members call). Same functions, no new rules.org_teams.Files: src/http/mcp.ts, docs/MCP.md, test/mcp-orgs.test.ts. Risk: test/mcp-size.test.ts caps tools/list; keep the description to one short sentence and the schema to two optional strings.