Skip to main content
Glama
northernvariables

FedMCP - Federal Parliamentary Information

ChatWidgetWrapper.tsx475 B
/** * ChatWidgetWrapper - Conditionally renders ChatWidget * * Prevents the widget from showing on the standalone chat window page */ 'use client'; import { usePathname } from 'next/navigation'; import { ChatWidget } from './ChatWidget'; export function ChatWidgetWrapper() { const pathname = usePathname(); // Don't render the widget on the standalone chat window page if (pathname?.includes('/chat/window')) { return null; } return <ChatWidget />; }

Latest Blog Posts

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/northernvariables/FedMCP'

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