Skip to main content
Glama

Convex MCP server

Official
by get-convex
JSDialectVariants.tsx438 B
import React from "react"; import { useSelectedDialect } from "./theme/Root"; export function JSDialectVariants({ children }) { const childArray = React.Children.toArray(children); const selectedDialect = useSelectedDialect(); if (childArray.length !== 2) { throw new Error( `JSDialectVariants expects 2 children, got ${childArray.length}`, ); } return selectedDialect === "TS" ? childArray[0] : childArray[1]; }

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