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
import type { ComponentApi } from "./nested-component/_generated/component.js";
import { ActionCtx } from "./_generated/server.js";
export async function callComponentFunctions(
ctx: ActionCtx,
component: ComponentApi,
) {
const branded = await ctx.runQuery(component.functions.q, {
branded: "1",
});
const result = await ctx.runMutation(component.functions.m, {
branded,
});
if (!result) {
throw new Error("Failed to insert document");
}
await ctx.runAction(component.functions.a, {
branded,
id: result._id,
});
}