Skip to content
ADVISOR

Sheet 0.3.1

Menu

One line for Claude Code#

This page gives the one line that connects Claude Code to ADVISOR, and the install command that does the same thing.

The one line#

If you would rather type it than generate it, this does the same as install --client=claude --write; project scope keeps it out of your other projects, and the same "do not commit it" warning applies:

claude mcp add --scope project advisor -e ADVISOR_ENABLED=1 -- php vendor/bin/advisor mcp

The install command#

The install command does the same thing and supports Claude among its clients:

php vendor/bin/advisor install [--client=claude] [--write] [--force] [--path=.]

install puts ADVISOR_ENABLED in the client config's env block and warns when the file is not in .gitignore.

Keep it out of git#