Install with one command
The fastest way to add Perfai to Claude Code is via theclaude mcp add command. This registers the MCP server globally — it will be available in every project automatically.
--scope user registers the server globally. To limit it to a single project, use --scope project instead — this writes to .mcp.json in your current directory.Manual configuration
If you prefer to edit the config file directly, add the following for your OS and scope.- macOS / Linux
- Windows
Global (all projects) — file: Project scope — file:
~/.claude.json.mcp.json in your project rootVerify the server is connected
List active MCP servers and confirmperfai-mcp shows ✔ Connected:
Login
The prompts below run inside the Claude Code chat, not your terminal. The only terminal steps are the install command and
claude mcp list.env block above, authenticate:
PERFAI_USERNAME / PERFAI_PASSWORD from the environment, signs you in, and saves the session. Confirm with:

