Skip to main content
Glama

Convex MCP server

Official
by get-convex
auth.ts471 B
import { api } from "./_generated/api"; import { query, mutation } from "./_generated/server"; export const q = query(async ({ auth }) => { return await auth.getUserIdentity(); }); export const m = mutation(async ({ auth }) => { return await auth.getUserIdentity(); }); export const s = mutation(async ({ scheduler, auth }) => { if (!auth.getUserIdentity()) { throw new Error("not authed"); } await scheduler.runAfter(0, api.actions.auth.storeUser); });

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