Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
sign-up-for-phoenix-sign-up....md2.86 kB
--- title: Launch Phoenix Instructions --- {% tabs %} {% tab title="Phoenix Cloud" %} **Sign up for Phoenix:** 1. Sign up for an Arize Phoenix account at [https://app.phoenix.arize.com/login](https://app.phoenix.arize.com/login) 2. Click `Create Space`, then follow the prompts to create and launch your space. **Install packages:** ```bash pip install arize-phoenix-otel ``` **Set your Phoenix endpoint and API Key:** From your new Phoenix Space 1. Create your API key from the Settings page 2. Copy your `Hostname` from the Settings page 3. In your code, set your endpoint and API key: ```python import os os.environ["PHOENIX_API_KEY"] = "ADD YOUR PHOENIX API KEY" os.environ["PHOENIX_COLLECTOR_ENDPOINT"] = "ADD YOUR PHOENIX HOSTNAME" # If you created your Phoenix Cloud instance before June 24th, 2025, # you also need to set the API key as a header: # os.environ["PHOENIX_CLIENT_HEADERS"] = f"api_key={os.getenv('PHOENIX_API_KEY')}" ``` {% hint style="info" %} Having trouble finding your endpoint? Check out [Finding your Phoenix Endpoint](https://arize.com/docs/phoenix/learn/faqs/what-is-my-phoenix-endpoint) {% endhint %} {% 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](https://arize.com/docs/phoenix/environments#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