Skip to main content
Glama

Convex MCP server

Official
by get-convex
getTableMapping.ts675 B
import { v } from "convex/values"; import { performOp } from "udf-syscall-ffi"; import { queryPrivateSystem } from "../secretSystemTables"; /** * Returns an object mapping the table numbers to table names * (e.g. {"1": "users"}) */ export default queryPrivateSystem({ args: { componentId: v.optional(v.union(v.string(), v.null())) }, handler: async () => { const tableMapping: Record<number, string> = await performOp("getTableMapping"); return Object.fromEntries( Object.entries(tableMapping).filter( ([, name]) => !name.startsWith("_") || ["_scheduled_jobs", "_file_storage"].includes(name), ), ); }, });

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