zora_get_profile
Fetch profile information for a wallet address or @handle to analyze user data and activity within the Zora Coins ecosystem on Base mainnet.
Instructions
Fetch profile for a wallet or @handle.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes |
Implementation Reference
- src/index.ts:221-225 (handler)Handler function that executes the zora_get_profile tool by calling CoinsSDK.getProfile(identifier) and formatting the response as MCP content.async ({ identifier }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getProfile({ identifier }); return { content: [{ type: "text", text: json(resp) }] }; }
- src/index.ts:217-219 (schema)Input schema validation using Zod for the identifier parameter.inputSchema: { identifier: z.string().min(1, "identifier (wallet or handle) is required"), },
- src/index.ts:212-226 (registration)Registration of the zora_get_profile tool with McpServer, including title, description, input schema, and inline handler function.server.registerTool( "zora_get_profile", { title: "Get profile", description: "Fetch profile for a wallet or @handle.", inputSchema: { identifier: z.string().min(1, "identifier (wallet or handle) is required"), }, }, async ({ identifier }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getProfile({ identifier }); return { content: [{ type: "text", text: json(resp) }] }; } );