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
"use client";
import { usePathname } from "next/navigation";
import { SystemsProvider } from "./systems-context";
import { SchedulesProvider } from "./schedules-context";
import { ToolsProvider } from "./tools-context";
const BLACKLISTED_PATHS = ["/auth", "/login"];
export function ConditionalDataProvider({ children }: { children: React.ReactNode }) {
const pathname = usePathname();
if (BLACKLISTED_PATHS.some((path) => pathname.startsWith(path))) {
return children;
}
return (
<ToolsProvider>
<SystemsProvider>
<SchedulesProvider>{children}</SchedulesProvider>
</SystemsProvider>
</ToolsProvider>
);
}