Skip to main content
Glama

Convex MCP server

Official
by get-convex
cleanUp.ts444 B
import { ALL_TABLE_NAMES } from "./schema"; import { mutation } from "./_generated/server"; export default mutation(async (ctx) => { for (const table of ALL_TABLE_NAMES) { const docs = await ctx.db.query(table).collect(); for (const doc of docs) { await ctx.db.delete(doc._id); } } const docs = await ctx.db.system.query("_storage").collect(); for (const doc of docs) { await ctx.storage.delete(doc._id); } });

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