@polairity/install
v0.1.6
Published
Interactive installer for Polairity agent plugins.
Readme
Polairity Installer
Install or update Polairity agent plugins and configure a token-backed MCP connection:
npx @polairity/install@latestThe installer asks for the token when needed and never prints it. Direct config mode stores it in the selected agent MCP configuration. Environment-variable mode stores only the variable name.
If you already have the token ready and want to skip the prompt, you can pass it as the first argument:
npx @polairity/install@latest TOKEN --auth=direct --scope=global --agents=codexIf Claude Code is already open while installing, restart Claude Code or run
/mcp reconnect before using /polairity-signal.
Token Modes
Direct mode is the fastest setup: the installer writes the MCP connection and the token into the selected agent config.
Env-token mode keeps agent config token-free. The installer writes only a
variable name, POLAIRITY_TOKEN by default. Set that variable before launching
your agent:
export POLAIRITY_TOKEN="<your Polairity token>"
npx @polairity/install@latest --auth=envIn env-token mode, a token argument is used only for validation during that installer run. It is not written to agent config:
npx @polairity/install@latest TOKEN --auth=envTo use a different variable name:
npx @polairity/install@latest --auth=env --env=MY_POLAIRITY_TOKENFor non-interactive shells, pass --auth, --scope, and --agents. Direct
mode also needs the token argument.
