Metadata-Version: 2.4
Name: cuaboss
Version: 0.1.0
Summary: One server, three assistants: let ChatGPT, Claude and Gemini use your desktop.
Author: Rajarshi Datta
License-Expression: MIT
Project-URL: Homepage, https://github.com/rajarshidattapy/cuaboss
Project-URL: Repository, https://github.com/rajarshidattapy/cuaboss
Project-URL: Issues, https://github.com/rajarshidattapy/cuaboss/issues
Keywords: mcp,computer-use,desktop-automation,chatgpt,claude,gemini
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Desktop Environment
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyautogui>=0.9.54
Requires-Dist: pillow>=10
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Provides-Extra: release
Requires-Dist: build>=1.2; extra == "release"
Requires-Dist: twine>=5; extra == "release"
Dynamic: license-file

# cuaboss

**One bridge. Three assistants. Your desktop.**

<img width="2172" height="724" alt="Cuaboss Blue Pixel Puzzle Banner" src="https://github.com/user-attachments/assets/e76bf9bf-48dd-4cd2-8b1e-a902c7cb2f3a" />



- PyPi link: 



ChatGPT, Claude and Gemini live in the browser. Your computer doesn't. cuaboss closes the gap: a tiny local server that gives any of them computer use (screenshot, click, type, keys, scroll) on *your* machine, through a single tunnel.

```
ChatGPT web ─┐
Claude      ─┼─►  public HTTPS tunnel  ─►  cuaboss (localhost)  ─►  your desktop
Gemini      ─┘        secret URL              MCP + OpenAPI
```

## Why

Every assistant has its own plugin format. cuaboss speaks the one they all converge on, MCP, and adds an OpenAPI door for the rest. Build the desktop tools once, plug in all three.


| Assistant | How it connects                                                  |
| --------- | ---------------------------------------------------------------- |
| ChatGPT   | Developer mode connector, MCP URL                                |
| Claude    | Custom connector, same MCP URL                                   |
| Gemini    | Gemini CLI via `gemini mcp add`, or OpenAPI for function calling |


## Run it

```bash
pip install cuaboss
winget install cloudflared      # or: winget install cloudflared / apt install cloudflared. ngrok also works
cuaboss
```

It prints one shared MCP endpoint and shows where to paste it for each assistant. macOS: grant your terminal Screen Recording and Accessibility. Linux: X11 session (plus `xclip` for non-ASCII typing).

Then, in ChatGPT: *Plugins &gt; + &gt; Add custom MCP server*, paste `https://<tunnel>/<secret>/mcp`, auth none. Ask: "take a screenshot and open my browser."

## Tools

`screenshot` `click` `move` `drag` `type` `key` `scroll` `wait` `screen_size`

Every action returns a fresh screenshot so the model sees what happened. Coordinates live in the screenshot's space and are scaled to your real screen.

## Safety (read this)

- The secret in the URL is the only auth. Anyone with it controls your machine. `cuaboss --rotate-secret` makes a new one.
- Fail-safe: slam the mouse into a screen corner to abort.
- Stop the process and the tunnel dies with it.
- MVP: no allowlists, no per-action approval yet.

## Roadmap

- OAuth instead of a path secret
- Per-action approval prompt and app allowlist
- Named tunnel for a stable URL
- Window-level capture, not just full screen

## Development and releases

Install the development dependencies and run the tests:

```powershell
python -m pip install -e ".[dev]"
python -m pytest -q
```

Build and validate the wheel and source distribution:

```powershell
.\scripts\build.ps1
```

For releases after `0.1.0`, update both version declarations together:

```powershell
.\scripts\set-version.ps1 -Version 0.1.1
```

Publishing uses GitHub Actions and PyPI Trusted Publishing, so the repository does not store a PyPI API token. Configure these publishers once:


| Index    | Project   | Owner             | Repository | Workflow       | Environment |
| -------- | --------- | ----------------- | ---------- | -------------- | ----------- |
| PyPI     | `cuaboss` | `rajarshidattapy` | `cuaboss`  | `release.yml`  | `pypi`      |
| TestPyPI | `cuaboss` | `rajarshidattapy` | `cuaboss`  | `testpypi.yml` | `testpypi`  |


Create matching `pypi` and `testpypi` environments under the GitHub repository's **Settings &gt; Environments** page. Configure the publishers in the [PyPI](https://pypi.org/manage/account/publishing/) and [TestPyPI](https://test.pypi.org/manage/account/publishing/) account settings.

After committing and pushing the release changes, test the package on TestPyPI:

```powershell
.\scripts\publish-testpypi.ps1 -Watch
```

Validate a production release without publishing anything:

```powershell
.\scripts\release.ps1 -Version 0.1.0
```

When ready, create the GitHub Release and trigger the production PyPI workflow:

```powershell
.\scripts\release.ps1 -Version 0.1.0 -Publish
```

Alternatively, publish directly from PowerShell with a PyPI API token. The script prompts privately for it (or reads `PYPI_TOKEN` from the current process), never commits or prints it:

```powershell
.\scripts\publish-pypi.ps1 -Publish
```

Use a project-scoped token for `cuaboss` after the project exists. For the very first upload, an account-scoped token is required; create it in [PyPI API token settings](https://pypi.org/manage/account/token/). Do not paste the token into chat, source code, or a `.env` file.

The publishing scripts require the authenticated [GitHub CLI](https://cli.github.com/). Every new release must use a version that has never previously been uploaded to that package index; keep `pyproject.toml` and `cuaboss/__init__.py` in sync.

MIT
