Integrations

MCP server

Wayproof is a remote Model Context Protocol server. Connect a coding agent such as Claude Code, Cursor or VS Code, and it can read your accessibility issues with the context needed to fix them, re-run audits to verify, and update issue status.

Setup

  1. In Wayproof, open AI agents and create a token. Copy it: it is shown once.
  2. Add the server to your agent with the endpoint <your Wayproof URL>/mcp and the header Authorization: Bearer <token>. The AI agents page shows the exact commands for your instance.
  3. Ask your agent, for example: “Fix the critical accessibility issues in the checkout project and verify with a re-audit.”

Transport: streamable HTTP, stateless, JSON responses. Only POST is supported on the endpoint.

Client configuration

Claude Code

claude mcp add --transport http wayproof <your Wayproof URL>/mcp \
  --header "Authorization: Bearer <token>"

Cursor

In ~/.cursor/mcp.json. Keep tokens out of files you commit.

{
  "mcpServers": {
    "wayproof": {
      "url": "<your Wayproof URL>/mcp",
      "headers": {
        "Authorization": "Bearer <token>"
      }
    }
  }
}

VS Code

In your user mcp.json. VS Code prompts for the token and stores it securely.

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wayproof-token",
      "description": "Wayproof token",
      "password": true
    }
  ],
  "servers": {
    "wayproof": {
      "type": "http",
      "url": "<your Wayproof URL>/mcp",
      "headers": {
        "Authorization": "Bearer ${input:wayproof-token}"
      }
    }
  }
}

Any other MCP client that supports remote HTTP servers with custom headers works the same way.

Tools

list_projects

Read onlyRole: Any

Projects in your organisation with their base URL, journeys and open issue count.

Returns: Project ids, journey ids, open issue counts.

list_issues

Read onlyRole: Any

Issues, most severe first. An issue groups the same problem on the same element across audits.

Parameters for list_issues
ParameterDescription
projectId?Only this project
statusopen (default), in_progress, fixed, accepted_risk or false_positive
impact?critical, serious, moderate or minor
limit1–200, default 50

Returns: Issue id, severity, rule, WCAG criteria, occurrence count and first selector.

get_issue

Read onlyRole: Any

Full context to fix one issue.

Parameters for get_issue
ParameterDescription
issueIdFrom list_issues

Returns: What is wrong and who is affected; each failing element with selector, HTML, accessible name and role, journey step and page URL; reproduction steps; the AI-suggested fix (if AI is on); a link to the replay and DOM evidence.

start_audit

Changes dataRole: Member or above

Re-run a journey against its environment, e.g. after deploying a fix to staging.

Parameters for start_audit
ParameterDescription
journeyIdFrom list_projects or get_issue
environmentId?Defaults to the project’s first environment
browserchromium (default), firefox or webkit

Returns: A run id. Audits take a few minutes.

get_run

Read onlyRole: Any

Status of an audit and, when finished, the issues it found.

Parameters for get_run
ParameterDescription
runIdFrom start_audit

Returns: Status, issue counts by severity, and each issue with whether it is new in this run.

update_issue

Changes dataRole: Member or above

Change an issue’s status and leave a note.

Parameters for update_issue
ParameterDescription
issueId—
statusopen, in_progress, fixed, accepted_risk or false_positive
comment?e.g. what changed and the PR or commit

Returns: Confirmation.

Recommended workflow

  1. list_issues to pick what to fix, usually by severity.
  2. get_issue for the failing elements, page and suggested fix. Fix the cause in your source components, not just the rendered HTML.
  3. Deploy the change to the environment Wayproof audits (usually staging).
  4. start_audit on the journey, then get_run until it completes. A fixed issue no longer appears in the run.
  5. update_issue with status fixed and a note linking the change.

Suggested fixes are AI-generated. Review them like any other code change.

Permissions and security

  • A token acts as the person who created it, with their current role in the organisation. Viewers can use the read tools only.
  • Tokens are stored as SHA-256 hashes and shown once. Revoke them any time from AI agents; removing a member from the organisation also stops their tokens working.
  • Tokens can’t create or revoke other tokens; that requires signing in to the web app.
  • Audits started by an agent follow the same environment rules as any audit: steps that submit, pay or delete are skipped unless an owner allowed them.
  • Agents only see data from their own organisation.

Troubleshooting

401 unauthorized
The token is missing, mistyped, revoked, or its owner was removed from the organisation. Check the Authorization header is “Bearer ” followed by the full token.
“Your role cannot …”
The token’s owner is a viewer. Ask an admin to change their role in Settings.
“No element details”
The issue comes from an older audit without stored elements. Re-run its journey with start_audit.
405 on GET
The server is stateless and only accepts POST. Configure the client for streamable HTTP, not SSE.