Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
ExperimentAnnotationButton.tsx1.37 kB
import { ReactNode } from "react"; import { Pressable } from "react-aria-components"; import { css } from "@emotion/react"; import { Flex } from "@phoenix/components"; import { Annotation, AnnotationNameAndValue, } from "@phoenix/components/annotation"; /** * A button that appears like a list item but that is still interactive * to show a pop-over for the details */ export function ExperimentAnnotationButton({ annotation, extra, }: { annotation: Annotation; /** * Additional content like controls that will be placed on the right */ extra?: ReactNode; }) { return ( <Pressable> <button className="button--reset" css={css` cursor: pointer; padding: var(--ac-global-dimension-size-50) var(--ac-global-dimension-size-100); flex: 1 1 auto; border-radius: var(--ac-global-rounding-small); width: 100%; &:hover { background-color: var(--ac-global-color-grey-200); } `} > <Flex direction="row" gap="size-100" alignItems="center" justifyContent="space-between" > <AnnotationNameAndValue annotation={annotation} displayPreference="score" /> {extra} </Flex> </button> </Pressable> ); }

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