We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/keyurgolani/ThoughtMcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
PanelContext.tsx•414 B
import { createContext, useContext } from "react";
import type { PanelContextValue } from "../../types/panel";
export const PanelContext = createContext<PanelContextValue | null>(null);
export function usePanelContext(): PanelContextValue {
const context = useContext(PanelContext);
if (!context) {
throw new Error("usePanelContext must be used within ResponsivePanelContainer");
}
return context;
}