Skip to main content
Glama
marcinn2

OpenSprinkler MCP server

by marcinn2

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoInterface to bind in SSE mode. Use '127.0.0.1' to accept only local connections0.0.0.0
PORTNoHTTP port for SSE mode3000
MCP_AUTH_TOKENNoBearer token required on all HTTP requests (optional)
MCP_ALLOWED_HOSTSNoComma-separated Host header allowlist. When set, other hosts get 403 - this blocks DNS-rebinding attacks
OPEN_SPRINKLER_TLSNoSet to 'true' to use HTTPSfalse
MCP_ALLOWED_ORIGINSNoComma-separated Origin allowlist for browser clients. Requests with no Origin are unaffected
OPEN_SPRINKLER_HOSTNoHostname or IP address of OpenSprinklerlocalhost
OPEN_SPRINKLER_PORTNoPort number80
OPEN_SPRINKLER_PASSWORDNoMD5 hash of the controller password
OPEN_SPRINKLER_TIMEOUT_MSNoAbort a controller request after this many milliseconds10000

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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