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 { action, mutation } from "./_generated/server";
import { api } from "./_generated/api";
export const populate = mutation({
args: {},
handler: async (ctx) => {
await ctx.db.insert("messages", {
text: "Hello, world!",
channel: "general",
});
await ctx.db.insert("messages", { channel: "smokey", text: "Mama mia" });
await ctx.db.insert("messages", {
channel: "private",
text: "Everything perishes in the universe",
});
await ctx.db.insert("users", { name: "Alice" });
await ctx.db.insert("users", { name: "Nipunn" });
await ctx.db.insert("maps", { map: "Island with a hidden treasure" });
},
});
export const populateVirtual = action({
args: {},
handler: async (ctx) => {
await ctx.storage.store(new Blob(["Hello"], { type: "text/plain" }));
await ctx.scheduler.runAfter(10 * 24 * 3600 * 1000, api.functions.populate);
},
});