Skip to main content
Glama

Convex MCP server

Official
by get-convex
sharp.ts570 B
"use node"; // waiting for a better quickfix to enforce this /* eslint-disable @convex-dev/no-old-registered-function-syntax */ import { action } from "./_generated/server"; // import sharp from 'sharp'; export const getUploadUrl = action(async (ctx) => { return await ctx.storage.generateUploadUrl(); }); export const l = action(async (ctx, { id }: { id: string }) => { const img = await ctx.storage.get(id); if (!img) { throw new Error("could not fetch img"); } /* const buf = await sharp(img) .greyscale() .toBuffer(); */ });

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