Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
integrationsconfiguration.md2.38 kB
--- title: IntegrationsConfiguration --- {% tabs %} {% tab title="Phoenix Cloud" %} **Sign up for Phoenix:** Sign up for an Arize Phoenix account at [https://app.phoenix.arize.com/login](https://app.phoenix.arize.com/login) **Install packages:** ```bash pip install arize-phoenix-otel ``` **Set your Phoenix endpoint and API Key:** ```python import os # Add Phoenix API Key for tracing PHOENIX_API_KEY = "ADD YOUR API KEY" os.environ["PHOENIX_CLIENT_HEADERS"] = f"api_key={PHOENIX_API_KEY}" os.environ["PHOENIX_COLLECTOR_ENDPOINT"] = "https://app.phoenix.arize.com" ``` Your **Phoenix API key** can be found on the Keys section of your [dashboard](https://app.phoenix.arize.com). {% endtab %} {% tab title="Command Line" %} **Launch your local Phoenix instance:** ```bash pip install arize-phoenix phoenix serve ``` For details on customizing a local terminal deployment, see [Terminal Setup](https://arize.com/docs/phoenix/setup/environments#terminal). **Install packages:** ```bash pip install arize-phoenix-otel ``` **Set your Phoenix endpoint:** ```python import os os.environ["PHOENIX_COLLECTOR_ENDPOINT"] = "http://localhost:6006" ``` See [Terminal](../../environments.md#terminal) for more details {% endtab %} {% tab title="Docker" %} **Pull latest Phoenix image from** [**Docker Hub**](https://hub.docker.com/r/arizephoenix/phoenix)**:** ```bash docker pull arizephoenix/phoenix:latest ``` **Run your containerized instance:** ```bash docker run -p 6006:6006 arizephoenix/phoenix:latest ``` This will expose the Phoenix on `localhost:6006` **Install packages:** ```bash pip install arize-phoenix-otel ``` **Set your Phoenix endpoint:** ```python import os os.environ["PHOENIX_COLLECTOR_ENDPOINT"] = "http://localhost:6006" ``` For more info on using Phoenix with Docker, see [Docker](https://arize.com/docs/phoenix/self-hosting/deployment-options/docker). {% endtab %} {% tab title="Notebook" %} **Install packages:** ```bash pip install arize-phoenix ``` **Launch Phoenix:** ```python import phoenix as px px.launch_app() ``` {% hint style="info" %} By default, notebook instances do not have persistent storage, so your traces will disappear after the notebook is closed. See [self-hosting](https://arize.com/docs/phoenix/self-hosting) or use one of the other deployment options to retain traces. {% endhint %} {% endtab %} {% endtabs %}

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