Skip to content
MCP server

MCP

Give coding agents ranked, graded locators from a live page for browser tests

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
0.1.7
Listing updated
today

Similar MCP servers

About MCP

MCP is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.

COR drives a real browser so an agent can look at a page before it writes a test. It opens the page, lists the controls with references, and then returns locators for the elements you name, ranked and graded, in the syntax of the framework it infers from your repo: Playwright, Cypress or WebdriverIO. Each recommendation comes as an entry to paste into your locator file, carrying a short id comment that later checks rely on.

Two tools keep locators honest over time. cor_check fails any locator in your files that did not come from COR, and cor_heal proposes a repair when a locator stops matching. The README advises using COR instead of Playwright MCP for test authoring, since a second browser server tempts an agent to type its own selectors.

COR writes small records to .cor/records in your project so repairs work on a teammate's machine or in CI; input values, cookies and storage are never stored, and emails, long digit runs and tokens are masked. The server sends anonymous usage metrics (tool name, duration, outcome, versions), which it describes in the README, and records can be turned off with --no-records.

Install

Run in a terminal

claude mcp add mcp -- npx -y @corlabsdev/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@corlabsdev/mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@corlabsdev/mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@corlabsdev/mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@corlabsdev/mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@corlabsdev/mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (10)

Taken from the project documentation; the running server may differ.

cor_open
Open a page and list its controls with refs
cor_snapshot
Text, controls and entries within one region of a large page
cor_inspect
Ranked, graded locators for the elements you name
cor_click
Click on the page and report what changed
cor_fill
Fill a field and report what changed
cor_press
Press a key and report what changed
cor_check
Fail any locator in your files that did not come from COR
cor_grade
Score a locator you wrote yourself
cor_heal
Propose a repair for a locator that stopped matching
cor_close
Close the browser

What it does

Ranked, graded locators
Returns several locators per element with a quality grade.
Framework-aware output
Infers Playwright, Cypress or WebdriverIO and your locator store style.
Locator check
cor_check fails locators in your files that did not come from COR.
Self-grading
cor_grade scores a locator you wrote yourself.
Locator repair
cor_heal proposes a fix for a locator that stopped matching.
Browser actions
Click, fill and press, reporting what changed on the page.

Good for

  • Author Playwright tests with stable locators
  • Repair broken selectors after a UI change
  • Enforce that all locators in a repo are generated and graded
  • Write page-object locators for a login form

Pricing

Open source

Free npm package; licence not published

MCP FAQ

What does it need?

Node 18+ and Google Chrome, Microsoft Edge or Playwright's Chromium.

Which test frameworks are supported?

Playwright, Cypress and WebdriverIO, set through cor.config.js or inferred.

Does it edit my files?

No. The agent places each entry; COR only writes records under .cor/records.

Can I turn off the records?

Yes, use --no-records or set COR_RECORDS=off.

Is MCP free?

Yes. MCP is open source, so you can use and self-host it for free.

How do I add MCP to Claude Code?

Run this command in your terminal: claude mcp add mcp -- npx -y @corlabsdev/mcp

What are the best alternatives to MCP?

The closest alternatives to MCP are REA, Browser Use, Scrapling MCP Server, Context7 and Chrome DevTools MCP.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers