Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
safelyStringifyJSON.ts400 B
/** * Safely stringify a JSON object * * @param args - The arguments to pass to JSON.stringify * @returns An object containing both the stringified JSON and the error if there was one */ export function safelyStringifyJSON( ...args: Parameters<typeof JSON.stringify> ) { try { return { json: JSON.stringify(...args) }; } catch (e) { return { json: null, stringifyError: e }; } }

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