Skip to main content
Glama
evalstate

Hugging Face MCP Server

by evalstate
useWidgetProps.ts362 B
import { useOpenAiGlobal } from './useOpenAiGlobal'; export function useWidgetProps<T extends Record<string, unknown>>( defaultState?: T | (() => T) ): T { const props = useOpenAiGlobal('toolOutput') as T; const fallback = typeof defaultState === 'function' ? (defaultState as () => T | null)() : defaultState ?? null; return props ?? fallback; }

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/evalstate/hf-mcp-server'

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