Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
Icon.tsx1.4 kB
import { HTMLAttributes, ReactNode } from "react"; import { css } from "@emotion/react"; import { classNames } from "@arizeai/components"; import { ColorValue, StylableProps } from "@phoenix/components/types"; import { colorValue } from "@phoenix/components/utils"; interface IconProps extends StylableProps, HTMLAttributes<HTMLElement> { svg: ReactNode; /** * Passed through by wrapping components. * @private * @default false */ isDisabled?: boolean; /** * The color of the icon * @default 'inherit' */ color?: ColorValue | "inherit"; } /** * Wraps the svg in a reasonable size and applies a color */ export const Icon = ({ svg, isDisabled: _isDisabled, color = "inherit", css: propsCSS, className = "", ...restProps }: IconProps) => { const resolvedColor = color === "inherit" ? "inherit" : colorValue(color); return ( <i className={classNames("ac-icon-wrap", className)} css={css( css` width: 1em; height: 1em; font-size: 1.2rem; color: ${resolvedColor}; display: flex; svg { fill: currentColor; width: 1em; height: 1em; display: inline-block; flex-shrink: 0; user-select: none; } `, propsCSS )} {...restProps} > {svg} </i> ); };

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/Arize-ai/phoenix'

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