Skip to content
All’s Well
API reference

MCP server

Last updated MarkdownOpenAPI 3.1

All's Well runs an MCP server, so an AI assistant such as Claude Code, Codex or Cursor can set up and manage a team's monitoring for you: check the plan, create monitors and alert contacts, and read checks and incidents.

URL https://alls-well.io/mcp
Transport Streamable HTTP
Authentication Sign in with OAuth, or send Authorization: Bearer <token> with a team API token, the same as the REST API. See Connect an AI client and Authentication
Rate limit 120 requests per minute per user

The assistant acts for one team, chosen when you sign in or fixed by the token, with your role in it: a Viewer can read but not change anything.

Connect a client

The simplest way in is to sign in. Add https://alls-well.io/mcp to your client as a remote MCP server, and it opens a browser where you sign in to All's Well and choose the team it may use. There is no token to copy. Connect an AI client has the steps for Claude, Claude Code, ChatGPT, Cursor and VS Code, and how to disconnect one.

Claude Code

claude mcp add --transport http alls-well https://alls-well.io/mcp

Then run /mcp in Claude Code to sign in.

With a team API token

A client that can't open a browser, or a script, can send a team API token instead. An Owner or Admin makes one in Settings, API tokens. Keep it in an environment variable such as ALLS_WELL_TOKEN.

Claude Code

claude mcp add --transport http alls-well https://alls-well.io/mcp \
  --header "Authorization: Bearer $ALLS_WELL_TOKEN"

Codex

In ~/.codex/config.toml, with the token in the ALLS_WELL_TOKEN environment variable:

[mcp_servers.alls-well]
url = "https://alls-well.io/mcp"
bearer_token_env_var = "ALLS_WELL_TOKEN"

Cursor and other clients

Most clients take an mcpServers entry like this:

{
  "mcpServers": {
    "alls-well": {
      "url": "https://alls-well.io/mcp",
      "headers": {"Authorization": "Bearer 3|example-sanctum-token"}
    }
  }
}

Keep the token out of files you commit. Where the client can read environment variables, use one. A project's .mcp.json can refer to it, so the file holds no secret:

{
  "mcpServers": {
    "alls-well": {
      "type": "http",
      "url": "https://alls-well.io/mcp",
      "headers": {"Authorization": "Bearer ${ALLS_WELL_TOKEN}"}
    }
  }
}

Tools

Tool Does
get-plan-usage The plan, its monitor limit, how many are used and the shortest check interval. Call it before create-monitor
list-monitors The team's monitors and their status
get-monitor One monitor, with SSL details, 30-day uptime and whether it is still proving itself. A heartbeat's heartbeat_url only with reveal_heartbeat_url: true.
create-monitor Creates a monitor. Takes the same fields as Create a monitor
update-monitor Changes only the fields sent; notification_contact_ids replaces the set
toggle-monitor Pauses or resumes a monitor
delete-monitor Deletes a monitor
list-notification-contacts The team's alert contacts, their IDs and whether each is confirmed
create-notification-contact Creates a contact. config holds the keys its type needs
list-recent-checks A monitor's latest checks, up to 100
list-incidents The newest 50 incidents across monitors, servers and sites. Filter by project, state (open, resolved or all) and type (monitor, server or site)
get-incident One incident with its evidence: the checks around a monitor's, a server's disk samples (the newest 200, with samples_truncated when there were more) and system facts, a site's last report and error
check-project The check-in: what needs attention in a project right now. Takes the project value from alls-well.json
find-updates Where named plugins, themes, modules or packages are installed, with versions, and when each site's project's backup job last succeeded
list-servers The team's servers and their state: waiting, paused, down or reporting. Filter by project and state
get-server One server's health, disks, installed software versions with their support, and vulnerabilities. The install command only with reveal_install_command: true
create-server Registers a server and returns its install command
list-sites The team's sites and their state: waiting, stale, down or reporting. Filter by project and state
get-site One site's health, installed software versions with their support, updates and vulnerabilities. The connect steps only with reveal_connect: true
create-site Registers a site, with an uptime and an SSL monitor unless create_monitors is false, and returns the connect steps
list-status-pages The team's status pages, what is on them, their custom domain and open notices. Filter by project
get-status-page One status page, with its monitors and servers in order, its domain and the DNS records to add
create-status-page Creates a status page, optionally with monitors and servers on it
update-status-page Changes only the fields sent; monitor_ids and server_ids replace the lists. The slug never changes
set-status-page-domain Sets or removes (domain: null) a custom domain and returns the DNS records to add. Replacing or removing a verified domain takes it offline until its DNS points here again
verify-status-page-domain Checks the DNS and serves the domain once the verification record is found
list-projects The team's projects, each with its key, item counts and worst status
get-project One project by key or name, with its monitors, servers, sites and status pages
create-project Creates a project. Owners and admins only, within the plan's project limit
rename-project Changes a project's name; its key stays
move-to-project Puts monitors, servers, sites or status pages, by id, into a project, or out of it with project: null
list-notices A status page's open, upcoming and recent notices with their updates, and drafts_waiting. For a token that can draft, also the drafts waiting for review with their review links
draft-notice Drafts an incident or maintenance notice for a status page
draft-notice-update Drafts a new update to a published notice
draft-notice-correction Drafts a corrected message for a published update
change-draft Changes only the fields sent on a draft that is waiting for review
discard-draft Deletes a draft that is waiting for review

