Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
promptsLoader.ts627 B
import { graphql, loadQuery } from "react-relay"; import RelayEnvironment from "@phoenix/RelayEnvironment"; import { promptsLoaderQuery, promptsLoaderQuery$variables, } from "./__generated__/promptsLoaderQuery.graphql"; export const promptsLoaderGql = graphql` query promptsLoaderQuery { ...PromptsTable_prompts } `; /** * Loads in the necessary page data for the prompts page */ export function promptsLoader() { return loadQuery<promptsLoaderQuery, promptsLoaderQuery$variables>( RelayEnvironment, promptsLoaderGql, {} ); } export type PromptsLoaderType = ReturnType<typeof promptsLoader>;

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