dex_get_current_user
Retrieve the currently authenticated user's profile including name, email, time zone, and subscription plan from the Dex CRM system.
Instructions
Retrieve the profile of the currently authenticated user including name, email, time zone, and subscription plan.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/users.ts:18-32 (registration)Registration and handler implementation for the dex_get_current_user tool.
export function registerUserTools(server: McpServer): void { server.tool( "dex_get_current_user", "Retrieve the profile of the currently authenticated user including name, email, time zone, and subscription plan.", {}, async () => { try { const result = await dex.get("/v1/users/me"); return toResult(result); } catch (error) { return toError(error); } } ); }