Skip to main content
Glama
useIntlayerConfig.ts397 B
import type { IntlayerConfig } from '@intlayer/types'; import { useEffect, useState } from 'react'; export const useIntlayerConfig = () => { const [intlayerConfig, setIntlayerConfig] = useState<IntlayerConfig>(); useEffect(() => { fetch('/api/config') .then((response) => response.json()) .then((data) => setIntlayerConfig(data.data)); }, []); return intlayerConfig; };

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/aymericzip/intlayer'

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