Staygreen

v1.1.4
io.github.phuryn/staygreen Checked 23 hours ago Published 1 month ago

Uptime monitoring and status pages for apps built with coding agents: status, incidents, setup.

Values you need

VariableWhat it is
STAYGREEN_API_TOKENrequired secret Staygreen workspace API token (dashboard: Agents and API), read-only or read-and-write. Without it only scan_app works.

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add staygreen -e 'STAYGREEN_API_TOKEN=<STAYGREEN_API_TOKEN>' -- npx -y staygreen@0.1.3 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "staygreen": {
      "args": [
        "-y",
        "staygreen@0.1.3",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "STAYGREEN_API_TOKEN": "<STAYGREEN_API_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "staygreen": {
      "args": [
        "-y",
        "staygreen@0.1.3",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "STAYGREEN_API_TOKEN": "<STAYGREEN_API_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "STAYGREEN_API_TOKEN",
      "id": "staygreen-api-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "staygreen": {
      "args": [
        "-y",
        "staygreen@0.1.3",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "STAYGREEN_API_TOKEN": "${input:staygreen-api-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.staygreen]
command = "npx"
args = ["-y", "staygreen@0.1.3", "mcp"]
env = { "STAYGREEN_API_TOKEN" = "<STAYGREEN_API_TOKEN>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http staygreen https://staygreen.io/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "staygreen": {
      "args": [
        "-y",
        "mcp-remote",
        "https://staygreen.io/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "staygreen": {
      "url": "https://staygreen.io/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "staygreen": {
      "type": "http",
      "url": "https://staygreen.io/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.staygreen]
command = "npx"
args = ["-y", "mcp-remote", "https://staygreen.io/mcp"]

For AI agents

  1. Ask the user for: STAYGREEN_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json