Bhyve
БесплатноНе проверенQuery and control Orbit B-Hyve irrigation systems from MCP-compatible clients like Claude Code and Cursor.
Описание
Query and control Orbit B-Hyve irrigation systems from MCP-compatible clients like Claude Code and Cursor.
README
An MCP server for Orbit B-Hyve smart irrigation systems. Query device status, zones, and watering history — or start/stop watering, set rain delays, and manage programs — from Claude Code, Cursor, or any MCP-compatible client.
Why This Exists
I built this to control my sprinkler system from the same AI tools I use for everything else. Instead of opening the B-Hyve app to check zone status or adjust a rain delay, I can do it from a Claude conversation or a Cursor terminal.
It's also a good example of an MCP server that bridges REST (reads) and WebSocket (writes) APIs under a single interface — a different integration pattern than my other MCP servers which are pure REST or REST+SOAP.
Features
- Read tools: list devices, device status, zones, programs, watering history
- Write tools: start/stop watering, rain delay, device mode, program updates, smart watering toggle
- Resources:
bhyve://devicesandbhyve://device/{device_id}/zones - Transport: stdio (local MCP)
Requirements
- Python 3.10+
- uv (recommended) or pip
- Orbit B-Hyve account
Setup
- Clone this repo and install dependencies:
cd bhyve-mcp
uv sync
- Copy credentials:
cp .env.example .env
# Edit .env with your BHYVE_EMAIL and BHYVE_PASSWORD
Cursor / Claude Code configuration
Add to ~/.cursor/mcp.json or your project's .mcp.json:
{
"mcpServers": {
"bhyve": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/bhyve-mcp",
"python",
"-m",
"bhyve_mcp.server"
],
"env": {
"BHYVE_EMAIL": "[email protected]",
"BHYVE_PASSWORD": "your-password"
}
}
}
}
Replace /path/to/bhyve-mcp with the absolute path to this directory.
Development
# Run tests
uv run pytest
# Interactive MCP testing
uv run mcp dev src/bhyve_mcp/server.py
Architecture
- FastMCP (
mcpPython SDK) — MCP tool/resource server over stdio - Vendored pybhyve — B-Hyve REST + WebSocket client (from sebr/bhyve-home-assistant)
- Session wrapper — lazy auth, token refresh on 401/403, structured errors
Write operations (start watering, rain delay, etc.) use the B-Hyve WebSocket API. Read operations use REST polling.
Safety
start_wateringdefaults to a 30-minute max unlessallow_extended_runtime=true- Rain delay capped at 168 hours (7 days)
- Watering duration capped at 120 minutes
License
MIT
Установка Bhyve
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/norman2112/bhyve-mcpFAQ
Bhyve MCP бесплатный?
Да, Bhyve MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Bhyve?
Нет, Bhyve работает без API-ключей и переменных окружения.
Bhyve — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Bhyve в Claude Desktop, Claude Code или Cursor?
Открой Bhyve на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Bhyve with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
