opensprinkler-mcp
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., "@opensprinkler-mcprun station 0 for 10 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.
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: CNCjs MCP Server
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/Lumeo-sd/opensprinkler-mcp-sdr'
If you have feedback or need assistance with the MCP directory API, please join our Discord server