Skip to main content
Glama

Convex MCP server

Official
by get-convex
PreviewImage.tsx946 B
import { useState } from "react"; import Image from "next/image"; import { Spinner } from "@ui/Spinner"; export function PreviewImage({ url }: { url: string }) { const [[width, height], setSize] = useState< [number | undefined, number | undefined] >([undefined, undefined]); return ( <div className="relative"> {(!width || !height) && <Spinner className="animate-fadeInFromLoading" />} <Image src={url} alt="image preview" // Hack to correctly size the preview image to the appropriate dimensions: // Start with fill set to true, then set the width and height to the natural width and height of the image. fill={!width || !height} objectFit="contain" unoptimized width={width} height={height} onLoadingComplete={({ naturalWidth, naturalHeight }) => { setSize([naturalWidth, naturalHeight]); }} /> </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