MCP Server (Node.js MySQL) Not Working in Cursor 0.47.7 - Need Assistance

I’m trying to set up a MySQL MCP Server using the enemyrr/mcp-mysql-server (Node.js-based) in Cursor IDE (version 0.47.7), but it doesn’t seem to work. After configuring the mcp.json file and saving it, the MCP Server does not start, and I don’t see the expected green dot indicating it’s running. I’m seeking advice on how to troubleshoot and resolve this issue.

Steps I’ve Taken:

  1. Cloned the enemyrr/mcp-mysql-server repository and installed dependencies with npm install.
  2. Built the project with npm run build to generate the build/index.js file.
  3. Created a .cursor/mcp.json file with the following configuration:
{
  "servers": [
    {
      "name": "mysql_mcp_node",
      "type": "command",
      "command": "node",
      "arguments": [
        "D:\\mcp-mysql-server\\build\\index.js"
      ],
      "environment": {
        "DATABASE_URL": "mysql://root:[email protected]:3306/sys"
      }
    }
  ]

4.Ensured Node.js is installed (version 18.x) and verified with node -v.
5. Tested MySQL connectivity manually with mysql -u root -p -h 192.168.1.126 -P 3306, and it works fine.
6. Restarted Cursor IDE after saving the mcp.json file.
7. Checked the terminal in Cursor, but no specific error logs are visible.


What might be causing the MCP Server to fail to start in Cursor?

I have the exact issue, however I had build several mcp servers over the past couple of weeks. After the update and cursor changed the mcp to a json file allowing for project and global mcp servers, mine won’t load correctly. If I try to just add a new one (global), it opens my already properly configured mcp.json located in my users/myuserid/.cursor/

Cursor, this is very strange. can you help resolve this? It’s like there is an incorrect path for the connection even though the “add new global MCP server” button opens the mcp.json file that was working yesterday.

Interesting. I am so glad I found this. I am having the same issue.

I am on a windows computer just for reference.

I’m slowly losing my marbles with MCP install.

I am trying to install this…

I have watched countless videos online and can’t see an interface that matches this one.

The blue button on other computers is:

Is it because I am on a windows computer? I have followed steps to do it manually and placed a .cursor file in main user and installed what I believe is this MCP. servers/src/filesystem at main · modelcontextprotocol/servers · GitHub

However when I click on the blue button on my interface all i get to is this…

I’v the same issues =/