create-monitor and update-monitor also take is_backup on a heartbeat monitor, which marks the job that takes the backup, and a project (key or name); get-monitor and list-monitors return both. On update-monitor, leave project out to keep the monitor's project or send null to take it out. list-monitors takes a project filter, and get-monitor returns the monitor's project.

Check-in, incidents and updates

At the start of a session in a codebase with an alls-well.json, the assistant calls check-project with its project value and tells you what needs attention, worst first: open incidents, blocked monitors, servers and sites yet to report, expiring certificates and domains, software past or nearing security support, high and critical vulnerabilities, overrunning maintenance, open notices and drafts waiting for review. get-incident gives the evidence behind an incident, so the cause is found before anything changes. Before an update, find-updates looks up the named components (an exact, case-insensitive match on slug, package name or name, not a substring match) and returns before_updating: confirm a recent backup or ask for one, prefer staging, update one thing at a time, and watch the checks afterwards. Each site's backup is the last success of the heartbeat marked is_backup in that site's project. A site with no project, or whose project has none marked, gets a note instead, so one client's backup never stands in for another's.

On plans without vulnerability scanning (Free and Starter), vulnerability and security-support results are not_checked, with a reason and an upgrade_url. An empty list never appears there. pending means not scanned yet. Only checked with empty items means none were found. A check-in shows one not_checked line instead of items, and only when the project has a server or site. get-server and get-site list what is installed on every plan: where support isn't checked, versions is not_checked with releases giving each product, version and line, and no support status. Before a server's or site's first report, versions is pending. A release the check can't judge is unknown, with a note: distribution build (Ubuntu, Debian, Alpine and similar patch their own PHP and databases, so the line says nothing), waiting for the package list (a server's agent hasn't sent its packages yet) or version only; a distribution build can't be told apart (a site's database, until its add-on reports the full version).

Servers and sites

create-server and create-site need an owner or admin, and return a secret token, in the install command and the connect steps. list-servers, list-sites, and get-server and get-site without a reveal flag never show it. get-server with reveal_install_command: true and get-site with reveal_connect: true show it again, and need an owner or admin. A server or site an agent registers proves itself with its first report. Until then its alerts reach only the person behind the agent, and contacts requested in notification_contact_ids are held. The site's own uptime and SSL monitors prove themselves like any monitor an agent creates.

Status pages

create-status-page, update-status-page, set-status-page-domain and verify-status-page-domain need an owner or admin. Status page changes made over MCP take effect at once, and a public page shows the names of the monitors and servers on it. For a custom domain, set-status-page-domain returns the DNS records the domain's owner must add, then verify-status-page-domain checks them. In list-notices, open means unresolved: upcoming maintenance shows open: true, upcoming: true, and maintenance past its end time shows overrunning: true. get-status-page's open_notices counts unresolved notices too.

Status page notices

Agents can only draft notices. Every draft tool returns a draft_id, its version and a review_url. Nothing shows on the public status page or is emailed to subscribers until a person who is an owner or admin opens the review link and publishes the draft. Give them the link, and don't tell them a notice is live before then. Viewers' agents can list notices but not draft them: their list-notices has drafts_waiting, a count, and no drafts, so unpublished text stays with the people who can publish it. Each tool takes the status_page id, which get-project lists for each status page, along with drafts_waiting: how many drafts that page has waiting for review.

  • An incident's stages are investigating, identified, monitoring and resolved. Maintenance's are scheduled, in_progress and completed.
  • draft-notice-update with a closing stage (resolved or completed) resolves the notice once the draft is published.
  • A maintenance notice's ends_at must be in the future, both when it is drafted and when it is published. A title is one line.
  • draft-notice-update on a maintenance notice may carry ends_at (ISO 8601 with offset) to extend it, or end it earlier, in the future. Checks stay paused until then. Use completed to end it now.
  • draft-notice-correction changes the published text and emails no one. Every new update emails the page's confirmed subscribers once, when it is published.
  • If a person already has a draft's review page open when change-draft changes it, they are asked to review it again before publishing.

The server also offers a guidelines resource that explains the monitor types, intervals, heartbeats and alert contacts to the assistant.

A first prompt

Monitor https://shop.example.com every 5 minutes, check its certificate, and email [email protected] when either fails.

The assistant should call get-plan-usage, create an email contact, then create an http and an ssl monitor with that contact's ID in notification_contact_ids. [email protected] gets an email asking them to confirm. Until each monitor has proved itself with 3 good checks in a row, its alerts go only to you, and the contact is held.

Errors

A tool that fails, for example because of invalid input or the plan's monitor limit, returns a tool error with a message the assistant can act on. A missing, expired or revoked token is an HTTP 401, with a WWW-Authenticate header that points a signing-in client at the OAuth metadata. A token that isn't pinned to a team, or a sign-in whose person has left the team, is a 403.