create_bundle_id
Register a new bundle ID for iOS, macOS, or universal app development in App Store Connect. Specify identifier, name, and platform to create the required bundle ID for your application.
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 core handler function implementing the create_bundle_id tool. Validates input arguments, constructs the App Store Connect API request body matching CreateBundleIdRequest, and posts to /bundleIds endpoint.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:1364-1365 (registration)MCP server request handler registration in the CallToolRequestSchema switch statement. Dispatches calls to 'create_bundle_id' to the BundleHandlers.createBundleId method.case "create_bundle_id": return { toolResult: await this.bundleHandlers.createBundleId(args as any) };
- src/index.ts:467-491 (schema)Tool schema definition returned by listTools, defining the inputSchema, properties, and requirements for the create_bundle_id tool.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 structure of the CreateBundleIdRequest used in the handler to type the API request body.export interface CreateBundleIdRequest { data: { type: "bundleIds"; attributes: { identifier: string; name: string; platform: BundlePlatform; seedId?: string; }; }; }