Skip to main content
Glama

apple_create_certificate

Create Apple certificates for iOS and macOS app development and distribution by submitting Certificate Signing Requests (CSR).

Instructions

Create a certificate

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
csrContentYesCertificate Signing Request (CSR) content
certificateTypeYesCertificate type (e.g. IOS_DEVELOPMENT, IOS_DISTRIBUTION, MAC_APP_DISTRIBUTION, DEVELOPER_ID_APPLICATION)

Implementation Reference

  • The handler function that performs a POST request to /certificates to create a certificate.
    handler: async (client, args) => {
      return client.request('/certificates', {
        method: 'POST',
        body: {
          data: {
            type: 'certificates',
            attributes: {
              csrContent: args.csrContent,
              certificateType: args.certificateType,
            },
          },
        },
      });
    },
  • The input schema definition using Zod for the apple_create_certificate tool.
    schema: z.object({
      csrContent: z.string().describe('Certificate Signing Request (CSR) content'),
      certificateType: z.string().describe('Certificate type (e.g. IOS_DEVELOPMENT, IOS_DISTRIBUTION, MAC_APP_DISTRIBUTION, DEVELOPER_ID_APPLICATION)'),
    }),
  • The tool definition object containing name, description, schema, and handler for apple_create_certificate.
    const createCertificate: ToolDef = {
      name: 'apple_create_certificate',
      description: 'Create a certificate',
      schema: z.object({
        csrContent: z.string().describe('Certificate Signing Request (CSR) content'),
        certificateType: z.string().describe('Certificate type (e.g. IOS_DEVELOPMENT, IOS_DISTRIBUTION, MAC_APP_DISTRIBUTION, DEVELOPER_ID_APPLICATION)'),
      }),
      handler: async (client, args) => {
        return client.request('/certificates', {
          method: 'POST',
          body: {
            data: {
              type: 'certificates',
              attributes: {
                csrContent: args.csrContent,
                certificateType: args.certificateType,
              },
            },
          },
        });
      },
    };

Tool Definition Quality

Score is being calculated. Check back soon.

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