update_testers
Replace tester lists for Google Play Console internal or alpha tracks. Use to manage access by updating email addresses and Google Groups for app testing.
Instructions
Replace the tester list for an internal or alpha track.
WARNING: Full replacement — omitted testers lose access. Call get_testers first to preserve existing testers.
Args: package_name: Package name, e.g. com.example.myapp track: "internal" (default) or "alpha". emails: Tester email addresses. Empty list removes all individuals. google_groups: Google Group addresses. Empty list removes all groups.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | ||
| track | No | internal | |
| emails | No | ||
| google_groups | No |
Implementation Reference
- src/google_play_mcp/server.py:540-563 (handler)The server-side tool definition and handler for update_testers in the MCP server.
@mcp.tool() def update_testers( package_name: str, track: str = "internal", emails: Optional[list[str]] = None, google_groups: Optional[list[str]] = None, ) -> str: """Replace the tester list for an internal or alpha track. WARNING: Full replacement — omitted testers lose access. Call get_testers first to preserve existing testers. Args: package_name: Package name, e.g. com.example.myapp track: "internal" (default) or "alpha". emails: Tester email addresses. Empty list removes all individuals. google_groups: Google Group addresses. Empty list removes all groups. """ try: result = _publisher().update_testers( package_name=package_name, track=track, emails=emails, google_groups=google_groups, - src/google_play_mcp/client.py:435-462 (handler)The underlying implementation of the update_testers logic, interacting with the Google Play Developer API.
def update_testers( self, package_name: str, track: str, emails: Optional[List[str]] = None, google_groups: Optional[List[str]] = None, ) -> Dict[str, Any]: """Replace the tester list for an internal/closed testing track. This is a full replacement — existing testers not in the new list will lose access. """ body: Dict[str, Any] = {} if emails is not None: body["testers"] = emails if google_groups is not None: body["googleGroups"] = google_groups edit_id = self._create_edit(package_name) try: result = self.service.edits().testers().update( packageName=package_name, editId=edit_id, track=track, body=body ).execute() commit = self._commit_edit(package_name, edit_id) return {"testers": result, "commit": commit} except Exception: self._delete_edit(package_name, edit_id) raise