Metadata-Version: 2.5
Name: cbrm
Version: 0.6.1
Summary: CLI, HTTP API, MCP server and Python library for the BERO HOST customer panel and its VNC console
Project-URL: Homepage, https://forge.corbet.ch/corbet-infra/cbrm
Project-URL: Documentation, https://forge.corbet.ch/corbet-infra/cbrm/wiki
Project-URL: Repository, https://forge.corbet.ch/corbet-infra/cbrm
Project-URL: Issues, https://forge.corbet.ch/corbet-infra/cbrm/issues
Project-URL: Changelog, https://forge.corbet.ch/corbet-infra/cbrm/src/branch/main/CHANGELOG.md
Project-URL: Releases, https://forge.corbet.ch/corbet-infra/cbrm/releases
Author: Julian Y. Richard Corbet
License-Expression: LGPL-3.0-only WITH LGPL-3.0-linking-exception
License-File: LICENSE
License-File: LICENSE.md
License-File: LICENSES/GPL-3.0-only.txt
License-File: LICENSES/LGPL-3.0-linking-exception.txt
License-File: LICENSES/LGPL-3.0-only.txt
Keywords: automation,bero,bero-host,cli,devops,firewall,hosting,kvm,livewire,mcp,novnc,proxmox,rdns,rootserver,vnc,vps
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
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 :: Internet :: WWW/HTTP
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.11
Requires-Dist: fastapi>=0.110
Requires-Dist: httpx>=0.27
Requires-Dist: mcp>=1.2
Requires-Dist: pillow>=10
Requires-Dist: selectolax>=0.3.21
Requires-Dist: tzdata; sys_platform == 'win32'
Requires-Dist: uvicorn>=0.29
Requires-Dist: vncdotool>=1.2
Requires-Dist: websockets>=12
Description-Content-Type: text/markdown

# cbrm

[![PyPI](https://img.shields.io/pypi/v/cbrm)](https://pypi.org/project/cbrm/)
[![Python](https://img.shields.io/pypi/pyversions/cbrm)](https://pypi.org/project/cbrm/)
[![License: LGPL-3.0 with linking exception](https://img.shields.io/badge/license-LGPL--3.0%20%2B%20linking%20exception-blue)](https://forge.corbet.ch/corbet-infra/cbrm/src/branch/main/LICENSE.md)

cbrm is a CLI, HTTP API and MCP server for the [BERO HOST](https://bero-host.de) customer panel, which has no API.
It covers the panel's KVM rootserver features: status, logs, VNC console, power, reinstall, ISOs, backups,
scheduled tasks, rDNS, firewalls, internal networks, support tickets and invoices. AI agents use it through the MCP
server and the [`bero` skill](https://forge.corbet.ch/corbet-infra/cbrm/src/branch/main/skills/bero/SKILL.md).

```sh
uv tool install cbrm        # or: pipx install cbrm; Python 3.11+
```

```sh
export CBRM_CREDENTIALS_CMD="pass show hosting/bero-host"    # prints the panel user and password on two lines
cbrm vms
cbrm logs 10001 --n 5
cbrm console 10001 --out screen.png
cbrm power 10001 --action restart --confirm 10001
claude mcp add bero --env CBRM_CREDENTIALS_CMD="pass show hosting/bero-host" -- uvx --from cbrm cbrm-mcp
```

Safety:

- Every change needs the target repeated (`--confirm`), destructive ones twice; `--dry-run` shows the request without sending it.
- `CBRM_VMS` limits cbrm to the listed servers; `account-*` commands act on the whole account and are not limited by the VM allow-list.
- cbrm never spends money: renewals, upgrades and orders stay in the panel.

cbrm is independent and not affiliated with BERO HOST.

Documentation is in the [wiki](https://forge.corbet.ch/corbet-infra/cbrm/wiki):
[Installation and credentials](https://forge.corbet.ch/corbet-infra/cbrm/wiki/Installation-and-credentials),
[Usage](https://forge.corbet.ch/corbet-infra/cbrm/wiki/Usage),
[Safety model](https://forge.corbet.ch/corbet-infra/cbrm/wiki/Safety-model),
[Command reference](https://forge.corbet.ch/corbet-infra/cbrm/wiki/Command-reference).
Issues and pull requests go to [forge.corbet.ch/corbet-infra/cbrm](https://forge.corbet.ch/corbet-infra/cbrm);
GitHub, GitLab and Bitbucket are read-only mirrors. License: LGPL-3.0-only WITH LGPL-3.0-linking-exception
([LICENSE.md](https://forge.corbet.ch/corbet-infra/cbrm/src/branch/main/LICENSE.md)).
