Skip to content

CLI Reference

The PopKit CLI (popkit) manages installation, provider detection, and MCP server lifecycle.

Terminal window
pip install popkit-cli
# or install everything:
pip install popkit[full]

Install PopKit packages to ~/.popkit/.

Terminal window
popkit install # Install all packages
popkit install popkit-core # Install a specific package

Update installed packages to the latest version.

Terminal window
popkit update # Update all
popkit update popkit-dev # Update a specific package

Show detected AI coding tools on your system.

Terminal window
popkit provider list

Example output:

Detected Providers:
✓ Claude Code ~/.claude/
✓ Cursor ~/.cursor/
✗ Codex CLI not found
✗ Copilot CLI not found

Auto-detect installed AI tools and generate the appropriate configuration files.

Terminal window
popkit provider wire

This creates MCP config entries for each detected tool, pointing to the popkit-mcp server.

Launch the MCP server directly.

Terminal window
popkit mcp start # stdio (default)
popkit mcp start --transport sse # SSE transport
popkit mcp start --port 8080 # Custom port

Show PopKit system status — installed packages, detected providers, MCP server health.

Terminal window
popkit status

Show version information.

Terminal window
popkit version
VariableDefaultDescription
POPKIT_HOME~/.popkitPopKit installation directory
POPKIT_DEBUGfalseEnable debug logging
POPKIT_CACHE_TTL86400Cache TTL in seconds
  • Python 3.11+
  • PopKit packages (installed via popkit install or pip install popkit[full])