Skip to main content
Glama

Convex MCP server

Official
by get-convex
definition.ts1.4 kB
// These reflect server types. export type ComponentDefinitionExport = { name: string; // how will we figure this out? path: string; definitionType: { type: "childComponent"; name: string; args: [string, { type: "value"; value: string }][]; }; childComponents: []; exports: { type: "branch"; branch: [] }; }; // These reflect server types. // type ComponentDefinitionType export type ComponentDefinitionType = { type: "childComponent"; name: string; args: [string, { type: "value"; value: string }][]; }; export type AppDefinitionType = { type: "app" }; type ComponentInstantiation = { name: string; // This is a ComponentPath. path: string; args: [string, { type: "value"; value: string }][]; }; export type HttpMount = string; type ComponentExport = | { type: "branch"; branch: [string, ComponentExport][] } | { type: "leaf"; leaf: string }; // The type expected from the internal .export() // method of a component or app definition. export type ComponentDefinitionAnalysis = { name: string; definitionType: ComponentDefinitionType; childComponents: ComponentInstantiation[]; httpMounts: Record<string, HttpMount>; exports: ComponentExport; }; export type AppDefinitionAnalysis = { definitionType: AppDefinitionType; childComponents: ComponentInstantiation[]; httpMounts: Record<string, HttpMount>; exports: ComponentExport; };

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