Wellrail

Docs · MCP server & API

Let your coding agent close the loop.

Your agent reads a finding, writes the fix, and asks Wellrail to retest. If the issue is gone, the finding closes itself, and the audit log records who fixed what and when.

01Create an API key

Sign in, open Dashboard → API & MCP and create a key. It starts with wr_, and you see it once: we only keep a hash. A key can read and triage every app on your account, so treat it like a password and revoke it if it leaks.

02Claude Code

claude mcp add --transport http wellrail https://wellrail.com/api/mcp \
  --header "Authorization: Bearer wr_YOUR_KEY"

Then ask: “What open Wellrail findings do we have? Fix the most severe one and request a retest.”

03Cursor and other MCP clients

Add a remote (streamable HTTP) server to your MCP config:

{
  "mcpServers": {
    "wellrail": {
      "url": "https://wellrail.com/api/mcp",
      "headers": { "Authorization": "Bearer wr_YOUR_KEY" }
    }
  }
}

04Tools

  • list_domains: your apps, with open findings by severity.
  • list_findings: findings, most severe first. Filter by domain, status (default open) and severity.
  • get_finding: one finding with its evidence, the suggested fix, the latest retest, and a plain-text brief to work from.
  • request_retest: re-runs only the check that found it. Nuclei retests take seconds; ZAP and chatbot retests take a few minutes.
  • mark_finding: accept the risk, mark a false positive, or reopen, with a note for the audit log.

Evidence comes from your scanned site and chatbot. The server tells agents to treat it as data, never as instructions.

05REST API

The same operations over HTTPS, with Authorization: Bearer wr_YOUR_KEY. Responses are {"data": ...} or {"error": "..."}.

GET   /api/v1/domains
GET   /api/v1/findings?domain=myapp.ai&status=open&severity=high
GET   /api/v1/findings/{id}
PATCH /api/v1/findings/{id}          {"status": "accepted", "note": "..."}
POST  /api/v1/findings/{id}/retest

Limits: 600 requests per hour per key, 20 retests per hour per account.

06Slack, Linear and webhooks

Connect them in Dashboard → Integrations & API. Slack gets the same quiet alerts as email. Linear gets an issue per new high or critical finding, closed automatically when a retest confirms the fix. Webhooks get a POST for every change, with an X-Wellrail-Signature: sha256=… header (HMAC-SHA256 of the raw body with your signing secret).

07What it can't do

Agents can't start new scans on hosts you haven't authorized, change your scope, or mark a finding fixed by hand. Only a retest closes a finding.

MCP server & API · Wellrail