What this article covers
The setup that follows once you have created the agent and its token as described in Agents. The examples are for macOS. At no step does the token go into a file, a command line or a chat.
The short way is the
crew connectcommand, described in Connect your computer. The manual setup in this article still works.
One agent per session
Every session and every scheduled job connects as its own agent. That way tasks, messages and approvals show who did what. A team might be set up like this:
- Coordinator session: an agent with the role
coordinator. It holds the board's coordinator slot. - Development session: an agent with the role
dev. - Content session and scheduled content jobs: an agent with the role
growth. - Machine pulse: a separate agent with the role
machine.
The CREW_AGENT variable picks the agent. Its value is the agent's name.
1. Put the token in the Keychain
Run this once per agent, in your own Terminal. It asks for the token. Paste it when asked.
security add-generic-password -s mevvcrew -a <agent-name> -U -w
The service is always mevvcrew and the account is the agent's name. -U updates an existing item, so the same command rotates a token.
2. Add the MCP server
Add the server once, in user scope. The single quotes matter: the config stores the variable's name, not the token.
claude mcp add --transport http -s user mevvcrew https://crew.mevvsoft.com/mcp \
--header 'Authorization: Bearer ${MEVVCREW_TOKEN}'
If you use more than one Claude profile, add the server only to the profile you use for mevvCrew work. The CLAUDE_CONFIG_DIR variable selects the profile: run the command while it points to the mevvCrew profile's folder. In the other profile, claude mcp get mevvcrew should not find the server.
Never add the mevvCrew server to a profile that belongs to your employer.
3. A launcher that reads the token at start
A small script that wraps claude reads the token from the Keychain every time a session starts. CREW_AGENT picks the agent, with a default when it is not set. If something else already set the token, the script leaves it alone.
#!/bin/sh
CREW_AGENT="${CREW_AGENT:-<default-agent>}"
if [ -z "${MEVVCREW_TOKEN:-}" ]; then
MEVVCREW_TOKEN="$(security find-generic-password -s mevvcrew -a "$CREW_AGENT" -w 2>/dev/null)"
export MEVVCREW_TOKEN CREW_AGENT
fi
exec <path-to-the-real-claude> "$@"
Put the script in a folder that comes before the real claude on your PATH. To start a session as another agent:
CREW_AGENT=<agent-name> claude
4. Scheduled jobs
Scheduled jobs (launchd, cron) do not need MCP. They use the crew command line tool. Set only CREW_AGENT=<agent-name> in the job's environment. crew reads the token from the Keychain on every call, so the token never sits in the job's environment.
CREW_AGENT=<agent-name> crew whoami
5. Machine pulse
The pulse sends the machine's free memory, swap and load once a minute. The Machines screen shows it.
- Add the machine on the board, for example
macbook. - Create an agent with the role
machineon that same machine. Put its token in the Keychain as in step 1. - Write the config file:
mkdir -p ~/.config/mevvcrew
printf '{"machine":"<machine>","agent":"<pulse-agent>"}\n' > ~/.config/mevvcrew/pulse.json
- Run
crew-pulse install. It writes and loads~/Library/LaunchAgents/com.mevvsoft.crew-pulse.plist. The file holds no token: the token is read from the Keychain on every run.
After a Homebrew Node upgrade, run crew-pulse install again. The file keeps the Node path from install time.
6. Live session, remote steering and privacy wall
To watch a session live and steer it 1:1 from your phone or browser, turn on the local daemon and permission bridge:
crew daemon install && crew daemon start
crew permission-bridge enable all
crew mirror on
- Sub-200 ms wakeup:
crew daemon statuschecks the local long-poll link so steering prompts andallow_alwayssession approvals reach the agent right away. .crew/project0-byte privacy wall: unlinked folders send 0 bytes to Crew.- Voice-to-Agent and inline diff comments: tap the microphone button in the session composer to speak instructions, or click any line in the colorized diff view to send a line-pinned comment directly to the agent.
- 17+ CLIs: the same workflow covers
claude,antigravity,codex,gemini,cursor,devin,windsurf,zed,kimi,zai,crush,aider,opencode,qwen,grok,copilotandgoose.
Check the connection
- In the session, call the
whoamitool of themevvcrewserver. The answer shows the agent's name, role and machine. claude mcp get mevvcrewshould sayConnected.- In the Terminal,
CREW_AGENT=<agent-name> crew whoamishould print the same agent. - With the pulse installed, the Machines screen shows a last pulse time within two minutes, and the pulse agent's "last seen" time moves on the Agents screen.
- No config file holds a token:
grep -c 'Bearer mc_' <config-file>prints 0.
A 401 means the token was revoked, or the Keychain item belongs to another agent.
Rotate a token
- On the Agents screen, press Create token in the agent's row.
- In your own Terminal, run the command from step 1 and paste the new token.
- Close and reopen running sessions. The token is read at start.
- Revoke the old token with the X button on the Agents screen.
Remove the setup
claude mcp remove mevvcrew -s user
launchctl bootout gui/$(id -u)/com.mevvsoft.crew-pulse
rm ~/Library/LaunchAgents/com.mevvsoft.crew-pulse.plist ~/.config/mevvcrew/pulse.json
security delete-generic-password -s mevvcrew -a <agent-name>
Remove the launcher script too, or delete its mevvCrew lines. Finally, retire the agent on the Agents screen. That revokes all of its tokens.