Skip to main content
Glama

restore_domain

Recover a recently deleted domain name from the redemption grace period using the Dynadot registrar API.

Instructions

Restore a recently deleted domain from the redemption grace period.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name to restore

Implementation Reference

  • The handler implementation for restoring a domain, which calls the Dynadot API 'restore' command.
    async restoreDomain(domain: string): Promise<DynadotResponse> {
      return this.call("restore", { domain });
    }
  • The MCP tool registration for 'restore_domain', which invokes the client's restoreDomain method.
    server.tool(
      "restore_domain",
      "Restore a recently deleted domain from the redemption grace period.",
      {
        domain: z.string().describe("Domain name to restore"),
      },
      async ({ domain }) => {
        try {
          const result = await client.restoreDomain(domain);
          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 restore 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