Skip to main content
Glama

Convex MCP server

Official
by get-convex
offlineNotification.tsx1.03 kB
import { toast } from "@common/lib/utils"; import Link from "next/link"; import React from "react"; import { captureException } from "@sentry/nextjs"; // Constants for toast display export const TOAST_AFTER_BACKOFF_COUNT = 3; export const OFFLINE_TOAST_ID = "check_convex_status"; /** * Creates the content for the offline status toast */ export const createOfflineToastContent = () => ( <p> Something seems wrong. The dashboard will attempt to reconnect automatically. Check{" "} <Link href="https://status.convex.dev/" className="text-content-link hover:underline" target="_blank" > Convex status </Link>{" "} for details and updates. </p> ); /** * Shows a toast notification for offline status * @param error Optional error to capture in Sentry */ export const showOfflineToast = (error?: Error) => { toast("error", createOfflineToastContent(), OFFLINE_TOAST_ID); // Log the error to Sentry if provided if (error) { captureException(error.message); } };

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