Staygreen is an uptime and incident monitoring product for "apps built by coding agents," offering a free tier and a public source code repository and issue tracker.
Purpose
- Perform multi-location availability checks on apps.
- Record incident events with supporting evidence.
- Provide a public status page for each app.
Key capabilities and components The repository includes the dashboard, probes, status edge, Workers, components and agent API, as well as a standalone command-line package located at packages/staygreen/. The code uses the Functional Source License, Version 1.1, MIT Future License (FSL-1.1-MIT): it may be used, modified and redistributed for any purpose, but may not be offered as a competing commercial product or service; each release converts to the MIT license two years after publication. The repository is a one-way, reviewed copy of a private working repository, refreshed after each release.
How to connect
- MCP server: the address is https://staygreen.io/mcp(streamable HTTP). Every call requires login; there are no anonymous tools. Add the above URL to an MCP client that supports OAuth login, sign in with a Staygreen account and select a workspace; if you do not have an account, signing up creates a Free workspace, with no need to open the dashboard first. The connection can read and change the monitors in that workspace, and the user must be an administrator of that workspace. In Claude, the same URL can be added as a custom connector.
- API tokens (for CI and scripts): administrators create read-only or read-write tokens in Agents and API in the dashboard; the token is shown only once. Send it as Authorization: Bearer <token>. The same token can be used for the MCP server and the REST API (https://staygreen.io/api/v1/<tool>).
- Local server (npm): the staygreen package runs the same tools as a local stdio server and calls the REST API using a workspace API token; requires Node 22 or later. Without a token, only scan_app is available. Configuration for Claude Desktop, Cursor, and VS Code, along with the package's scan and provision commands, are described in CLI.md.
Usage limits
- Write operations require a request_id UUID; repeating that ID with the same input allows safe retries.
- Agents cannot perform deletion, alert channel, team member, billing, or release-related operations.
- Calls share the workspace budget: Free is 30 per minute, Builder is 120 per minute.
Self-hosting Staygreen consists of multiple services and is not a one-click application, but a coding agent with API tokens for each provider can complete most of the installation. You can run a copy for your own organization; the license prohibits offering it to others as a competing commercial product or service. Deployment requirements, recommended resources and monthly costs, minimal installation, setting up with an agent, and the setup order are described in the deployment documentation; example configurations include service units for the probe and status edge, variables and a Caddyfile, as well as Wrangler configuration for the alert sender and watchdog. The environment reference and architecture are also documented.
Development and testing Use Node 22 or later. In the root directory, run npm ci, npm run typecheck, and npm run test:unit; unit tests use fake implementations and do not require database access or credentials. Inside packages/staygreen/, run npm ci, npm run typecheck, npm run build, and npm test to test the standalone CLI. The export check skips integration tests (Postgres and Supabase credentials), browser tests (a configured app, Playwright browsers, and a Clerk development account), live network tests, and go-live acceptance. Private operations/export tests are not released with the repository. Passing offline checks does not verify deployment or login. App development requires creating a local .env from .env.example, filling in the required variables, and then running npm run dev; npm run build also validates the configuration.
Feedback andSecurity You can report bugs or suggest features through the issue templates; issues are public, so never paste secrets, tokens, webhook or heartbeat URLs, signing keys, or header values. For security issues, use private vulnerability reporting and do not open a public issue.
Use cases Suited for developers and teams building applications with coding agents who need free availability monitoring, multi-location probes, incident evidence retention, and a public status page.
Limitations Pull requests and external contributions are not currently accepted; details such as specific pricing and feature differences between the Free and Builder plans are not provided.