Skip to main content
Glama

list_registered_nameservers

Retrieve all custom nameservers registered in your Dynadot account to manage DNS configurations for domains.

Instructions

List all registered (custom) nameservers in the account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The Dynadot API client method that calls the 'server_list' command to retrieve registered nameservers.
    async listRegisteredNameservers(): Promise<DynadotResponse> {
      return this.call("server_list");
    }
  • The MCP tool registration and handler implementation for 'list_registered_nameservers'. It invokes the client's 'listRegisteredNameservers' method.
    server.tool(
      "list_registered_nameservers",
      "List all registered (custom) nameservers in the account.",
      {},
      async () => {
        try {
          const result = await client.listRegisteredNameservers();
          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: `Failed to list nameservers: ${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