bhyve-mcp
This MCP server lets you monitor and control Orbit B-Hyve smart irrigation systems from any MCP-compatible client (e.g., Claude Code, Cursor).
Read / Query
List all devices — retrieve all B-Hyve devices (controllers, hubs, hose timers, flood sensors), including IDs, names, types, firmware, and connectivity
Get device status — check current watering state, rain delays, and real-time status
Get zone details — view detailed information for all zones/stations on a device
Get watering programs — list all scheduled watering programs for a device
Get watering history — retrieve recent watering history for a device
Write / Control
Start watering — begin watering a specific zone for a set duration (1–120 min); durations over 30 min require explicit override
Stop watering — immediately stop all active watering on a device
Enable rain delay — pause all scheduled watering for 1–168 hours (up to 7 days)
Disable rain delay — cancel an active rain delay early
Set device mode — switch a device between
autoandoffoperating modesUpdate a watering program — modify start times, frequency, and watering budget percentage
Toggle Smart Watering — enable or disable the Smart Watering feature for a specific zone
Resources
bhyve://devices— browse all devicesbhyve://device/{device_id}/zones— browse zones for a specific device
Authentication uses your B-Hyve account credentials (email + password) via environment variables.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bhyve-mcpstart watering zone 1 for 20 minutes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bhyve-mcp
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.
Related MCP server: cursor-mcp-server
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}/zonesTransport: 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 syncCopy credentials:
cp .env.example .env
# Edit .env with your BHYVE_EMAIL and BHYVE_PASSWORDCursor / 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": "your-email@example.com",
"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.pyArchitecture
FastMCP (
mcpPython SDK) — MCP tool/resource server over stdioVendored 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=trueRain delay capped at 168 hours (7 days)
Watering duration capped at 120 minutes
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceAn MCP server that wraps the Ambient Weather REST API. Query your personal weather stations conversationally from Claude Code, Claude.ai, or any MCP-compatible client.Last updated1MIT
- Flicense-qualityDmaintenanceAn MCP server wrapping the Cursor CLI agent, enabling Claude Code and other MCP clients to delegate tasks to Cursor's AI agent for file writing, bash commands, and codebase queries.Last updated
- Flicense-qualityFmaintenanceEnables managing OpenSprinkler irrigation controllers via Claude Desktop, including starting/stopping stations, setting rain delays, and viewing controller status.Last updated
- Flicense-qualityCmaintenanceMCP server for Hunter Hydrawise irrigation controllers, exposing the Hydrawise REST API as tools for AI agents to manage watering schedules and controller settings.Last updated
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/norman2112/bhyve-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server