Multiple Projects
Each y0mcp agent is independent — separate Slack channel, separate repo, separate process.
1. Create Slack channels
Section titled “1. Create Slack channels”One channel per project:
#project-a#project-b#project-c
Invite the bot to each: /invite @y0mcp
2. Create agents
Section titled “2. Create agents”bash scripts/new-agent.sh # for each project3. Configure tokens
Section titled “3. Configure tokens”Edit each agents/<name>.env:
- Same
SLACK_BOT_TOKENandSLACK_APP_TOKEN - Different
SLACK_CHANNEL_ID - Different
WORKSPACE_PATH
4. Start all agents
Section titled “4. Start all agents”macOS:
launchctl load ~/Library/LaunchAgents/dev.y0mcp.project-a.plistlaunchctl load ~/Library/LaunchAgents/dev.y0mcp.project-b.plistLinux:
systemctl --user enable --now y0mcp-project-asystemctl --user enable --now y0mcp-project-bToken refresh
Section titled “Token refresh”The shared token refresh job handles all agents. File locking (flock) prevents race conditions.