Skip to main content
Glama
code-display.tsx536 B
"use client"; import React from "react"; interface CodeDisplayProps { component: React.ReactNode; children: React.ReactNode; } export default function CodeDisplay({ component, children }: CodeDisplayProps) { return ( <div className="grid grid-cols-1 md:grid-cols-2 gap-6 my-6 overflow-hidden"> <div className="w-full overflow-hidden">{children}</div> <div className="w-full flex items-center justify-center my-6 rounded-lg border bg-gray-50 dark:bg-gray-900"> {component} </div> </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/metacode0602/open-mcp'

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