Skip to main content
Glama

Convex MCP server

Official
by get-convex
ThemeConsumer.tsx609 B
import { useCallback, useEffect } from "react"; import { useTheme } from "next-themes"; export function ThemeConsumer() { const { setTheme, theme } = useTheme(); const handleKeyPress = useCallback( (event: KeyboardEvent) => { if (event.key === "t" && event.ctrlKey && event.metaKey) { setTheme(theme === "dark" ? "light" : "dark"); } }, [setTheme, theme], ); useEffect(() => { document.addEventListener("keydown", handleKeyPress); return () => { document.removeEventListener("keydown", handleKeyPress); }; }, [handleKeyPress]); return null; }

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