Skip to main content
Glama

apple_register_device

Register a new iOS or macOS device in App Store Connect by providing its name, platform, and UDID for app development and testing purposes.

Instructions

Register a new device

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDevice name
platformYesPlatform
udidYesDevice UDID

Implementation Reference

  • Handler function for apple_register_device, which executes the POST request to /devices.
    handler: async (client, args) => {
      return client.request('/devices', {
        method: 'POST',
        body: {
          data: {
            type: 'devices',
            attributes: {
              name: args.name,
              platform: args.platform,
              udid: args.udid,
            },
          },
        },
      });
    },
  • Schema definition (Zod object) for the input parameters of apple_register_device.
    schema: z.object({
      name: z.string().describe('Device name'),
      platform: z.enum(['IOS', 'MAC_OS']).describe('Platform'),
      udid: z.string().describe('Device UDID'),
    }),
  • The apple_register_device tool is included in the appleTools array, which is used to register all apple-related tools.
    export const appleTools: ToolDef[] = [
      // App Management
      listApps, getApp, getAppInfo, updateAppInfoCategory,
      // Bundle IDs
      listBundleIds, createBundleId,
      // Versions & Localizations
      listVersions, createVersion,
      listVersionLocalizations, createVersionLocalization, updateVersionLocalization,
      // App Info Localizations (name, subtitle)
      listAppInfoLocalizations, updateAppInfoLocalization,
      // Screenshots
      listScreenshotSets, createScreenshotSet, uploadScreenshot, deleteScreenshot,
      // Builds
      listBuilds, assignBuild,
      // Age Rating & Review Info
      getAgeRating, updateAgeRating, updateReviewDetail,
      // Submission
      submitForReview, cancelSubmission,
      // Pricing & Availability
      getAppPricing, setAppPrice, listTerritoryAvailability,
      // Customer Reviews
      listCustomerReviews, respondToReview,
      // Bundle ID Capabilities
      listBundleIdCapabilities, enableCapability, disableCapability,
      // Certificates
      listCertificates, createCertificate, revokeCertificate,
      // Provisioning Profiles
      listProfiles, createProfile, deleteProfile,
      // Devices
      listDevices, registerDevice, updateDevice,
      // TestFlight - Beta Groups
      listBetaGroups, createBetaGroup, deleteBetaGroup,
      addBetaTestersToGroup, removeBetaTestersFromGroup,
      // TestFlight - Beta Testers
      listBetaTesters, inviteBetaTester, deleteBetaTester,
      // In-App Purchases
      listIAP, createIAP, getIAP, deleteIAP,
      // Subscription Groups
      listSubscriptionGroups, createSubscriptionGroup, deleteSubscriptionGroup,
    ];
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikusnuz/app-publish-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server