Skip to main content
Glama
index.tsx641 B
import React from 'react'; import {useSearchParams} from 'react-router-dom'; import PodLogViewer from '../../components/Amis/custom/LogView/PodLogViewer'; const PodLog: React.FC = () => { const [searchParams] = useSearchParams(); const namespace = searchParams.get('namespace') || ''; const name = searchParams.get('name') || ''; if (!namespace || !name) { return <div>请在URL中提供namespace和name参数</div>; } return ( <div style={{padding: '6px'}}> <PodLogViewer namespace={namespace} name={name} data={{}} showTitle={true}/> </div> ); }; export default PodLog;

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/weibaohui/k8m'

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