MCP Browser Tools functions stuck in generating state despite server running

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

  1. Server Status:

    • browser-tools-server starts normally (port 3025)
    • Successfully receives browser logs
    • MCP tool browser-tools shows as Enabled in Cursor
  2. Functionality Issues:

    • MCP function calls (e.g., getConsoleLogs) remain in “generating” state
    • No actual response from MCP function calls

Attempted Solutions

  1. Installed required packages as per documentation:

    npm install -g @agentdeskai/browser-tools-server
    npm install -g @agentdeskai/browser-tools-mcp
    
  2. Followed correct startup sequence:

    • Start browser-tools-server first
    • Confirm server is running normally
    • Then launch Cursor
  3. 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

  1. Start browser-tools-server:
    npx @agentdeskai/browser-tools-server
    
  2. Server shows normal startup on port 3025
  3. Launch Cursor
  4. Attempt to use MCP functions (e.g., getConsoleLogs)
  5. Function call remains in “generating” state

Additional Information

Could you check Developer Tools in Cursor and when you start a new chat if that same issues shows you a connection request to the server or not.

For most this wasnt related to MCP. but Generating means that the request was not able to be sent to the server.

Most users were able to go around this by restarting Cursor also myself.

Once 0.48 is out to all this should be also less frequent.

谢谢!
Here’s the translation into English:

“I have already tried using MCP functions (such as screenshot functionality), but function calls fail.
I have followed the suggestion to restart Cursor, but the problem still persists.
When I first discovered this issue with version 0.47, I downgraded to version 0.46 and it worked fine. After being upgraded to 0.47 again, it stopped working. It seems I will need to wait for version 0.48.”

Screenshots do not work via MCP. Thats a current limitation. Also a tool call failing is a different issue than ‘Generating’

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.