Skip to main content
Glama

Superglue MCP

Official
by superglue-ai
client-layout.tsx2.02 kB
"use client" import { AnimatePresence, motion } from 'framer-motion'; import { usePathname } from 'next/navigation'; import { Sidebar } from '../components/Sidebar'; import { Toaster } from '../components/ui/toaster'; import { LogSidebar } from '../components/utils/LogSidebar'; import { ServerMonitor } from '../components/utils/ServerMonitor'; import { ConfigProvider } from './config-context'; import { jetbrainsMono, jetbrainsSans } from './fonts'; import { IntegrationsProvider } from './integrations-context'; import { CSPostHogProvider } from './providers'; interface Props { children: React.ReactNode config: any // keep existing type } export function ClientWrapper({ children, config }: Props) { const pathname = usePathname() const isAuthPage = pathname?.startsWith('/auth') return ( <ConfigProvider config={config}> <IntegrationsProvider> <CSPostHogProvider> <div className={`${jetbrainsSans.variable} ${jetbrainsMono.variable} antialiased`}> {isAuthPage ? ( children ) : ( <div className="flex h-screen overflow-hidden"> {config.superglueApiKey && <Sidebar />} <AnimatePresence mode="wait"> <motion.div key={pathname} initial={{ opacity: 0, x: 20 }} animate={{ opacity: 1, x: 0 }} transition={{ duration: 0.3 }} className="w-full h-full overflow-auto" > {children} </motion.div> </AnimatePresence> {config.superglueApiKey && ( <div className="hidden lg:block"> <LogSidebar /> </div> )} </div> )} <Toaster /> {config.superglueApiKey && <ServerMonitor />} </div> </CSPostHogProvider> </IntegrationsProvider> </ConfigProvider> ) }

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/superglue-ai/superglue'

If you have feedback or need assistance with the MCP directory API, please join our Discord server