Connect ShiftView to Cursor and Claude Code
ShiftView has an MCP (Model Context Protocol) server. Connect it to Cursor, Claude Code or any MCP client, and your AI tools can read the WCAG issues we’ve found on your sites, along with the CSS selectors and HTML they need to fix them. It’s read-only: an MCP connection can’t change anything in ShiftView.
Create an API key
Go to the API keys page in your ShiftView account. Only account owners and admins can see this page.
Create a key with the MCP scope, then copy it. The key is shown once, so save it somewhere safe. It gives access to every site on your account, not just one.
Cursor
Add this to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json if you want it available in every project:
{
"mcpServers": {
"shiftview": {
"url": "https://api.shiftview.io/mcp",
"headers": {
"Authorization": "Bearer key-your-key-here"
}
}
}
}
Replace key-your-key-here with your own key. Then open Cursor’s MCP settings and check that “shiftview” shows four tools.
Claude Code
Run this command:
claude mcp add --transport http shiftview https://api.shiftview.io/mcp --header "Authorization: Bearer key-your-key-here"
Add -s project to share the connection through .mcp.json in the repo. If you do, keep the key out of the file by writing ${SHIFTVIEW_API_KEY} in its place and setting that environment variable instead. Add -s user if you want the connection available in every project.
Run /mcp inside Claude Code to confirm it connected.
Other MCP clients
Any client that supports the Streamable HTTP transport works. Point it at https://api.shiftview.io/mcp and send the header Authorization: Bearer <key>.
Tools
| Tool | Use it to | Inputs |
|---|---|---|
list_sites |
See the sites on your account with their latest score and scan date. | None. |
list_issues |
List the failing rules on a site, ordered by how many elements fail, with impact, WCAG criterion, pages affected and a help link. | site_id; optional impact (critical, serious, moderate, minor), type (violations, incomplete, all), page_url. |
get_issue |
Get the CSS selectors, HTML snippets, affected pages and fix guidance for one rule. | site_id, rule (an axe rule id such as color-contrast); optional type, offset, limit (max 50). |
get_page_issues |
Get everything failing on one page, with example elements per rule. | site_id, page_url; optional type. |
Example prompts
- “List the sites on my ShiftView account.”
- “Show me the critical issues on site 365.”
- “Use get_issue for color-contrast on site 365 and fix the affected components in this repo.”
- “What accessibility issues does https://example.com/pricing have?”
How it works
- Data comes from the latest completed scan.
- Issues you’ve marked ignored or resolved in ShiftView are left out.
- Nothing is written back. After you fix something and deploy, rescan the site in ShiftView (or wait for the scheduled scan), and the fixed issues disappear from the results.
- Requests are rate limited per IP.
- You can revoke a key any time from the API keys page.
Export instead
If you’d rather have a file, the Issues page of any site has an Export button that downloads every open issue as CSV or JSON.
Create a key on the API keys page, or get in touch if you have questions.