Skip to main content
Glama

Superglue MCP

Official
by superglue-ai
PHPageView.tsx951 B
'use client' import { usePathname, useSearchParams } from "next/navigation" import { usePostHog } from 'posthog-js/react' import { Suspense, useEffect } from "react" function PostHogPageView() : null { const pathname = usePathname() const searchParams = useSearchParams() const posthog = usePostHog() useEffect(() => { if (pathname && posthog) { let url = window.origin + pathname if (searchParams.toString()) { url = url + `?${searchParams.toString()}` } posthog.capture('$pageview', { '$current_url': url }) } }, [pathname, searchParams, posthog]) return null } // Wrap this in Suspense to avoid the `useSearchParams` usage above // from de-opting the whole app into client-side rendering // See: https://nextjs.org/docs/messages/deopted-into-client-rendering export default function SuspendedPostHogPageView() { return <Suspense fallback={null}> <PostHogPageView /> </Suspense> }

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