Chrome DevTools for coding agents
docs: improve Cursor install instructions (#58)
Sebastian Benz8ce4888611cd
diff --git a/.prettierrc.cjs b/.prettierrc.cjsindex 16a1c6ff..b1741335 100644--- a/.prettierrc.cjs+++ b/.prettierrc.cjs@@ -14,4 +14,5 @@ module.exports = {arrowParens: 'avoid',singleAttributePerLine: true,htmlWhitespaceSensitivity: 'strict',+ endOfLine: 'lf',};diff --git a/README.md b/README.mdindex ce545a39..16cbf7b8 100644--- a/README.md+++ b/README.md@@ -77,7 +77,15 @@ claude mcp add chrome-devtools npx chrome-devtools-mcp@latest<details><summary>Cursor</summary>- Follow https://docs.cursor.com/en/context/mcp#using-mcp-json and use the config provided above.++**Click the button to install:**++[<img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Install in Cursor">](https://cursor.com/en/install-mcp?name=chrome-devtools&config=eyJjb21tYW5kIjoibnB4IGNocm9tZS1kZXZ0b29scy1tY3BAbGF0ZXN0In0%3D)++**Or install manually:**++Go to `Cursor Settings` -> `MCP` -> `New MCP Server`. Use the config provided above.+</details><details>diff --git a/package.json b/package.jsonindex 4a6c3869..5dd92bcd 100644--- a/package.json+++ b/package.json@@ -10,8 +10,8 @@"scripts": {"build": "tsc && node --experimental-strip-types scripts/post-build.ts","typecheck": "tsc --noEmit",- "format": "eslint --cache --fix . ;prettier --write --cache .",- "check-format": "eslint --cache .; prettier --check --cache .;",+ "format": "eslint --cache --fix . && prettier --write --cache .",+ "check-format": "eslint --cache . && prettier --check --cache .;","docs": "npm run build && npm run docs:generate && npm run format","docs:generate": "node --experimental-strip-types scripts/generate-docs.ts","start": "npm run build && node build/src/index.js",