Skip to main content
Glama
baidu-provider.tsx520 B
import Script from "next/script"; import { IBaiduProviderProps } from "./type.js"; import React from "react"; const isDev = process.env.NODE_ENV === "development"; const BAIDU_ID = process?.env?.NEXT_PUBLIC_BAIDU_ID; /** * 百度统计脚本 */ export const BaiduProvider = ({ baiduId = BAIDU_ID, ...props }: IBaiduProviderProps) => { if (!baiduId) { isDev && console.warn("track.baidu.id is not found"); return null; } return <Script src={`https://hm.baidu.com/hm.js?${baiduId}`} {...props} />; };

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