We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/metacode0602/open-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
"use client";
import { useCallback } from "react";
export const useUmami = () => {
const onEnevt = useCallback((event: string, data: any) => {
if (!window.umami) {
console.error("umami is not found");
return;
}
window.umami.track(event, data);
}, []);
const onVisitorProfile = useCallback((data: any) => {
if (!window.umami) {
console.error("umami is not found");
return;
}
window.umami.identify(data);
}, []);
return {
onEnevt,
onVisitorProfile,
};
};