Skip to main content
Glama

Convex MCP server

Official
by get-convex
main.tsx1.41 kB
import { Auth0Provider } from "@auth0/auth0-react"; import { Authenticated, AuthLoading, ConvexReactClient, Unauthenticated, } from "convex/react"; import { ConvexProviderWithAuth0 } from "convex/react-auth0"; import { StrictMode } from "react"; import ReactDOM from "react-dom/client"; import App from "./App"; import "./index.css"; import LoginPage from "./LoginPage"; const convex = new ConvexReactClient(import.meta.env.VITE_CONVEX_URL); ReactDOM.createRoot(document.getElementById("root")!).render( <StrictMode> <Auth0Provider // Replace these with your own Auth0 Domain and Client ID // or with `{import.meta.env.VITE_AUTH0_DOMAIN}` and // `{import.meta.env.VITE_AUTH0_CLIENT_ID}` // and configure VITE_AUTH0_DOMAIN and VITE_AUTH0_CLIENT_ID // in your .env.local domain="dev-dr8esswf5jyzlaf6.us.auth0.com" clientId="8DJpkTAjDwR9VOzNfyN7PLzhX3zcB7fd" authorizationParams={{ redirect_uri: window.location.origin, }} useRefreshTokens={true} cacheLocation="localstorage" > <ConvexProviderWithAuth0 client={convex}> <Authenticated> <App /> </Authenticated> <Unauthenticated> <LoginPage /> </Unauthenticated> <AuthLoading> <main>Loading...</main> </AuthLoading> </ConvexProviderWithAuth0> </Auth0Provider> </StrictMode>, );

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