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

Function getNewUsers

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

Source from the content-addressed store, hash-verified

247}
248
249export async function getNewUsers() {
250 "use cache";
251 cacheLife("hours");
252 cacheTag("users");
253
254 const supabase = await createClient();
255 const { data, error } = await supabase
256 .from("users")
257 .select("slug, name, image")
258 .eq("public", true)
259 .order("created_at", { ascending: false })
260 .limit(24);
261
262 return { data, error };
263}
264
265export async function getMCPs({
266 page = 1,

Callers

nothing calls this directly

Calls 1

createClientFunction · 0.90

Tested by

no test coverage detected