Skip to main content
Glama

Convex MCP server

Official
by get-convex
tic.ts554 B
import { v } from "convex/values"; import { api } from "./_generated/api"; import { Id } from "./_generated/dataModel"; import { mutation } from "./_generated/server"; export default mutation({ args: { author: v.string(), }, handler: async ( { db, scheduler }, { author }, ): Promise<Id<"_scheduled_functions">> => { const message = { format: "text" as const, body: "tic", author, }; await db.insert("messages", message); return await scheduler.runAfter(1000, api.tac.default, { author }); }, });

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