mcp MCP Server
Scored, maintainable locators from a live page for AI coding agents, with checks and repairs.
mcp scores 56 (Fair), with no SPDX license recorded and written in HTML. It installs as a local process. It declares 7 tools. Filed under Browser automation. GitHub shows 0 stars. Package registries report about 281 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
56 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade A
87/100 for listing completeness. Lost points: 1 of 7 tools barely described, short summary, no docs link.
How quality is graded
Where the 56 comes from
22 + 20 + 0 + 0 + 4 + 10 = 56. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "kushshah12-cor-mcp": { "command": "npx", "args": [ "-y", "@corlabsdev/mcp@0.1.7" ] } }}
Environment variables
This server does not declare environment variables.
Tools7Tool docs quality grade D
All capabilitiescor_checktoolFail any locator in your files that did not come from COR
cor_closetoolClose the browser
cor_gradetoolScore a locator you wrote yourself
cor_healtoolPropose a repair for a locator that stopped matching
cor_inspecttoolRanked, graded locators for the elements you name, as entries to place in your code
cor_opentoolOpen a page; lists its controls with refs
cor_snapshottoolText, controls and entries within one region of a large page
About
@corlabsdev/mcp
An MCP server that lets a coding agent open a page, pick an element, and get ranked, graded locators for it in the test framework you use.
More at corlabs.dev.
Install
Requires Node 18+ and Google Chrome (Microsoft Edge, or Playwright's Chromium, also work). Nothing is installed globally: your agent runs the server with npx.
One command. Run this in your project:
npx @corlabsdev/mcp setup --source readme
It finds Claude Code, Cursor, VS Code and Codex, asks before each change, and adds COR pinned to the current version. Running it again changes nothing. If Playwright MCP is set up too, it offers to switch it off in Claude Code (the entry stays, re-enable from /mcp). In the other clients it warns instead. Use --yes to accept without prompts; --yes never switches Playwright off.
By hand. Every client runs the same command, npx -y @corlabsdev/mcp.
Claude Code
claude mcp add cor -- npx -y @corlabsdev/mcp
To share it with your team, put it in .mcp.json at the project root instead:
{ "mcpServers": { "cor": { "command": "npx", "args": ["-y", "@corlabsdev/mcp"] } } }
GitHub Copilot (VS Code) — create .vscode/mcp.json (or run MCP: Add Server from the Command Palette):
{ "servers": { "cor": { "type": "stdio", "command": "npx", "args": ["-y", "@corlabsdev/mcp"] } } }
Then open Copilot Chat, switch to Agent mode, and enable cor in the tools list.
Codex (CLI and IDE extension)
codex mcp add cor -- npx -y @corlabsdev/mcp
or add this to ~/.codex/config.toml:
[mcp_servers.cor]
command = "npx"
args = ["-y", "@corlabsdev/mcp"]
Cursor — .cursor/mcp.json, and Claude Desktop — claude_desktop_config.json:
{ "mcpServers": { "cor": { "command": "npx", "args": ["-y", "@corlabsdev/mcp"] } } }
Any other MCP client: register a stdio server whose command is npx with arguments -y @corlabsdev/mcp.
Restart the client (or reload the window), then ask your agent to open your page: "Use COR to open https://example.com/login and write the locators for the sign-in form."
If no browser is found the server says so; install Chrome, or run npx playwright-core install chromium.
Options (append to args, or after -- in claude mcp add):
| Flag | Effect |
|---|---|
--headless | Run the browser without a window (default: visible) |
--idle-minutes <n> | Close the browser after n idle minutes |
--no-records | Write no entry records into your project (see below) |
--source <name> | Where this install came from, sent with mcp_session_started (see Telemetry) |
Tools
| Tool | Does |
|---|---|
cor_open | Open a page; lists 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, as entries to place in your code |
cor_click, cor_fill, cor_press | Act on the page 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 |
Workflow
cor_openthe page, thencor_inspectevery element the test touches, in one call.- Place each entry as given, its
// COR cor:…comment included, in the file it names. - Run
cor_checkbefore the tests. When a test breaks on a locator,cor_gradeit andcor_healif it is broken.
Updating
npx -y @corlabsdev/mcp runs the latest version each time it starts. To pin one, use npx -y @corlabsdev/mcp@0.1.0.
Setup: COR as the only browser tool
Configure COR MCP instead of Playwright MCP for test authoring, not alongside it: COR drives the browser (open, click, fill, press), returns locators as entries for your locator files, checks them (cor_check) and repairs them (cor_heal). With a second browser server attached, an agent falls back to its snapshots and types its own selectors — which cor_check will then fail.
Settings are optional. COR infers your test framework and conventions from the repo; to override them, add a cor.config.js at the project root. framework names the test framework and the rest go under locators. Every field is optional; cor_open reports what was inferred and what was overridden:
module.exports = {
framework: 'playwright', // 'playwright' | 'cypress' | 'webdriverio'
locators: {
order: 'framework', // 'framework' (default: each framework's published guidance, after uniqueness) or 'testid-first'
testIdAttribute: 'data-test', // what getByTestId reads (default: playwright.config's testIdAttribute, else data-testid)
store: 'page-object-class', // 'page-object-class' | 'constants' | 'json' | 'yaml'
storeDir: 'tests/pages',
},
}
Entry records: what is written inside your project
Every cor_inspect that recommends a locator also gives it an entry: the code to place in your locator file, the file and member it belongs in, and a comment carrying a short id, // COR cor:7f3a2c · … (in a YAML map, # COR cor:…). Keep that comment: cor_check uses the id to tell COR's locators from typed ones, and a later repair uses it to find what the locator pointed at. COR never edits your files — the agent places the entry.
Where: .cor/records/<id>.json in your project root (where your test framework's package.json is), one small file per element. Inspecting the same element again reuses its id and refreshes its file. For a JSON locator map, which cannot hold comments, COR also keeps .cor/ids.json ("file#key": "id") — it never adds keys to your map.
Commit them. They are how a repair works on a teammate's machine or in a CI checkout: the id travels in your code and the record travels with the repo. Add .cor/records/ to .gitignore if you would rather keep them on one machine.
What each record holds: the page (origin and path, masked), the element's position as a tag path, the entry's member name, the element's fingerprint — its tag; aria-label, aria-labelledby, name, placeholder, type, role, title, alt, href, for if present; up to 80 characters of its own text; its first five class names — and up to 12 locators ranked for it, stored as data ({ "kind": "testId", "value": "[data-test=\"…\"]" }), not as code to paste. COR never shows a record's contents to the agent.
What is never stored: what anyone typed into a field (input values), cookies, local storage, or anything from a storage-state file you pass to cor_open.
Masking. On an authenticated page the fields above can contain account data, so before anything is written:
| Found in text, attributes, classes or locators | Stored as |
|---|---|
| an email address | [email] |
| a run of 6 or more digits (order numbers, phone and card numbers; spaces and dashes allowed) | [number] |
| a long string of 24+ mixed letters and digits (tokens, session ids) | [token] |
the query string or fragment of an href | removed |
Short numbers and ordinary words are kept, because a heal needs them ("Step 2", "Qty 12", "Pay now"). Values are masked, not hashed. A heal compares stored values with the live page as plain text, so a hashed value could never match again.
Turning it off: start the server with --no-records or set COR_RECORDS=off (the old --no-fingerprints / COR_FINGERPRINTS=off still work): no record is written; entries still carry an id, and cor_check then checks ids for presence only. The ~/.cor/fingerprints/ store of earlier versions is no longer written or read; deleting it is safe.
Telemetry: anonymous usage metrics
The server sends anonymous usage metrics to help us see how COR is installed and used. Three events:
mcp_installed, once per install, on the first start: package version, Node version, OS platform.$mcp_initialize, once per agent connection: the client's own name and version (for exampleclaude-code,2.1.0), the server name and version, a random session ID for this connection, whether a CI variable is set (ci), whether it runs in a Docker container (container), andsource(the--sourcevalue, orunknown).$mcp_tool_call, once per tool call: tool name, duration in milliseconds, outcome (ok,tool_error,exception, ortimeout), whether it failed, and on failure a fixed error type (validation,missing_context,timeout,internal, orError), plus the same session, client, server and source fields.
The two $mcp_ events follow PostHog MCP Analytics naming. Tool arguments, tool results and the agent's reasoning are not sent. Versions before 0.1.9 sent mcp_session_started and mcp_tool_called instead.
Each install has a random anonymous ID, stored in ~/.cor/install-id. The first start prints one line on stderr saying so. Like any web request, each event reaches PostHog from your IP address, which PostHog uses to estimate city and country.
Never sent: page URLs or origins, element text, locators, file paths, input values, cookies, storage, record contents, tool arguments or results, error message text, or any email address. Every field is listed in the code (src/telemetry.js), and nothing else is added. setup sends nothing.
Turning it off: set COR_TELEMETRY=off (or COR_OFFLINE=true, which stops all outbound data). Nothing is sent and no ID file is written.
Frequently asked questions
What is mcp MCP Server?
Scored, maintainable locators from a live page for AI coding agents, with checks and repairs.
How do I install mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mcp MCP Server runs locally from the npm package @corlabsdev/mcp with the command npx -y @corlabsdev/mcp@0.1.7.
Does mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does mcp MCP Server provide?
mcp MCP Server provides 7 tools, including cor_check, cor_close, cor_grade, and cor_heal. See the full tool list for descriptions and parameters.
How is mcp MCP Server's trust score calculated?
mcp MCP Server scores 56 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
