Quick start#
This page takes you from a fresh install to the advisor server registered in your client.
-
Print the config your MCP client needs, and read it:
php vendor/bin/advisor install --client=claudeExpected: it prints the config your MCP client needs.
-
Write it into the project when you are happy with it:
php vendor/bin/advisor install --client=claude --writeExpected: it writes the config into the project.
-
Open the project in your client and approve the
advisorserver by name when it asks.
The command it registers is always the same fixed string, php vendor/bin/advisor mcp, with ADVISOR_ENABLED=1 in its environment. Clients: claude (.mcp.json), warriorgpt (.mcp.json), cursor (.cursor/mcp.json), vscode (.vscode/mcp.json) and codex (TOML, printed only; paste it into ~/.codex/config.toml).
What you built#
The advisor server is registered in your client, running php vendor/bin/advisor mcp with ADVISOR_ENABLED=1 in its environment, and it is ready to answer questions about the stack.
Next steps#
- What it offers: the nine read-only tools.
- Configuration: the environment variables.
- One line for Claude Code: if you would rather type it than generate it.