Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
DeleteAPIKeyButton.tsx2.14 kB
import { Button, Dialog, DialogTrigger, Flex, Icon, Icons, Modal, ModalOverlay, Text, View, } from "@phoenix/components"; import { DialogCloseButton, DialogContent, DialogHeader, DialogTitle, DialogTitleExtra, } from "@phoenix/components/dialog"; export function DeleteAPIKeyButton({ handleDelete, }: { handleDelete: () => void; }) { return ( <DialogTrigger> <Button variant="danger" size="S" leadingVisual={<Icon svg={<Icons.TrashOutline />} />} aria-label="Delete System Key" /> <ModalOverlay isDismissable> <Modal> <Dialog> {({ close }) => ( <DialogContent> <DialogHeader> <DialogTitle>Delete API Key</DialogTitle> <DialogTitleExtra> <DialogCloseButton slot="close" /> </DialogTitleExtra> </DialogHeader> <View padding="size-200"> <Text color="danger"> {`Are you sure you want to delete this key? This cannot be undone and will disable all uses of this key.`} </Text> </View> <View paddingEnd="size-200" paddingTop="size-100" paddingBottom="size-100" borderTopColor="light" borderTopWidth="thin" > <Flex direction="row" justifyContent="end" gap="size-100"> <Button slot="close" size="S"> Cancel </Button> <Button variant="danger" onPress={() => { close(); handleDelete(); }} size="S" > Delete Key </Button> </Flex> </View> </DialogContent> )} </Dialog> </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