Skip to main content
Glama

Convex MCP server

Official
by get-convex
zod.ts777 B
import { action, mutation, query } from "../_generated/server"; import { zCustomAction, zCustomMutation, zCustomQuery, } from "convex-helpers/server/zod"; // You can futher customize the query builder, see convex-helpers/server/customFunctions. import { NoOp } from "convex-helpers/server/customFunctions"; // A custom version of a query builder that uses zod to validate the input and output types. export const queryWithZod = zCustomQuery(query, NoOp); // A custom version of a mutation builder that uses zod to validate the input and output types. export const mutationWithZod = zCustomMutation(mutation, NoOp); // A custom version of an action builder that uses zod to validate the input and output types. export const actionWithZod = zCustomAction(action, NoOp);

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