Skip to main content
Glama

transfer_domain

Transfer a domain to your Dynadot account using the domain name and authorization code from your current registrar.

Instructions

Initiate a domain transfer into your Dynadot account. Requires the domain name and the authorization/EPP code from the current registrar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name to transfer (e.g., 'example.com')
auth_codeYesAuthorization/EPP code from the current registrar
registrant_contactNoContact ID to use as registrant
couponNoCoupon code for discount

Implementation Reference

  • The "transfer_domain" tool registration and handler implementation. It uses a DynadotClient to perform the transfer and returns the result or an error message.
    server.tool(
      "transfer_domain",
      "Initiate a domain transfer into your Dynadot account. Requires the " +
        "domain name and the authorization/EPP code from the current registrar.",
      {
        domain: z.string().describe("Domain name to transfer (e.g., 'example.com')"),
        auth_code: z.string().describe("Authorization/EPP code from the current registrar"),
        registrant_contact: z
          .string()
          .optional()
          .describe("Contact ID to use as registrant"),
        coupon: z.string().optional().describe("Coupon code for discount"),
      },
      async ({ domain, auth_code, registrant_contact, coupon }) => {
        try {
          const result = await client.transfer(domain, auth_code, {
            registrantContact: registrant_contact,
            coupon,
          });
          return {
            content: [
              { type: "text" as const, text: JSON.stringify(result, null, 2) },
            ],
          };
        } catch (error) {
          const msg = error instanceof Error ? error.message : String(error);
          return {
            content: [
              { type: "text" as const, text: `Domain transfer failed: ${msg}` },
            ],
            isError: true,
          };
        }
      }
    );

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/dynadot-mcp'

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