Connect your agent
Then ask your agent a question, such as List my Phoenix projects.
Example prompts
Instrument an app:Find your Phoenix endpoint
Every setup needs your Phoenix endpoint: the base URL you open Phoenix at, with no trailing slash or path.
The plugins and
px append /mcp themselves; only hand-written MCP config takes the full /mcp URL.
px and the Codex plugin read it from your shell:
Plugins
The plugins bundle the MCP server and skills into one install that stays up to date. They need Phoenix 19.0.0 or later.Claude Code plugin
Claude Code plugin
Steps 1, 2, and 4 are slash commands inside a Claude Code session. If Claude Code asks for a scope: user for all your projects, project to share it with collaborators through From a shell: Authentication. With auth on, the first use opens a browser sign-in. For headless use, register the server by hand with an API key instead.Update or removePass the scope you installed at, such as
/plugin is not recognized, update Claude Code.1
Add the marketplace
2
Install the plugin
.claude/settings.json, or local for this repository only.3
Set your Phoenix endpoint
Claude Code prompts for one setting, Phoenix endpoint, as it enables the plugin. Enter your Phoenix endpoint, or keep the default
http://localhost:6006. The plugin appends /mcp itself, so a trailing slash or a pasted /mcp produces a wrong URL (…//mcp or …/mcp/mcp). This setting is stored in your user settings and applies to every project.4
Verify
Run
/mcp and select phoenix. If your Phoenix has auth enabled, a browser window opens to sign in with your Phoenix account; without auth, it connects straight away.claude plugin details arize-phoenix@arize-phoenix lists what it added.claude plugin marketplace add Arize-ai/phoenix then claude plugin install arize-phoenix@arize-phoenix (add --scope project or --scope local to narrow it).What it registersIt does not install the
px CLI; add that separately if you want it.Change the endpoint. claude plugin install arize-phoenix@arize-phoenix --config endpoint=https://phoenix.example.com at install time, /plugin configure afterward, or edit ~/.claude/settings.json:--scope local, to disable and uninstall.Codex plugin
Codex plugin
Registers the MCP server. Skills are separate: Codex clones the repository and reads the catalog from Codex caches the plugin under The
npx -y @arizeai/phoenix-cli setup skills.Prerequisites: Phoenix 19.0.0 or later, and Node.js. The plugin starts its MCP bridge with npx. The codex plugin commands below run in your shell.1
Add the marketplace
.agents/plugins/marketplace.json. The source can be owner/repo shorthand, owner/repo@ref, an HTTPS or SSH Git URL, or a local path; pass --ref to pin a Git ref.2
Install the plugin
~/.codex/plugins/cache/arize-phoenix/arize-phoenix/<version> and enables it in ~/.codex/config.toml. You can also browse and install from the /plugins browser inside Codex.3
Export your Phoenix endpoint
The plugin reads Unset, it defaults to
PHOENIX_ENDPOINT from the shell you launch Codex from:http://localhost:6006.4
Verify
phoenix server appears as enabled. Then launch codex and run /mcp to confirm it connects. If your Phoenix has auth enabled and PHOENIX_API_KEY is not set, a browser window opens on first use to sign in; with the key set, or with auth disabled, no login happens.Disable or remove. In
~/.codex/config.toml:Learn more
- Tracing coding agents: have Phoenix record your coding agent’s own turns, tool calls, and token costs.

