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 { mutation } from "./_generated/server";
import { v } from "convex/values";
export const replaceTask = mutation({
args: { id: v.id("tasks") },
handler: async (ctx, args) => {
const { id } = args;
console.log(await ctx.db.get("tasks", id));
// { text: "foo", _id: ... }
// Replace the whole document
await ctx.db.replace("tasks", id, { invalid: true });
console.log(await ctx.db.get("tasks", id));
// { invalid: true, _id: ... }
},
});