OpenSprinkler MCP server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Interface to bind in SSE mode. Use '127.0.0.1' to accept only local connections | 0.0.0.0 |
| PORT | No | HTTP port for SSE mode | 3000 |
| MCP_AUTH_TOKEN | No | Bearer token required on all HTTP requests (optional) | |
| MCP_ALLOWED_HOSTS | No | Comma-separated Host header allowlist. When set, other hosts get 403 - this blocks DNS-rebinding attacks | |
| OPEN_SPRINKLER_TLS | No | Set to 'true' to use HTTPS | false |
| MCP_ALLOWED_ORIGINS | No | Comma-separated Origin allowlist for browser clients. Requests with no Origin are unaffected | |
| OPEN_SPRINKLER_HOST | No | Hostname or IP address of OpenSprinkler | localhost |
| OPEN_SPRINKLER_PORT | No | Port number | 80 |
| OPEN_SPRINKLER_PASSWORD | No | MD5 hash of the controller password | |
| OPEN_SPRINKLER_TIMEOUT_MS | No | Abort a controller request after this many milliseconds | 10000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_controller_statusA | Get OpenSprinkler controller status including device time, enabled state, rain delay status |
| get_stationsA | Get all stations with their current status (running, enabled, names, seconds remaining) |
| run_stationA | Start a station for a specified duration |
| stop_stationA | Stop a running station |
| stop_all_stationsA | Stop all running stations immediately |
| get_rain_delayA | Get the current rain delay status including remaining hours and end date |
| set_rain_delayA | Set rain delay in hours (0 to clear) |
| enable_controllerA | Enable or disable the controller |
| reboot_controllerA | Reboot the OpenSprinkler controller |
| get_programsA | Get all watering programs |
| view_logsA | Get watering history logs for a date range. Dates are interpreted in the controller's local timezone. |
| get_programA | Get full details of a single watering program by ID |
| add_programA | Add a new watering program with weekly or interval scheduling |
| delete_programA | Delete an existing watering program by ID |
| get_optionsC | Get controller options and settings |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/marcinn2/opensprinkler-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server