Skip to main content
Glama

Convex MCP server

Official
by get-convex
TableIndexesPanel.tsx1.23 kB
import { DataPanel } from "@common/features/data/components/DataPanel"; import { ConvexSchemaFilePath } from "@common/features/data/components/ConvexSchemaFilePath"; import { Loading } from "@ui/Loading"; import { useSingleTableSchemaStatus } from "./TableSchema"; import { IndexList } from "./IndexList"; export function TableIndexesPanel({ tableName, onClose, }: { tableName: string; onClose: () => void; }) { return ( <DataPanel title={ <> Indexes for table{" "} <span className="font-mono text-[1.0625rem]">{tableName}</span> </> } onClose={onClose} > <IndexBody tableName={tableName} /> </DataPanel> ); } function IndexBody({ tableName }: { tableName: string }) { const tableSchemaStatus = useSingleTableSchemaStatus(tableName); if (tableSchemaStatus === undefined) { return <Loading />; } return ( <div className="grow p-4 pt-0 sm:p-6"> {tableSchemaStatus.isDefined ? ( <IndexList tableName={tableName} /> ) : ( <> Once you add your table to your <ConvexSchemaFilePath /> file, you’ll be able to see any indexes you’ve defined here. </> )} </div> ); }

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