Skip to main content
Glama

mcp-google-sheets

todos-activity-hook.ts468 B
import { useQuery } from '@tanstack/react-query'; import { todoActivityApi } from './todos-activitiy-api'; export const todoActivitiesHook = { useComments: (todoId: string | null) => { return useQuery({ queryKey: ['todos', todoId, 'comments'], queryFn: () => todoActivityApi.list({ todoId: todoId!, cursor: undefined, limit: 100, type: undefined, }), enabled: !!todoId, }); }, };

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