Docs menu

    Use Greenbar with your AI agent

    Connect Claude, Claude Code, Codex or Cursor to Greenbar and look after your clients' sites from the chat.

    What you can do

    The server address is https://usegreenbar.com/api/mcp. Add it to your agent, and your agent can look after your clients' sites from the chat.

    • Ask what's down across all your clients.
    • Read a monitor's recent checks and its daily uptime, and a client's incidents.
    • Add HTTP, SSL and TCP monitors.

    Everything stays within your plan's limits. What your agent may do depends on the boxes you tick when you sign in.

    What it can change

    • Add a client and its status page.
    • Change, pause, resume or delete a monitor.
    • Post and update incidents on a client's status page.
    • Schedule, change or cancel maintenance.
    • Add and test alert channels. Channels other than email are on paid plans.
    • Change a status page's settings.
    Warning. Incidents and status page changes are public, and an incident emails the page's subscribers. Ask your agent to show you the words first.

    Client reports

    Your agent can read the client reports you saved. Client reports are on paid plans.

    How sign-in works

    • Sign in (Claude, Claude Code, Codex): add the address, and the app sends you to Greenbar. Sign in, choose what the app may do, and approve. Reading your clients, monitors, incidents and checks starts ticked. Everything else starts unticked. Leave the stay connected box ticked to stay signed in for up to 90 days.
    • An API key (Cursor, scripts): make a key on your Account page with only the boxes it needs, and put it in an environment variable named GREENBAR_API_KEY. Never paste a key into a chat.

    You can see and disconnect every app under Connected apps on your Account page, and revoke keys there too.

    An agent without a browser

    An agent that can't open a browser shows you a code. Open https://usegreenbar.com/connect, sign in, type the code and approve.

    New to Greenbar

    An agent can start an account for you. It asks for your email address and shows you a code. You sign up at https://usegreenbar.com/connect with that address and type the code. This connection lasts one hour.

    Claude (claude.ai and Claude Desktop)

    1. Go to Customize, then Connectors.
    2. Choose Add, then Add custom connector.
    3. Name it Greenbar, enter https://usegreenbar.com/api/mcp and choose Continue. Keep the sign-in settings Claude detected.
    4. Choose Add, then Connect, and sign in to Greenbar.

    On Team and Enterprise plans, an owner adds the connector first under Organization settings, then Connectors. Then each person connects.

    Claude Code

    claude mcp add --transport http greenbar https://usegreenbar.com/api/mcp

    Then run /mcp in Claude Code, choose greenbar and sign in. Add --scope user to the command to use it in every project.

    Codex

    codex mcp add greenbar --url https://usegreenbar.com/api/mcp
    codex mcp login greenbar

    Cursor

    Cursor connects with an API key. Put your key in the GREENBAR_API_KEY environment variable, then add this to ~/.cursor/mcp.json.

    {
      "mcpServers": {
        "greenbar": {
          "url": "https://usegreenbar.com/api/mcp",
          "headers": { "Authorization": "Bearer ${env:GREENBAR_API_KEY}" }
        }
      }
    }

    More

    The Agents page lists every tool, what it needs and what it answers when it refuses. For agents, https://usegreenbar.com/auth.md says how to connect.