Skip to main content
Glama

manage_domain_push

Manage incoming domain transfer requests from other Dynadot accounts by listing, accepting, or rejecting push notifications for domain ownership changes.

Instructions

View or respond to incoming domain push requests from other Dynadot accounts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction: 'list' pending requests, 'accept' or 'reject' a request
push_idNoPush request ID (required for 'accept'/'reject')

Implementation Reference

  • The MCP tool 'manage_domain_push' is registered and implemented in 'src/tools/transfer.ts'. It handles 'list', 'accept', and 'reject' actions for domain push requests by invoking the corresponding methods on the Dynadot client.
    server.tool(
      "manage_domain_push",
      "View or respond to incoming domain push requests from other Dynadot accounts.",
      {
        action: z
          .enum(["list", "accept", "reject"])
          .describe("Action: 'list' pending requests, 'accept' or 'reject' a request"),
        push_id: z
          .string()
          .optional()
          .describe("Push request ID (required for 'accept'/'reject')"),
      },
      async ({ action, push_id }) => {
        try {
          if (action === "list") {
            const result = await client.getDomainPushRequest();
            return {
              content: [
                { type: "text" as const, text: JSON.stringify(result, null, 2) },
              ],
            };
          }
          if (!push_id) {
            return {
              content: [
                { type: "text" as const, text: "push_id is required for accept/reject" },
              ],
              isError: true,
            };
          }
          const result = await client.setDomainPushRequest(push_id, action);
          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 push operation 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