Command-line setup
Command paths
Run the command for your computer to list your agents. Add --json to see their IDs.
Linux
/opt/portelon/portelon-mcp agents
macOS · Open Portelon once after installing it.
"$HOME/Library/Application Support/Portelon/portelon-mcp" agents
Windows · Run this in PowerShell.
& "$env:LOCALAPPDATA\Portelon\portelon-mcp.exe" agents
Connect or disconnect
You can connect several agents in one command. This example connects Codex and Claude Code on Linux.
/opt/portelon/portelon-mcp agents connect codex claude-code
Restart any agent that was open when you connected it. Use agents disconnect codex to disconnect Codex, or agents disconnect --all to disconnect every agent.
Separate profiles
To keep work logins separate, set the arguments in your agent’s Portelon MCP entry to ["serve", "--profile", "work"]. The agent uses that profile each time it starts. For a fresh profile on every run, use ["serve", "--ephemeral-profile"].
Run the executable with --help for the other options.