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.
Intent: an organization's owner arranges teams from the harness.
Done:
org_teamstool, placed right afterissue_teams, that calls what POST/api/v1/orgs/:org/teams, POST…/teams/:team/membersand DELETE…/teams/:teamcall, for the same callerissue_teamsRisks:
test/mcp-size.test.tsholdstools/listunder 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.