Skip to main content
Glama

Convex MCP server

Official
by get-convex
reinit.ts1.24 kB
import { Command, Option } from "@commander-js/extra-typings"; import { oneoffContext } from "../bundler/context.js"; // Reinitialize an existing Convex project. // This command is deprecated and hidden from the command help. // `npx convex dev --once --configure=existing` replaces it. export const reinit = new Command("reinit") .description( "Reinitialize a Convex project in the local directory if you've lost your convex.json file", ) .allowExcessArguments(false) .addOption( new Option( "--team <team_slug>", "The identifier of the team the project belongs to.", ), ) .addOption( new Option( "--project <project_slug>", "The identifier of the project you'd like to reinitialize.", ), ) .action(async (_options) => { return ( await oneoffContext({ url: undefined, adminKey: undefined, envFile: undefined, }) ).crash({ exitCode: 1, errorType: "fatal", errForSentry: "The `reinit` command is deprecated. Use `npx convex dev --once --configure=existing` instead.", printedMessage: "The `reinit` command is deprecated. Use `npx convex dev --once --configure=existing` instead.", }); });

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