Skip to main content
Glama

Convex MCP server

Official
by get-convex
componentsNode.ts474 B
"use node"; import { components } from "../_generated/api"; import { action } from "../_generated/server"; export const callComponentFromNodeAction = action({ handler: async (ctx) => { const count = Math.floor(Math.random() * 4) + 1; await ctx.runAction(components.counterComponent.public.reset, { count }); await ctx.runMutation(components.counterComponent.public.increment); return await ctx.runQuery(components.counterComponent.public.load); }, });

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