Skip to main content
Glama

Convex MCP server

Official
by get-convex
auth.ts1.64 kB
import { Command, Option } from "@commander-js/extra-typings"; import { oneoffContext } from "../bundler/context.js"; const list = new Command("list").action(async () => { const ctx = await oneoffContext({ url: undefined, adminKey: undefined, envFile: undefined, }); await ctx.crash({ exitCode: 1, errorType: "fatal", errForSentry: "Ran deprecated `convex auth list`", printedMessage: "convex auth commands were removed, see https://docs.convex.dev/auth for up to date instructions.", }); }); const rm = new Command("remove").action(async () => { const ctx = await oneoffContext({ url: undefined, adminKey: undefined, envFile: undefined, }); await ctx.crash({ exitCode: 1, errorType: "fatal", errForSentry: "Ran deprecated `convex auth remove`", printedMessage: "convex auth commands were removed, see https://docs.convex.dev/auth for up to date instructions.", }); }); const add = new Command("add") .addOption(new Option("--identity-provider-url <url>").hideHelp()) .addOption(new Option("--application-id <applicationId>").hideHelp()) .action(async () => { const ctx = await oneoffContext({ url: undefined, adminKey: undefined, envFile: undefined, }); await ctx.crash({ exitCode: 1, errorType: "fatal", errForSentry: "Ran deprecated `convex auth add`", printedMessage: "convex auth commands were removed, see https://docs.convex.dev/auth for up to date instructions.", }); }); export const auth = new Command("auth") .addCommand(list) .addCommand(rm) .addCommand(add);

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