Skip to main content
The platform CLI installs to ~/.local/bin/pctx. It is separate from the open-source tool that also uses the pctx name.

Install

Download and inspect the installer before running it.
Terminal
Confirm that you installed the platform CLI:
Terminal

Sign in

Terminal
The CLI session is separate from the OAuth session in your MCP client. Complete the browser prompt before running authenticated commands.

Scan MCP configuration

Find MCP servers already configured in supported local agents:
Terminal
Use JSON output for automation:
Terminal
The scan reports each service, the agents or repository files that configure it, and repeated configurations. Localhost servers are excluded from this scan.

Configure consolidation

Build an interactive plan to consolidate supported MCP servers behind Port of Context:
Terminal
Depending on your permissions and choices, the command can:
  • Enable matching built-in connectors for the workspace
  • Add the pctx gateway to supported agents where it is missing
  • Remove local entries that the gateway now serves
Custom servers and repository-shared configuration are left alone.
Enabling a connector affects the workspace. Editing agent configuration affects local files. Confirm both parts of the plan before continuing.

Command summary