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
- In Wayproof, open AI agents and create a token. Copy it: it is shown once.
- Add the server to your agent with the endpoint
<your Wayproof URL>/mcpand the headerAuthorization: Bearer <token>. The AI agents page shows the exact commands for your instance. - 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: AnyProjects in your organisation with their base URL, journeys and open issue count.
Returns: Project ids, journey ids, open issue counts.
list_issues
Read onlyRole: AnyIssues, most severe first. An issue groups the same problem on the same element across audits.
| Parameter | Description |
|---|---|
| projectId? | Only this project |
| status | open (default), in_progress, fixed, accepted_risk or false_positive |
| impact? | critical, serious, moderate or minor |
| limit | 1–200, default 50 |
Returns: Issue id, severity, rule, WCAG criteria, occurrence count and first selector.
get_issue
Read onlyRole: AnyFull context to fix one issue.
| Parameter | Description |
|---|---|
| issueId | From 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 aboveRe-run a journey against its environment, e.g. after deploying a fix to staging.
| Parameter | Description |
|---|---|
| journeyId | From list_projects or get_issue |
| environmentId? | Defaults to the project’s first environment |
| browser | chromium (default), firefox or webkit |
Returns: A run id. Audits take a few minutes.
get_run
Read onlyRole: AnyStatus of an audit and, when finished, the issues it found.
| Parameter | Description |
|---|---|
| runId | From 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 aboveChange an issue’s status and leave a note.
| Parameter | Description |
|---|---|
| issueId | — |
| status | open, in_progress, fixed, accepted_risk or false_positive |
| comment? | e.g. what changed and the PR or commit |
Returns: Confirmation.
Recommended workflow
list_issuesto pick what to fix, usually by severity.get_issuefor the failing elements, page and suggested fix. Fix the cause in your source components, not just the rendered HTML.- Deploy the change to the environment Wayproof audits (usually staging).
start_auditon the journey, thenget_rununtil it completes. A fixed issue no longer appears in the run.update_issuewith statusfixedand 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.