We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/phoenix'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { FocusManagerOptions, useFocusManager } from "react-aria";
import { useHotkeys } from "react-hotkeys-hook";
/**
* Place this component inside of a FocusScope, give it a hotkey, and it will
* focus the first element in the FocusScope when the hotkey is pressed.
*/
export const FocusHotkey = ({
hotkey,
accept,
}: {
hotkey: string;
accept?: FocusManagerOptions["accept"];
}) => {
const focus = useFocusManager();
useHotkeys(
hotkey,
() => {
focus?.focusFirst({
accept,
});
},
{ preventDefault: true }
);
return null;
};