Skip to main content
Glama

Convex MCP server

Official
by get-convex
analyze.ts849 B
import { query, mutation, action } from "./_generated/server"; // exported helper function should be ignored since neither a mutation or query export function ignoreMePls() { throw new Error("Why'd you call me??"); } export const g = mutation(function g() { return 2; }); // a mutation or query function can be exported multiple times export const f1 = mutation(() => 3); const f2 = f1; export { f2 }; // This function should not be ignored even though it is not // exported with its canonical name because it is explicitly // marked as a query. export const h = query(function not_h() { return 3; }); // even default exports can appear multiple times export default h; export const action_in_v8 = action(() => 3); // Regression test: if microtask queue isn't drained, this will panic. void Promise.resolve(null).then(() => Date.now());

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