create_bundle_id
Register a new bundle ID for iOS, macOS, or universal app development by specifying identifier, name, and platform to prepare your app for distribution.
Instructions
Register a new bundle ID for app development
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | The bundle ID string (e.g., 'com.example.app') | |
| name | Yes | A name for the bundle ID | |
| platform | Yes | The platform for this bundle ID | |
| seedId | No | Your team's seed ID (optional) |
Implementation Reference
- src/handlers/bundles.ts:16-39 (handler)The main handler function that executes the create_bundle_id tool logic by validating inputs, constructing the API request body, and calling the AppStoreConnectClient to POST /bundleIds.async createBundleId(args: { identifier: string; name: string; platform: BundlePlatform; seedId?: string; }): Promise<BundleIdResponse> { const { identifier, name, platform, seedId } = args; validateRequired(args, ['identifier', 'name', 'platform']); const requestBody: CreateBundleIdRequest = { data: { type: "bundleIds", attributes: { identifier, name, platform, seedId } } }; return this.client.post<BundleIdResponse>('/bundleIds', requestBody); }
- src/index.ts:1365-1366 (registration)Tool call dispatch in the MCP server request handler that maps 'create_bundle_id' calls to the BundleHandlers.createBundleId method.return { toolResult: await this.bundleHandlers.createBundleId(args as any) };
- src/index.ts:467-492 (schema)The tool schema definition including name, description, and inputSchema for the create_bundle_id tool, used in list tools response.name: "create_bundle_id", description: "Register a new bundle ID for app development", inputSchema: { type: "object", properties: { identifier: { type: "string", description: "The bundle ID string (e.g., 'com.example.app')" }, name: { type: "string", description: "A name for the bundle ID" }, platform: { type: "string", enum: ["IOS", "MAC_OS", "UNIVERSAL"], description: "The platform for this bundle ID" }, seedId: { type: "string", description: "Your team's seed ID (optional)" } }, required: ["identifier", "name", "platform"] } },
- src/types/bundles.ts:14-24 (schema)TypeScript interface defining the CreateBundleIdRequest structure used in the handler for input validation and API request body.export interface CreateBundleIdRequest { data: { type: "bundleIds"; attributes: { identifier: string; name: string; platform: BundlePlatform; seedId?: string; }; }; }