Cursor MCP Browser Tools Connection Issue
Environment
- OS: Windows 11 (23H2)
- Cursor Version: 0.478
- Package Versions:
- @agentdeskai/browser-tools-server: 1.2.1
- @agentdeskai/browser-tools-mcp: 1.2.1
Configuration
MCP Configuration (~/.cursor/mcp.json
):
{
"mcpServers": {
"browser-tools": {
"command": "node",
"args": [
"C:\\Users\\myltj\\AppData\\Roaming\\npm\\node_modules\\@agentdeskai\\browser-tools-mcp\\dist\\mcp-server.js"
],
"env": {
"BROWSER_TOOLS_PORT": "3025"
}
}
}
}
Issue Description
-
Server Status:
- browser-tools-server starts normally (port 3025)
- Successfully receives browser logs
- MCP tool
browser-tools
shows as Enabled in Cursor
-
Functionality Issues:
- MCP function calls (e.g., getConsoleLogs) remain in “generating” state
- No actual response from MCP function calls
Attempted Solutions
-
Installed required packages as per documentation:
npm install -g @agentdeskai/browser-tools-server npm install -g @agentdeskai/browser-tools-mcp
-
Followed correct startup sequence:
- Start browser-tools-server first
- Confirm server is running normally
- Then launch Cursor
-
Verified configuration file format and path existence
Expected Behavior
- MCP functions should respond normally
- Should be able to retrieve browser console logs, network requests, and other information
Steps to Reproduce
- Start browser-tools-server:
npx @agentdeskai/browser-tools-server
- Server shows normal startup on port 3025
- Launch Cursor
- Attempt to use MCP functions (e.g., getConsoleLogs)
- Function call remains in “generating” state
Additional Information
- Server log output
- Screenshot of MCP panel in Cursor