Skip to main content
Glama

Convex MCP server

Official
by get-convex
CopyButton.tsx1.16 kB
import React, { useState } from "react"; import { CopyIcon } from "@radix-ui/react-icons"; import { copyTextToClipboard } from "@common/lib/utils"; import { Button } from "@ui/Button"; export function CopyButton({ text, className, inline = false, tip, tipSide, disabled, }: { text: string; className?: string; inline?: boolean; tip?: string; tipSide?: "top" | "bottom" | "left" | "right"; disabled?: boolean; }) { const [copied, setCopied] = useState(false); const copyText = () => { let canceled = false; void (async () => { if (text) { await copyTextToClipboard(text); if (canceled) return; setCopied(true); setTimeout(() => { if (canceled) return; setCopied(false); }, 2000); } })(); return () => { canceled = true; }; }; return ( <Button onClick={copyText} size="xs" icon={<CopyIcon />} variant="neutral" inline={inline} className={className} tip={tip} tipSide={tipSide} disabled={disabled} > {copied ? "Copied!" : !inline && "Copy"} </Button> ); }

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