Skip to main content
Glama

list_domains

Retrieve a list of all domains registered in your Dynadot account with basic domain information for management purposes.

Instructions

List all domains in the Dynadot account with basic information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The "list_domains" tool implementation, which registers the tool with the MCP server and uses the dynadot client to fetch the list of domains.
    server.tool(
      "list_domains",
      "List all domains in the Dynadot account with basic information.",
      {},
      async () => {
        try {
          const result = await client.listDomains();
          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 domains: ${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