add_tester_to_group
Add a new tester to an App Store Connect beta testing group by providing their email, first name, last name, and the group ID to enable app testing.
Instructions
Add a new tester to a beta group
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | The ID of the beta group | |
| Yes | Email address of the tester | ||
| firstName | Yes | First name of the tester | |
| lastName | Yes | Last name of the tester |
Implementation Reference
- src/handlers/beta.ts:43-73 (handler)Implementation of the addTesterToGroup handler function that creates a new beta tester and adds them to the specified beta group via the App Store Connect API.async addTesterToGroup(args: { groupId: string; email: string; firstName: string; lastName: string; }): Promise<ListBetaTestersResponse> { const { groupId, email, firstName, lastName } = args; validateRequired(args, ['groupId', 'email', 'firstName', 'lastName']); const requestBody: AddTesterRequest = { data: { type: "betaTesters", attributes: { email, firstName, lastName }, relationships: { betaGroups: { data: [{ id: groupId, type: "betaGroups" }] } } } }; return this.client.post<ListBetaTestersResponse>('/betaTesters', requestBody); }
- src/index.ts:170-194 (schema)Tool schema definition for 'add_tester_to_group' including input schema with required parameters: groupId, email, firstName, lastName.name: "add_tester_to_group", description: "Add a new tester to a beta group", inputSchema: { type: "object", properties: { groupId: { type: "string", description: "The ID of the beta group" }, email: { type: "string", description: "Email address of the tester" }, firstName: { type: "string", description: "First name of the tester" }, lastName: { type: "string", description: "Last name of the tester" } }, required: ["groupId", "email", "firstName", "lastName"] } },
- src/index.ts:1328-1329 (registration)Registration of the 'add_tester_to_group' tool in the MCP server request handler switch statement, dispatching to betaHandlers.addTesterToGroup.case "add_tester_to_group": return { toolResult: await this.betaHandlers.addTesterToGroup(args as any) };