MCPcopy Create free account
hub / github.com/cursor/community-plugins / baseQuery

Function baseQuery

apps/cursor/src/data/queries.ts:280–285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278 const supabase = await createClient();
279
280 const baseQuery = () =>
281 supabase
282 .from("mcps")
283 .select("*")
284 .eq("active", true)
285 .order("company_id", { ascending: true, nullsFirst: false });
286
287 if (fetchAll) {
288 return fetchAllPages((from, to) => baseQuery().range(from, to), 100);

Callers 2

getMCPsFunction · 0.70
getPluginsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected