Skip to main content
Glama

Convex MCP server

Official
by get-convex
_simpleAuthedApp.tsx1.11 kB
// This file is not used in the demo app. // Replace the contents of _auth.tsx with the contents of this file // to use the default loading and logged out views instead of the custom // components. // @snippet start simpleAuthedApp import { ConvexReactClient } from "convex/react"; import { ConvexProviderWithAuth0 } from "convex/react-auth0"; import { Auth0Provider } from "@auth0/auth0-react"; import { AppProps } from "next/app"; const convex = new ConvexReactClient(process.env.NEXT_PUBLIC_CONVEX_URL!); export default function MyApp({ Component, pageProps }: AppProps) { return ( <Auth0Provider domain={process.env.NEXT_PUBLIC_AUTH0_DOMAIN!} clientId={process.env.NEXT_PUBLIC_AUTH0_CLIENT_ID!} authorizationParams={{ redirect_uri: typeof window === "undefined" ? undefined : window.location.origin, }} useRefreshTokens={true} cacheLocation="localstorage" > <ConvexProviderWithAuth0 client={convex}> <Component {...pageProps} /> </ConvexProviderWithAuth0> </Auth0Provider> ); } // @snippet end simpleAuthedApp

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