Skip to main content
Glama
auth-hooks.ts574 B
import { createAuthHooks } from "@daveyplate/better-auth-tanstack" import { authClient } from "@/lib/auth-client" export const authHooks = createAuthHooks(authClient) as ReturnType<typeof createAuthHooks> export const { useSession, usePrefetchSession, useToken, useListAccounts, useListSessions, useListDeviceSessions, useListPasskeys, useUpdateUser, useUnlinkAccount, useRevokeOtherSessions, useRevokeSession, useRevokeSessions, useSetActiveSession, useRevokeDeviceSession, useDeletePasskey, useAuthQuery, useAuthMutation } = authHooks

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/metacode0602/open-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server