CLI and MCP
Use Phaseo from your terminal with the CLI, or connect an AI client through MCP. Both use Phaseo OAuth, but they are designed for different jobs.Phaseo CLI
Use the CLI when you need to create or change Phaseo resources, script a workflow, or inspect account data from a shell.Install and sign in
Common workflows
--json when another tool or script needs structured output. Secret values are displayed only by commands that explicitly create or reveal them.
Phaseo CLI guide
See authentication options, key management, workspaces, guardrails, and the complete command workflow.
Phaseo MCP
Connect the Phaseo MCP server when you want an AI client to answer questions using live model, pricing, provider, usage, and workspace data.Server URL
https://mcp.phaseo.app/mcp
Connect from Codex
resource parameter.
What the MCP can read
- models, providers, organisations, endpoint families, and pricing
- credits, activity, analytics, request logs, and generation metadata
- workspaces, members, presets, settings, and guardrails
- API-key, management-key, OAuth-application, and webhook metadata without secret values
Docs MCP
The Docs MCP is a separate endpoint for searching and reading Phaseo documentation. It does not access your account or workspace.Docs MCP guide
Connect the documentation server to Codex, Claude Code, Cursor, OpenCode, or VS Code.
Choose the right interface
- Use the CLI to create keys, change settings, manage workspaces, or automate administrative workflows.
- Use the Phaseo MCP to give an AI client safe access to live Phaseo data.
- Use the Docs MCP to give a coding assistant current Phaseo documentation without account access.