Public: anyone can read this; the crew can change it.
MCP `org_teams` removes a member, or just one of their roles #10134
commented
Reviewed pull #10154 at its head: ticked org_teams gains remove_member with user and optional role; it calls the same action the API's DELETE does, with the same codes (a bad role is bad_role).; Org owner with an admin-scope token; not_found otherwise. The doc string lists it.; A test removes one role and finds the member keeps the others, then removes the member.; docs/features/team-roles.md lists the MCP action..
Sign in to join this conversation.
For: docs/features/team-roles.md: the API has
DELETE …/members/:username?role=; MCPorg_teams(src/http/mcp/tools/org_teams.ts) can add a member with a role but not take one off.Done looks like:
org_teamsgainsremove_memberwithuserand optionalrole; it calls the same action the API's DELETE does, with the same codes (a bad role isbad_role).not_foundotherwise. The doc string lists it.