Branch Monkey
БесплатноНе проверенIntegrates with Branch Monkey Cloud for task management, team collaboration, and project tracking with automatic prompt logging
Описание
Integrates with Branch Monkey Cloud for task management, team collaboration, and project tracking with automatic prompt logging
README
MCP (Model Context Protocol) server for Kompany - connecting Claude Code to your task management and team collaboration platform.
Quick Start
Add this to your project's .mcp.json:
{
"mcpServers": {
"kompany-cloud": {
"command": "uvx",
"args": ["--from", "git+https://github.com/gneyal/p_69_branch_kompany_mcp.git", "branch-monkey-mcp"],
"env": {
"BRANCH_MONKEY_API_URL": "https://kompany.dev"
}
}
}
}
Restart Claude Code. On first use, a browser will open for you to log in and approve the device.
Using It With Codex
Codex does not consume MCP servers the same way Claude Code does, so the integration path is different:
- Use the local bridge and workflow CLI instead of
.mcp.json - Set the default CLI provider to
codex - Authenticate Codex via
OPENAI_API_KEYorcodex login - Keep the MCP server as an optional adapter for Claude Code
In this repo, the non-MCP path already exists:
- The Kompany API logic is plain Python/HTTP, not MCP-specific
- The local agent server supports
cli_tool: "codex" kompany-workflow llmcan route prompts through the selected CLI provider
That means the practical Codex adaptation is: treat MCP as one frontend, not the core architecture.
Features
- No API key needed - Authenticates via browser approval
- Automatic token storage - Saved in
~/.branch-monkey/token.json - Task management - Create, update, track tasks
- Team collaboration - Share tasks with your team
- Prompt tracking - Associate prompts with tasks
Available Tools
Status & Auth
kompany_status- Get connection statuskompany_login- Force re-authentication (use if having auth issues)kompany_logout- Clear auth token
Projects & Organizations
kompany_project_list- List all projects in your organizationkompany_project_focus- Set focus to a specific projectkompany_project_clear- Clear project focuskompany_org_list- List organizations you have access to
Tasks
kompany_task_list- List all taskskompany_task_create- Create a new taskkompany_task_update- Update a taskkompany_task_delete- Delete a taskkompany_task_work- Start working on a taskkompany_task_log- Log progress on a taskkompany_task_complete- Mark task as completekompany_task_search- Search taskskompany_get_recent_tasks- Get recently worked taskskompany_auto_resume- Auto-detect related tasks
Versions
kompany_version_list- List versionskompany_version_create- Create a version
Team
kompany_team_list- List team memberskompany_team_add- Add team member
Machines
kompany_machine_list- List machineskompany_machine_create- Create a machine
Local Server Identification
When you run the relay client (branch-monkey-relay), your machine connects to Kompany Cloud and becomes available for executing tasks.
How Machine Identification Works
Each local machine is identified by a unique machine ID composed of:
- Hostname (e.g.,
my-macbook-pro) - Process ID (e.g.,
12345)
Combined format: my-macbook-pro-12345
This ensures that:
- Each machine has a globally unique identifier
- Multiple relay instances on the same machine get different IDs
- The system can route requests to the correct machine
How the "Local" Button Maps to a Computer
Important: "Machines" in the API (/api/machines) are business automation processes, not physical computers. Local computers are tracked separately as compute nodes in the compute_nodes table.
When you click "Local" on a task card, the system routes the request to a compute node:
- Compute nodes are per-user - Each user's connected computers are tracked by
user_id - Currently: first available - The system uses the user's connected compute node (if multiple are online, behavior depends on frontend implementation)
- Future: explicit selection - The UI could show a dropdown to select which computer to use
Note: The task's machine_id field refers to business process machines, NOT local computers.
Multiple Computers as "Local"
If you have multiple computers signed in as the same user:
- Each registers as a compute node - Stored in
compute_nodestable with uniquemachine_id(hostname-pid) - Same Supabase channel prefix - But each has a unique channel:
relay:{user_id}:{machine_id} - Routing requires machine_id - The cloud must specify which compute node to send requests to
- Status tracking - Heartbeats every 25 seconds update
last_heartbeatandstatus
Compute Node Data
Each connected computer is tracked with:
machine_id: Unique identifier (hostname-pid)user_id: The authenticated username: Machine hostnamenode_type: "local"status: "online" or "offline"last_heartbeat: Timestamp of last heartbeatcapabilities: e.g.,{"claude": true}
Connection Behavior
- Same machine_id reconnects: Upserts (updates existing row)
- Different process on same host: Creates new entry (different PID = different machine_id)
- Machine goes offline: Status updated to "offline" on graceful shutdown
Current Limitation
The frontend needs to handle the case where a user has multiple computers connected. Options:
- Show a compute node selector before running on "Local"
- Default to most recently active compute node
- Allow users to set a "primary" compute node
Troubleshooting
Authentication Issues
If you're having trouble connecting:
- Use
kompany_login- Forces re-authentication via browser - Check the token file - Stored at
~/.branch-monkey/token.json - Clear and retry - Use
kompany_logout, then restart Claude Code - Check network - Ensure you can access https://kompany.dev
First-Time Setup
On first use:
- A browser window opens automatically
- Log in to Kompany (or create an account)
- Select the organization you want to connect to
- Approve the device when prompted
- Return to Claude Code - you're connected!
After connecting, use kompany_project_list to see available projects and kompany_project_focus <id> to select one.
Requirements
- Python 3.10+
- uv package manager
License
MIT
Установка Branch Monkey
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/eyal-gor/p_69_cerver_relayFAQ
Branch Monkey MCP бесплатный?
Да, Branch Monkey MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Branch Monkey?
Нет, Branch Monkey работает без API-ключей и переменных окружения.
Branch Monkey — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Branch Monkey в Claude Desktop, Claude Code или Cursor?
Открой Branch Monkey на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Compare Branch Monkey with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории productivity




