Skip to main content
Glama

Convex MCP server

Official
by get-convex
errors.ts805 B
import { query, action, mutation } from "./_generated/server"; import { components } from "./_generated/api"; import { api } from "./_generated/api"; export const throwSystemErrorFromQuery = query(async (ctx) => { await ctx.runQuery(components.errors.throwSystemError.fromQuery, {}); }); export const throwSystemErrorFromAction = action(async (ctx) => { await ctx.runAction(components.errors.throwSystemError.fromAction, {}); }); export const tryPaginateWithinComponent = query(async (ctx) => { await ctx.runQuery(components.component.messages.tryToPaginate, {}); }); export const tryInfiniteLoop = query(async (ctx) => { await ctx.runQuery(api.errors.tryInfiniteLoop, {}); }); export const insertDoc = mutation(async (ctx) => { await ctx.db.insert("table", { name: "emma", age: 27 }); });

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