opensprinkler-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
OpenSprinkler MCP Server
MCP server for managing OpenSprinkler controllers via Claude Desktop.
Available Tools
Tool | Description |
| Get controller status (device time, enabled state, rain delay) |
| Get all stations with their current status |
| Start a station for a specified duration |
| Stop a running station |
| Stop all running stations immediately |
| Set rain delay in hours (0 to clear) |
| Enable or disable the controller |
| Reboot the OpenSprinkler controller |
| Get all watering programs |
| Get controller options and settings |
Related MCP server: bhyve-mcp
Configuration
Environment Variables
Variable | Description | Default |
| IP address of OpenSprinkler | localhost |
| Password (plain text or MD5 hash) | (empty) |
| HTTP port | 80 |
Docker
Build Image
docker build -t opensprinkler-mcp .Run Manually (Test)
docker run -i --rm ^
-e OPEN_SPRINKLER_HOST=192.168.1.100 ^
-e OPEN_SPRINKLER_PASSWORD=your_password ^
opensprinkler-mcpWindows (PowerShell):
docker run -i --rm `
-e OPEN_SPRINKLER_HOST=192.168.1.100 `
-e OPEN_SPRINKLER_PASSWORD=your_password `
opensprinkler-mcpLinux/Mac:
docker run -i --rm \
-e OPEN_SPRINKLER_HOST=192.168.1.100 \
-e OPEN_SPRINKLER_PASSWORD=your_password \
opensprinkler-mcpAuto-Start Options
Option 1: Docker Compose (Recommended)
Create docker-compose.yml:
version: '3.8'
services:
opensprinkler-mcp:
image: opensprinkler-mcp
container_name: opensprinkler-mcp
restart: unless-stopped
environment:
- OPEN_SPRINKLER_HOST=192.168.1.100
- OPEN_SPRINKLER_PASSWORD=your_passwordStart:
docker compose up -dOption 2: Docker Run with Restart
docker run -d --name opensprinkler-mcp ^
--restart unless-stopped ^
-e OPEN_SPRINKLER_HOST=192.168.1.100 ^
-e OPEN_SPRINKLER_PASSWORD=your_password ^
opensprinkler-mcpClaude Desktop Configuration
Add to your claude_desktop_config.json:
Windows
%APPDATA%\Claude\claude_desktop_config.jsonmacOS
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux
~/.config/Claude/claude_desktop_config.jsonDocker (Recommended)
{
"mcpServers": {
"opensprinkler": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OPEN_SPRINKLER_HOST=192.168.1.100",
"-e",
"OPEN_SPRINKLER_PASSWORD=your_password",
"opensprinkler-mcp"
]
}
}
}Pre-built Container (with auto-restart)
{
"mcpServers": {
"opensprinkler": {
"command": "docker",
"args": [
"run",
"--rm",
"-e",
"OPEN_SPRINKLER_HOST=192.168.1.100",
"-e",
"OPEN_SPRINKLER_PASSWORD=your_password",
"opensprinkler-mcp"
]
}
}
}Examples
Get all stations status
What stations are currently running?Start a station
Run station 0 for 10 minutesSet rain delay
Set 24 hour rain delayPassword
The OpenSprinkler API accepts both plain text passwords and MD5 hashes. You can generate an MD5 hash online or use the plain text password directly.
Troubleshooting
"Server disconnected" error
This usually means the MCP server is not running or not accessible. Try:
Test Docker manually:
docker run -i --rm ^ -e OPEN_SPRINKLER_HOST=YOUR_IP ^ -e OPEN_SPRINKLER_PASSWORD=YOUR_PASSWORD ^ opensprinkler-mcpIf it runs without errors, press
Ctrl+Cto stop.Check your IP address - make sure OpenSprinkler is reachable from your computer.
Restart Claude Desktop after changing configuration.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Lets Claude, ChatGPT, and Muse read and update your beckett tasks, notes, calendar, and lists.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Manage your IoT device fleet directly from Claude. Create device templates with datastreams and events, provision new devices, read live sensor data, and control outputs. The Blynk connector integrates with the Blynk IoT platform, enabling direct configuration and monitoring of connected devices and infrastructure.
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables monitoring and control of SwitchBot devices (temperature sensors, plugs, bots) via Claude Desktop or Home Assistant.1014 npmMIT
- FlicenseAqualityDmaintenanceQuery and control Orbit B-Hyve irrigation systems from MCP-compatible clients like Claude Code and Cursor.121-
- AlicenseNot gradedqualityDmaintenanceControl and monitor your AC Infinity grow environment through Claude and any MCP-compatible AI assistant. It provides live sensor data, analytics, and the ability to adjust fan speeds or port states using natural language.MIT
- AlicenseBqualityDmaintenanceEnables natural language querying and control of Rachio smart irrigation controllers, including watering status, zone runs, schedules, rain delays, and standby mode.101MIT