Skip to main content
Glama

mcp-google-sheets

git-sync-hooks.ts480 B
import { useQuery } from '@tanstack/react-query'; import { gitSyncApi } from './git-sync-api'; export const gitSyncHooks = { useGitSync: (projectId: string, enabled: boolean) => { const query = useQuery({ queryKey: ['git-sync', projectId], queryFn: () => gitSyncApi.get(projectId), staleTime: Infinity, enabled: enabled, }); return { gitSync: query.data, isLoading: query.isLoading, refetch: query.refetch, }; }, };

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/activepieces/activepieces'

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