get_account_info
Retrieve your Dynadot account details like username, email, and settings to manage your domain registrar profile.
Instructions
Get Dynadot account information including username, email, and settings.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/account.ts:20-42 (handler)The MCP tool definition and handler for get_account_info.
server.tool( "get_account_info", "Get Dynadot account information including username, email, and settings.", {}, async () => { try { const result = await client.getAccountInfo(); 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 get account info: ${msg}` }, ], isError: true, }; } } );