Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
instrumentation.ts690 B
import { OpenAIInstrumentation } from "@arizeai/openinference-instrumentation-openai"; import { register, registerInstrumentations } from "@arizeai/phoenix-otel"; import OpenAI from "openai"; export function instrument({ projectName, headers, collectorEndpoint = "http://localhost:6006", }: { projectName?: string; headers?: Record<string, string>; collectorEndpoint?: string; }) { register({ projectName, headers, url: collectorEndpoint, batch: false, global: true, }); const instrumentation = new OpenAIInstrumentation(); instrumentation.manuallyInstrument(OpenAI); registerInstrumentations({ instrumentations: [instrumentation], }); }

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