Skip to main content
Works with Claude Code, Codex, Cursor, or any other coding agent. Once connected, you ask in plain language:

Connect your agent

Each agent has one recommended setup. Every setup connects the agent to the MCP server built into Phoenix, which gives it your Phoenix data and the Phoenix skills. Then ask your agent a question, such as List my Phoenix projects. You don’t need the CLI when your agent has the MCP server. Add it if you also want the agent to run px commands in a terminal, where you can see and rerun each one. See CLI or MCP server?

Example prompts

Instrument an app:
Run the Evaluate flow end to end:
Every example scores 0 on that first run: the prompt knows nothing about this airline. Then reply Add the Basic fare policy to the prompt, rerun the experiment, and compare the scores.

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. The Codex plugin and px read it from your shell:

Plugins

Each plugin registers the Phoenix MCP server and installs all five Phoenix skills as files, in one install that updates with the plugin. The plugins need Phoenix 19.0.0 or later.
Steps 1, 2, and 4 are slash commands inside a Claude Code session. If /plugin is not recognized, update Claude Code.
1

Add the marketplace

2

Install the plugin

Claude Code asks for a scope: user for all your projects, project to share it with collaborators through .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.
From a shell: 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 registersThe phoenix-cli skill runs the optional px CLI. The plugin doesn’t install px. To use that skill, install the CLI.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:
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 remove
Pass the scope you installed at, such as --scope local, to disable and uninstall.
Registers the phoenix MCP server and installs the five Phoenix 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

Codex clones the repository and reads the catalog from .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 caches the plugin under ~/.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 PHOENIX_ENDPOINT from the shell you launch Codex from:
Unset, it defaults to http://localhost:6006.
4

Verify

The 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:
The Cursor plugin isn’t in Cursor’s public marketplace. On a Teams or Enterprise plan, an admin adds it to a team marketplace. Otherwise, add the MCP server by hand. It serves four of the five skills.
1

Add the plugin to a team marketplace

In the Cursor dashboard, an admin opens Plugins & MCPs, then Team Marketplaces, selects Add Marketplace, and imports the repository https://github.com/Arize-ai/phoenix.
2

Set your Phoenix endpoint

Set the plugin’s Phoenix endpoint variable to your Phoenix endpoint, or keep the default http://localhost:6006. On a team marketplace, the admin sets it once for everyone. The plugin appends /mcp.
3

Install the plugin

In Cursor, open Customize in the sidebar, find Arize Phoenix, and select Install.
4

Verify

Use a Phoenix MCP tool once, for example by asking List my Phoenix projects. If your Phoenix has auth enabled, a browser window opens to sign in.
What it registersAuthentication. The plugin signs in through the browser and has no setting for an API key. For headless use, add the server by hand with an API key instead.Already added the servers by hand? The plugin uses the same server names, phoenix and phoenix-docs. Remove your entries from ~/.cursor/mcp.json or .cursor/mcp.json so each server appears once.To install the plugin from a local checkout, see the Cursor plugin README.

Learn more

  • Tracing coding agents: have Phoenix record your coding agent’s own turns, tool calls, and token costs.