Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
NewPromptLabelButton.tsx943 B
import { useState } from "react"; import { Button, DialogTrigger, Icon, Icons } from "@phoenix/components"; import { Modal, ModalOverlay } from "@phoenix/components/overlay"; import { NewPromptLabelDialog } from "./NewPromptLabelDialog"; export function NewPromptLabelButton() { const [showNewPromptLabelDialog, setShowNewPromptLabelDialog] = useState(false); return ( <DialogTrigger> <Button size="S" variant="primary" leadingVisual={<Icon svg={<Icons.PlusOutline />} />} onPress={() => setShowNewPromptLabelDialog(true)} > New Label </Button> <ModalOverlay isOpen={showNewPromptLabelDialog} onOpenChange={setShowNewPromptLabelDialog} > <Modal size="S"> <NewPromptLabelDialog onCompleted={() => setShowNewPromptLabelDialog(false)} /> </Modal> </ModalOverlay> </DialogTrigger> ); }

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