Skip to main content
Glama

Convex MCP server

Official
by get-convex
triggers.ts756 B
import { internalMutation, mutation } from "./_generated/server"; import { components, internal } from "./_generated/api"; import { customMutation } from "convex-helpers/server/customFunctions"; import { WithTriggers, withTriggers } from "@convex-dev/triggers"; import { DataModel } from "./_generated/dataModel"; const mutationWrapper: WithTriggers<DataModel> = withTriggers( components.triggers, { notes: { atomicMutators: internal.notes, triggers: [internal.notes.onNote], }, }, ); // Custom mutation that must be used to trigger the triggers. export const mutationWithTriggers = customMutation(mutation, mutationWrapper); export const internalMutationWithTriggers = customMutation( internalMutation, mutationWrapper, );

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