<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ollie Chapple</title>
    <description>The latest articles on DEV Community by Ollie Chapple (@ochapple).</description>
    <link>https://dev.to/ochapple</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3558679%2F47c2a69b-80e0-42ff-aa1a-7065937addc7.jpeg</url>
      <title>DEV Community: Ollie Chapple</title>
      <link>https://dev.to/ochapple</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ochapple"/>
    <language>en</language>
    <item>
      <title>Supercharge Cursor IDE with Chrome DevTools MCP — Real Browser Debugging for Your AI Assistant</title>
      <dc:creator>Ollie Chapple</dc:creator>
      <pubDate>Sat, 11 Oct 2025 07:21:00 +0000</pubDate>
      <link>https://dev.to/ochapple/supercharge-cursor-ide-with-chrome-devtools-mcp-real-browser-debugging-for-your-ai-assistant-39l7</link>
      <guid>https://dev.to/ochapple/supercharge-cursor-ide-with-chrome-devtools-mcp-real-browser-debugging-for-your-ai-assistant-39l7</guid>
      <description>&lt;h1&gt;
  
  
  🧠 Supercharge Cursor IDE with Chrome DevTools MCP — Real Browser Debugging for Your AI Assistant
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;Connect Cursor IDE directly to Chrome DevTools via MCP.&lt;br&gt;&lt;br&gt;
Give your AI assistant real eyes — inspect live DOMs, capture network traces, run Lighthouse audits, and debug performance issues without ever leaving Cursor.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Why This Matters
&lt;/h2&gt;

&lt;p&gt;Cursor IDE is powerful, but until now it’s been &lt;em&gt;blind&lt;/em&gt; to the running browser.&lt;br&gt;&lt;br&gt;
By integrating the &lt;strong&gt;Chrome DevTools MCP server&lt;/strong&gt;, you connect Cursor’s Model Context Protocol directly to the &lt;strong&gt;Chrome DevTools Protocol&lt;/strong&gt; — the same interface Chrome engineers use.&lt;/p&gt;

&lt;p&gt;This lets your AI assistant:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Debug live pages
&lt;/li&gt;
&lt;li&gt;Inspect DOM and styles
&lt;/li&gt;
&lt;li&gt;Capture console logs and network requests
&lt;/li&gt;
&lt;li&gt;Run Lighthouse audits and Core Web Vitals
&lt;/li&gt;
&lt;li&gt;Test responsive layouts and accessibility
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Before MCP: static code reasoning.&lt;br&gt;&lt;br&gt;
After MCP: &lt;strong&gt;real-time browser debugging&lt;/strong&gt;.&lt;/p&gt;


&lt;h2&gt;
  
  
  🚀 Easiest Install (Cursor Does It for You)
&lt;/h2&gt;

&lt;p&gt;If you’re using &lt;strong&gt;Cursor IDE&lt;/strong&gt;, you can simply &lt;strong&gt;ask Cursor to install &amp;amp; configure the Chrome DevTools MCP&lt;/strong&gt;. Cursor will do the heavy lifting &lt;strong&gt;as long as you grant Full Disk Access&lt;/strong&gt; (macOS) and provide the DevTools MCP package link.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Paste this in Cursor chat:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;“Install the **Chrome DevTools MCP&lt;/em&gt;* and enable it for me.&lt;br&gt;&lt;br&gt;
Grant any required permissions.&lt;br&gt;&lt;br&gt;
Use the official package &lt;strong&gt;chrome-devtools-mcp&lt;/strong&gt; and add it to my MCP servers.&lt;br&gt;&lt;br&gt;
If needed, update &lt;code&gt;settings.json&lt;/code&gt; and restart Cursor.”*&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;On macOS, ensure &lt;strong&gt;System Settings → Privacy &amp;amp; Security → Full Disk Access → Cursor = ON&lt;/strong&gt;.
&lt;/li&gt;
&lt;li&gt;Cursor will install the MCP and wire up your &lt;code&gt;settings.json&lt;/code&gt;.
&lt;/li&gt;
&lt;li&gt;You can immediately run DevTools commands (see prompts below).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Don’t want to grant Full Disk Access?&lt;/strong&gt; No problem — use the &lt;strong&gt;Manual Setup&lt;/strong&gt; below.&lt;/p&gt;


