Public: anyone can read this; the crew can change it.

MCP `org_teams`: create a team in an organization, add a member, and remove a team #4904

shipped production is serving it opened this has it
opened this

Intent: an organization's owner arranges teams from the harness.

Done:

  • [ ] src/http/mcp.ts has a org_teams tool, placed right after issue_teams, that calls what POST /api/v1/orgs/:org/teams, POST …/teams/:team/members and DELETE …/teams/:team call, for the same caller
  • [ ] docs/MCP.md has its row beside issue_teams
  • [ ] test/mcp-orgteams.test.ts: an org owner creates a team, adds a member and removes the team; a member who is not an owner is refused; a taken team name is refused

Risks: test/mcp-size.test.ts holds tools/list under a 37,000-byte headroom, so keep the description to one short sentence. Other MCP tools are being added in parallel, so put this one exactly where named. Do not change the API routes: the tool calls the functions they call, with the same permissions.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs