We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/get-convex/convex-backend'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { query } from "./_generated/server";
import { v } from "convex/values";
export const eventAttendees = query({
args: { eventId: v.id("events") },
handler: async (ctx, args) => {
const event = await ctx.db.get("events", args.eventId);
// highlight-start
return Promise.all(
(event?.attendeeIds ?? []).map((userId) => ctx.db.get("users", userId)),
);
// highlight-end
},
});