Skip to main content
Glama

Convex MCP server

Official
by get-convex
node.ts792 B
import { queryPrivateSystem } from "../secretSystemTables"; export const version = queryPrivateSystem({ args: {}, handler: async function ({ db }) { const modules = await db.query("_modules").take(1000); const nodeModules = modules.filter((m) => m.environment === "node"); // We keep lambdas around even if they are not currently in use. So, we need to // return early if there are no node actions currently deployed. if (nodeModules.length === 0 && modules.length < 1000) { return null; } const version = await db .query("_aws_lambda_versions") .order("desc") .filter((q) => q.eq(q.field("typeConfig.type"), "static")) .first(); if (!version) { return null; } return version.lambdaConfig.runtime; }, });

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