BrowserTools v1.2.0 : Windows + Cursor Installation Brute Force Guide 😅 #102
sarvesh-astrophile
started this conversation in
General
Replies: 2 comments 2 replies
-
thanks man, but i think it is broken for mac cursor 0.47 as well. do you have any guide for this? |
Beta Was this translation helpful? Give feedback.
1 reply
-
the chrome extension shows the BrowserTools MCP 1.2.0 error, Error validating server identity: TypeError: Failed to fetch |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
This step-by-step guide will help you set up BrowserTools MCP on your Windows system, allowing Cursor IDE to interact with your browser. With this setup, your AI coding assistant can access browser information like console logs, network requests, and even take screenshots.
This guide is based on the excellent contribution by SDJINC from this GitHub discussion. Thank you for creating and sharing this helpful resource with the community.
Special thanks to the Agent Desk AI Team for creating this powerful tool.
What is BrowserTools MCP?
BrowserTools MCP creates a connection between your browser and Cursor IDE, giving your AI assistant the ability to:
Prerequisites
Before starting, ensure you have:
Installation Guide
Step 1: Download the Repository
Step 2: Build the Components
We need to build both server components:
First, build the MCP server:
Next, build the middleware server:
Step 3: Install the Chrome Extension
chrome://extensions/
Step 4: Configure Cursor
Open Cursor IDE
Go to Settings (gear icon)
Navigate to Features
Scroll down to MCP
Click "Add new Global MCP server" with these settings:
Running BrowserTools MCP
Step 1: Start the MCP Server
C:\path\to
with your actual path.Step 2: Start the Middleware Server
C:\path\to
with your actual path and usenode
notnpx
Step 3: Set Up Chrome DevTools
Step 4: Activate in Cursor
Testing Your Setup
To verify everything is working:
In Chrome DevTools Console tab, type and run:
In Cursor, ask your AI assistant:
The assistant should respond with your test message.
Try a screenshot command by asking:
Troubleshooting
Path Issues
Windows paths can cause configuration problems. Make sure to:
Connection Issues
If Cursor can't connect to the browser:
Conclusion
Special thanks to @sarvsh_twt for contributing to this beginner-friendly guide and adding some humor to make the installation process more enjoyable!
Beta Was this translation helpful? Give feedback.
All reactions