Staygreen — Claude Code MCP server: monitoring and setup
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.
no license ★ 33 updated 2026-10-29
claude mcp add --transport http staygreen https://staygreen.io/mcpWhat Staygreen 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.
What it helps with
- 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 for the agent
- 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.
How to install Staygreen
1Platform CLI: remote server
claude mcp add --transport http staygreen https://staygreen.io/mcp2Platform CLI
claude mcp add --env STAYGREEN_API_TOKEN=<STAYGREEN_API_TOKEN> --transport stdio staygreen -- npx -y staygreenReplace <…> with your own values
1Platform CLI: remote server
codex mcp add staygreen --url https://staygreen.io/mcp2Platform CLI
codex mcp add staygreen --env STAYGREEN_API_TOKEN=<STAYGREEN_API_TOKEN> -- npx -y staygreenReplace <…> with your own values
Config file
{
"mcpServers": {
"staygreen": {
"url": "https://staygreen.io/mcp"
}
}
}{
"mcpServers": {
"staygreen": {
"command": "npx",
"args": [
"-y",
"staygreen"
],
"env": {
"STAYGREEN_API_TOKEN": "<STAYGREEN_API_TOKEN>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"staygreen": {
"type": "http",
"url": "https://staygreen.io/mcp"
}
}
}{
"servers": {
"staygreen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"staygreen"
],
"env": {
"STAYGREEN_API_TOKEN": "<STAYGREEN_API_TOKEN>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http staygreen https://staygreen.io/mcp2Platform CLI
gemini mcp add -e STAYGREEN_API_TOKEN=<STAYGREEN_API_TOKEN> staygreen npx -y staygreenReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Staygreen
How do I install Staygreen in Claude Code?
Run claude mcp add --transport http staygreen https://staygreen.io/mcp. Then open /mcp, select staygreen, and authenticate.
What does Staygreen do?
It lets an agent inspect app monitoring data, including uptime, response times, and incident evidence. The agent can also configure checks for an app.
Do I need an API token to connect?
The HTTP connection uses account sign-in and requires workspace administrator access. The local npm server requires Node 22 or later and an API token.