# letswork [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/saicharanrajoju/letswork-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/letswork

## Description
Real-time collaborative coding via MCP — two developers, one codebase

## Tools
Capabilities this server exposes over MCP:

- **list_files** — List files and directories with lock status
- **read_file** — Read file contents (1MB limit, text files only)
- **write_file** — Submit a file change (guest changes need host approval)
- **lock_file** — Lock a file for exclusive editing
- **unlock_file** — Release your own file lock
- **get_status** — Show session info, connected users, and active locks
- **get_notifications** — Quick summary of what needs attention
- **ping** — Verify connection to the host MCP server
- **set_display_name** — Set your display name for the session
- **my_pending_changes** — View your submitted changes awaiting approval
- **get_pending_changes** — View all changes awaiting approval with diffs
- **approve_change** — Approve a pending change and write it to disk
- **reject_change** — Reject a pending change
- **force_unlock** — Force-release a stuck file lock

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "letswork": {
    "command": "uvx",
    "args": ["letswork"]
  }
}
```

## Documentation

## What the letswork MCP server does

The letswork MCP server coordinates a host and one guest working against the host's project directory. Both participants can inspect files, submit edits, and view session state through MCP tools. The session supports a maximum of two users: one host and one guest.

The host owns the project and controls approval. Guest file changes enter a queue rather than being written immediately. The host can inspect a diff, approve the change, or reject it. This makes the letswork MCP server suitable for pair programming where one developer needs review control over changes made by the other.

## How it works

Run `letswork start` from the project directory to become the host. The application starts an MCP server, creates a temporary Cloudflare tunnel, and prints a one-time join URL with a guest token. The collaborator runs `letswork join <URL> --token <TOKEN>` on their machine.

The guest connects through a stdio proxy using the supplied token instead of connecting directly to the HTTP endpoint. Both users then access the project through their Claude Code sessions. On macOS, the commands open a Claude Code window and a separate chat window. In Windows WSL, Claude Code runs in the Ubuntu terminal.

File locks provide exclusive editing coordination and expire automatically after 30 minutes. The guest can operate on files but does not receive shell access. The letswork MCP server also prevents paths from leaving the project root.

## Setup and configuration

Install Python 3.10 or newer, `cloudflared`, Node.js, and Claude Code. On macOS, install the package with `pip install letswork`, install `cloudflared` with Homebrew, and install Claude Code globally through npm. Windows users run the setup inside WSL; the README provides Ubuntu commands for Python, Node.js, npm, and `cloudflared`.

Start a host session with:

```bash
letswork start [--port PORT] [--debug]
```

The default port is 8000. A guest joins with:

```bash
letswork join <URL> --token <TOKEN>
```

No account or persistent credential is required. Stopping the host process ends the session.

## Tools and capabilities

- `list_files` shows files, directories, and lock status.
- `read_file` reads text files up to 1 MB.
- `write_file` submits a file change; guest submissions require approval.
- `lock_file` and `unlock_file` manage a participant's file lock.
- `get_status` reports the session, connected users, and active locks.
- `get_notifications` summarizes items needing attention.
- `ping` checks connectivity, while `set_display_name` names the guest session participant.
- `my_pending_changes` lets a guest inspect their queued submissions.
- `get_pending_changes` shows the host all queued changes and diffs.
- `approve_change` writes an approved change to disk; `reject_change` declines it.
- `force_unlock` lets the host release a stuck lock.

## Limitations and notes

Only text files are supported, and each read or write operation is limited to 1 MB. A session cannot exceed two users. `cloudflared` must be installed on the host; macOS guests do not need it, while WSL guests do. The guest can perform file operations only, not arbitrary shell commands. Traffic uses HTTPS through a random Cloudflare subdomain and a cryptographic token, but the host should share the complete join command only with the intended collaborator.

_Full upstream README: https://allmcps.com/mcp/letswork/readme_

