Skip to main content
Glama

Convex MCP server

Official
by get-convex
readingDataJoin.ts394 B
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(args.eventId); // highlight-start return Promise.all( (event?.attendeeIds ?? []).map((userId) => ctx.db.get(userId)), ); // highlight-end }, });

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/get-convex/convex-backend'

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