Skip to main content
Glama

mcp-server-neon

Official
CodeSnippet.tsx990 B
'use client'; import { Suspense } from 'react'; import dynamic from 'next/dynamic'; import { docco, stackoverflowDark, } from 'react-syntax-highlighter/dist/esm/styles/hljs'; import { useTheme } from '@/components/ThemeProvider'; const SyntaxHighlighter = dynamic( () => import('react-syntax-highlighter').then((module) => module.default), { ssr: false, }, ); type Props = { type?: string; children: string; }; export const CodeSnippet = ({ type, children }: Props) => { const theme = useTheme(); return ( <div className="my-2"> <Suspense fallback={ <div className="monospaced whitespace-pre-wrap bg-secondary px-2 py-[0.5em] border-l-4"> {children} </div> } > <SyntaxHighlighter language={type} wrapLongLines style={theme === 'light' ? docco : stackoverflowDark} > {children} </SyntaxHighlighter> </Suspense> </div> ); };

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/neondatabase-labs/mcp-server-neon'

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