Skip to main content
Glama

list_folders

View all domain folders in your Dynadot account to organize and manage your registered domains efficiently.

Instructions

List all folders in the Dynadot account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for "list_folders" tool, which calls `client.listFolders()` and returns the result as JSON.
    server.tool(
      "list_folders",
      "List all folders in the Dynadot account.",
      {},
      async () => {
        try {
          const result = await client.listFolders();
          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 folders: ${msg}` },
            ],
            isError: true,
          };
        }
      }
    );
  • The function that registers the folder-related tools, including "list_folders".
    export function registerFolderTools(
      server: McpServer,
      client: DynadotClient
    ): void {

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