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
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action: 'list' pending requests, 'accept' or 'reject' a request | |
| push_id | No | Push request ID (required for 'accept'/'reject') |
Implementation Reference
- src/tools/transfer.ts:214-260 (handler)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, }; } } );