Skip to main content
Glama

Convex MCP server

Official
by get-convex
vanityDomains.ts1.22 kB
import { useBBMutation, useBBQuery } from "./api"; export function useListVanityDomains(deploymentName?: string) { const { data } = useBBQuery({ path: "/instances/{deployment_name}/domains/list", pathParams: { deployment_name: deploymentName || "", }, swrOptions: { refreshInterval: 5000, }, }); return data?.domains; } export function useCreateVanityDomain(deploymentName: string) { return useBBMutation({ path: `/instances/{deployment_name}/domains/create`, pathParams: { deployment_name: deploymentName, }, mutateKey: `/instances/{deployment_name}/domains/list`, mutatePathParams: { deployment_name: deploymentName, }, successToast: "Custom domain has been added. Your changes may take up to 30 minutes to be propagated.", }); } export function useDeleteVanityDomain(deploymentName: string) { return useBBMutation({ path: "/instances/{deployment_name}/domains/delete", pathParams: { deployment_name: deploymentName, }, mutateKey: "/instances/{deployment_name}/domains/list", mutatePathParams: { deployment_name: deploymentName, }, successToast: "Custom domain has been deleted.", }); }

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