get_app_info
Retrieve detailed app information from App Store Connect, including versions, territories, pricing, and beta testing data, by providing the app ID.
Instructions
Get detailed information about a specific app
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The ID of the app to get information for | |
| include | No | Optional relationships to include in the response |
Implementation Reference
- src/handlers/apps.ts:25-39 (handler)Core handler function that validates input, constructs API parameters, and calls the AppStoreConnectClient to fetch detailed app information including optional relationships.async getAppInfo(args: { appId: string; include?: AppIncludeOptions[]; }): Promise<AppInfoResponse> { const { appId, include } = args; validateRequired(args, ['appId']); const params: Record<string, any> = {}; if (include?.length) { params.include = include.join(','); } return this.client.get<AppInfoResponse>(`/apps/${appId}`, params); }
- src/index.ts:106-131 (schema)Tool schema definition listing 'get_app_info' in the MCP server's tool list with input validation schema requiring appId and optional include relationships.name: "get_app_info", description: "Get detailed information about a specific app", inputSchema: { type: "object", properties: { appId: { type: "string", description: "The ID of the app to get information for" }, include: { type: "array", items: { type: "string", enum: [ "appClips", "appInfos", "appStoreVersions", "availableTerritories", "betaAppReviewDetail", "betaGroups", "betaLicenseAgreement", "builds", "endUserLicenseAgreement", "gameCenterEnabledVersions", "inAppPurchases", "preOrder", "prices", "reviewSubmissions" ] }, description: "Optional relationships to include in the response" } }, required: ["appId"] } },
- src/index.ts:1317-1319 (registration)MCP server request handler registration that dispatches calls to 'get_app_info' to the AppHandlers.getAppInfo method and formats the JSON response.case "get_app_info": const appInfo = await this.appHandlers.getAppInfo(args as any); return formatResponse(appInfo);
- src/types/apps.ts:16-35 (schema)TypeScript interfaces and union type defining the expected AppInfoResponse structure and valid AppIncludeOptions used by the handler and schema.export interface AppInfoResponse { data: App; included?: any[]; } export type AppIncludeOptions = | "appClips" | "appInfos" | "appStoreVersions" | "availableTerritories" | "betaAppReviewDetail" | "betaGroups" | "betaLicenseAgreement" | "builds" | "endUserLicenseAgreement" | "gameCenterEnabledVersions" | "inAppPurchases" | "preOrder" | "prices" | "reviewSubmissions";