Setting up the connector
The connector runs on your machine and gives agents access to your file system and the coding CLIs you already use. This page covers installing, activating, running, updating, and removing a connector. For what a connector is, see Connector.
Local mode
If you use the melius CLI in local mode, melius server start starts a connector for you and pairs it automatically, so no activation is needed. Use melius connector status, melius connector start, and melius connector stop to manage it. See Getting Started.
Installing for a hosted account
To connect a computer to a hosted Melius account, install the melius CLI, which includes the connector:
curl -fsSL https://melius.tools/install | bashThe same install is used to run Melius entirely on your own computer; see Getting Started. Connectors installed earlier as a separate melius connector program are no longer updated and must be reinstalled with the command above.
Activating and pairing
Activation links the connector on your computer to your account.
melius connector activate --device-name "my-laptop"The command prints an activation code, its expiry time, and an activation URL, and opens the URL in your browser. Sign in if asked; the page links the connector to your account and finishes activation on its own, and the command waits until that completes. If the browser does not open, copy the printed URL, or go to Connectors, choose Activate Connector, name it, and enter the code by hand. If the code expires, run the command again. When you are new to Melius, the guided setup at /welcome shows these same steps and continues automatically once the connector is active. Check the result with melius connector status, which shows whether the device is activated and whether the connector is running.
When a connector is activated, Melius also creates a workspace location named Home for it, pointing at the home directory of the computer. It is created once per connector, so activating again does not add duplicates. You can use it right away for tasks and chats, or rename or delete it on the Workspace Locations page.
Running the connector
melius connector startThis starts the connector as a background process that keeps a connection to Melius open. Stop it with melius connector stop. The connector is not installed as an operating system service, so after a reboot start it again. Add --json to any command for machine-readable output.
Supported CLI clients
Agents drive coding CLIs that are installed on the same computer as the connector. Supported kinds are claude, codex, and custom. The CLI must be installed and signed in on that computer, because Melius runs it with the sign-in it already has. Use custom for any other CLI by supplying its command. Link the CLI to agents through a Connector CLI provider; see LLM Providers. Claude and Codex are restricted to Melius tools during agent runs; custom CLIs cannot be restricted, so review what they are allowed to do.
Browser automation requirements
Browser tools use a headless Chromium on the connector's computer, on macOS, Linux, and Windows, for the melius CLI. On first use the connector looks for an installed Chromium-based browser such as Google Chrome, Chromium, or Microsoft Edge. If none is found it downloads Chromium automatically, which needs network access and Node.js with npm on the connector's PATH, and can take a couple of minutes on the first call. Installing Google Chrome up front avoids the wait. If no browser can be started, the tool call returns a clear error explaining the options. See MCP Server for the tools.
Workspace locations
A workspace location identifies a source on a connector by a path, a Git URL, or both. Browse the connector's file system to select a path while it is online, or enter a Git URL. A Git-URL-only location uses the Clone strategy. Features and standalone tasks select a location; a project can provide a default. See Workspace Locations.
Updating
The current release requires connector version 2.0.0 or later. Older connectors are incompatible and cannot receive agent runs until upgraded. Check the installed version with melius version, then update and restart the connector as described below. For an older standalone connector, reinstall using the command above and activate it again.
Run melius update to install the latest release. It updates the CLI and the connector together. Restart a running connector with melius connector stop and melius connector start to use the new version.
Revoking a connector
To remove a connector, open Connectors and delete it. Stop the connector process on the computer with melius connector stop. To use the computer again, activate it again to get a new pairing.
Related
Having trouble? See Troubleshooting.