Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
ensureString.ts451 B
import { safelyStringifyJSON } from "./safelyStringifyJSON"; /** * Ensures that a value is a string. * If the value is not a string, it will be converted to a string using `safelyStringifyJSON`. * @param value - The value to ensure is a string. * @returns The value as a string. */ export function ensureString(value: unknown): string { if (typeof value === "string") { return value; } return safelyStringifyJSON(value)?.json ?? ""; }

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