Skip to main content
Glama
CopyCode.tsx715 B
'use client'; import type { FC } from 'react'; import { useIntlayer } from 'react-intlayer'; import { CopyButton } from '../CopyButton'; import { Popover, PopoverXAlign } from '../Popover'; type CopyCodeProps = { code: string; }; export const CopyCode: FC<CopyCodeProps> = ({ code }) => { const { title, description } = useIntlayer('code'); return ( <Popover identifier="copy"> <CopyButton content={code} /> <Popover.Detail identifier="copy" className="flex min-w-64 flex-col gap-3 p-3 text-sm" xAlign={PopoverXAlign.END} > <strong>{title}</strong> <p className="text-neutral">{description}</p> </Popover.Detail> </Popover> ); };

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