# Staygreen

Staygreen lets a coding agent inspect app uptime, monitors, and incidents, or configure checks for an app. Connect it when you want monitoring data in your coding workflow.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 33 repo stars
- Author: phuryn
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/phuryn/staygreen
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/staygreen

## What it does

The MCP connection gives Claude Code access to a Staygreen workspace. It can retrieve app and monitor status, uptime history, response-time measurements, incident details, and SSL or domain expiry dates. A one-off scan checks a public app URL. Another tool can configure website, SSL, and domain checks alongside a status page and cron heartbeats.

Connect over HTTP, authenticate with your Staygreen account, then select a workspace; you need administrator access. Changes use a `request_id` so a repeated request can be retried safely. Agents cannot delete resources, publish incident updates, manage billing, or handle teammates. The local npm server needs Node 22 or later and a workspace API token; without one, only `scan_app` is available.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://staygreen.io/mcp`
- Environment variables: `STAYGREEN_API_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http staygreen https://staygreen.io/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env STAYGREEN_API_TOKEN=<STAYGREEN_API_TOKEN> --transport stdio staygreen -- npx -y staygreen
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add staygreen --url https://staygreen.io/mcp
```

2. **Platform CLI**
```bash
codex mcp add staygreen --env STAYGREEN_API_TOKEN=<STAYGREEN_API_TOKEN> -- npx -y staygreen
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "staygreen": {
            "url": "https://staygreen.io/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "staygreen": {
            "command": "npx",
            "args": [
                "-y",
                "staygreen"
            ],
            "env": {
                "STAYGREEN_API_TOKEN": "<STAYGREEN_API_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "staygreen": {
            "type": "http",
            "url": "https://staygreen.io/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "staygreen": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "staygreen"
            ],
            "env": {
                "STAYGREEN_API_TOKEN": "<STAYGREEN_API_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http staygreen https://staygreen.io/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e STAYGREEN_API_TOKEN=<STAYGREEN_API_TOKEN> staygreen npx -y staygreen
```
Replace <…> with your own values

## When to use it
- check an app’s current status and open incidents
- filter workspace monitors by app, type, or state
- review uptime history and response-time measurements
- check certificate and domain expiry dates
- set up monitoring and a status page for an app

## Example prompts
- Check this app’s status and summarize its open incidents.
- List workspace monitors filtered by their current state.
- Set up website, SSL, and domain checks plus a status page for this app.

## Similar
- [uptime-monitoring](https://affpapa.org/en/nevibecode/skills/uptime-monitoring.md) — skill · 493 installs
- [Uptimy](https://affpapa.org/en/nevibecode/mcp/uptimy.md) — MCP server
- [SolidPing](https://affpapa.org/en/nevibecode/mcp/solidping.md) — MCP server · ★ 46 repo stars
- [mcp](https://affpapa.org/en/nevibecode/mcp/becoolme-mcp.md) — MCP server · ★ 35 repo stars
- [api-status-communication](https://affpapa.org/en/nevibecode/skills/api-status-communication.md) — skill · 10400 installs
- [crontap-quickstart](https://affpapa.org/en/nevibecode/skills/crontap-quickstart.md) — skill · 1300 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