&lt;h2&gt;
  
  
  ⚙️ Manual Setup (no Full Disk Access)
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Prereqs
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Node.js &lt;strong&gt;v20+&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;npm&lt;/li&gt;
&lt;li&gt;Cursor IDE &lt;strong&gt;v1.7.38+&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Chrome (stable/beta/dev/canary)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Where is &lt;code&gt;settings.json&lt;/code&gt; on each OS?
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;OS&lt;/th&gt;
&lt;th&gt;Path to &lt;code&gt;settings.json&lt;/code&gt;
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;macOS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;~/Library/Application Support/Cursor/User/settings.json&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Windows&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;%APPDATA%\Cursor\User\settings.json&lt;/code&gt; (usually &lt;code&gt;C:\Users\&amp;lt;you&amp;gt;\AppData\Roaming\Cursor\User\settings.json&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;~/.config/Cursor/User/settings.json&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;If the &lt;code&gt;User&lt;/code&gt; folder or &lt;code&gt;settings.json&lt;/code&gt; doesn’t exist, create them.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  1️⃣ Install the DevTools MCP server (manual)
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; chrome-devtools-mcp
chrome-devtools-mcp &lt;span class="nt"&gt;--version&lt;/span&gt;

2️⃣ Configure Cursor &lt;span class="o"&gt;(&lt;/span&gt;manual&lt;span class="o"&gt;)&lt;/span&gt;

Edit your Cursor settings:

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;{&lt;br&gt;
  "mcpServers": {&lt;br&gt;
    "chrome-devtools": {&lt;br&gt;
      "command": "chrome-devtools-mcp",&lt;br&gt;
      "args": []&lt;br&gt;
    }&lt;br&gt;
  }&lt;br&gt;
}&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
Alternative (auto-updating):

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;{&lt;br&gt;
  "mcpServers": {&lt;br&gt;
    "chrome-devtools": {&lt;br&gt;
      "command": "npx",&lt;br&gt;
      "args": ["-y", "chrome-devtools-mcp@latest"]&lt;br&gt;
    }&lt;br&gt;
  }&lt;br&gt;
}&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
3️⃣ Restart Cursor (manual)

Cursor will now launch Chrome on demand.

🧰 Tools

You can quickly open your Cursor settings file using:

macOS/Linux: ./tools/edit-settings.sh
Windows: ./tools/edit-settings.ps1

These scripts detect your OS path and open or create the settings.json file for editing.

💡 Example Prompts to Try

“Check performance metrics for https://myapp.com
 and suggest improvements.”

“Debug https://example.com
 for accessibility issues.”

“Take a mobile screenshot and highlight layout shifts.”

“Analyze network requests for https://github.com.”

Cursor will spin up Chrome, run DevTools commands, and return structured results.

⚡ Why This Is More Feature-Rich Than browser-tools-mcp

The open-source browser-tools-mcp proved the concept, but it’s a lightweight Puppeteer wrapper.
This integration is the full Chrome DevTools Protocol, supported by the Chrome DevTools team themselves.

| Capability                   | BrowserTools MCP  | Chrome DevTools MCP           |
| ---------------------------- | ----------------- | ----------------------------- |
| Maintainer                   | Community         | Official Chrome DevTools Team |
| Protocol                     | Puppeteer wrapper | Full DevTools Protocol        |
| Network tracing              | ❌                 | ✅                             |
| Lighthouse / Core Web Vitals | ❌                 | ✅                             |
| Console logs / JS errors     | ❌                 | ✅                             |
| Accessibility audit          | ❌                 | ✅                             |
| Responsive testing           | Basic             | Advanced                      |
| Stability                    | ⚠️                | 💪 Production-ready           |


You’re not just opening a page — you’re debugging it live.

🔬 Advanced Config

OS note: The settings.json location differs by OS (see table above).
Edit that file and restart Cursor after changes.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;{&lt;br&gt;
  "mcpServers": {&lt;br&gt;
    "chrome-devtools": {&lt;br&gt;
      "command": "chrome-devtools-mcp",&lt;br&gt;
      "args": ["--channel", "canary", "--viewport", "1280x720", "--headless"]&lt;br&gt;
    }&lt;br&gt;
  }&lt;br&gt;
}&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

Options:

--channel (stable/beta/dev/canary)

--viewport (e.g., 1280x720)

--headless (CI-friendly)

--browserUrl (attach to existing instance)

🤖 Let Cursor Create the GitHub Repo for You

If you want Cursor to create the public GitHub repo from this zip and push it for you, paste this in Cursor chat:

“Create a new public GitHub repository named chrome-devtools-mcp-cursor-guide.
Unzip the attached archive and initialise a git repo.
Add all files, create an initial commit, and push to GitHub (main branch).
Add topics: cursor, chrome-devtools, mcp, ai-development, web-performance.
Then reply with the repo URL.”

🧠 Security Note

The MCP exposes browser internals to the AI assistant.
Use isolated Chrome profiles, avoid authenticated sessions, and treat this as a real debugging bridge.

📦 Repository

👉 chrome-devtools-mcp-cursor-guide on GitHub

Includes:

Example settings.json

Prompts library

Headless CI scripts

Issue templates &amp;amp; workflow

Helper tools for all OSes

🚀 Conclusion

This integration turns Cursor into a true AI debugger:

Real browser context

Performance + accessibility insights

Live DOM and console inspection

Visual testing &amp;amp; network analysis

It’s production-ready, developer-tested, and free.

Cursor with Chrome Devtools MCP Integration by Oliver Chapple
 — expanding Cursor’s capabilities for modern AI-assisted web development.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>cursor</category>
      <category>chromedevtools</category>
      <category>mcp</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
