Getting MCP, Cursor, and WSL playing together [Updated 25/04/2025]
23 Apr 2025
For weeks I've been trying to get MCPs working in cursor on my windows laptop, where my code is running in WSL. I've cracked it, thanks to a friendly person on Reddit.

Here are the steps.

Make sure you have node installed on windows.

node -v

Install the NPM package for the MCP tool globally on windows

npm install -g @modelcontextprotocol/server-sequential-thinking

Find the root where your global windows NPM packages are installed

npm root -g

Work out the actual node executable

In this case for me it was:

C:\Program Files\nodejs\node_modules\@modelcontextprotocol\server-sequential-thinking\dist\index.js

Set up the cursor MCP config as follows

{
  "mcpServers": {
    "sequential-thinking": {
      "command": "node 'C:\\Program Files\\nodejs\\node_modules\\@modelcontextprotocol\\server-sequential-thinking\\dist\\index.js'"
    }
  }
}

Check that it's enabled.

Test it

MCP usage

Update

Next day, sequential-thinking didn't work, and I couldn't get the playwright MCP working through this method.

So I playaround a bit, and got this, which also means you install the packages globally on windows.

{
  "mcpServers": {
    "sequential-thinking": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "@modelcontextprotocol/server-sequential-thinking"
      ]
    },

    "browser-tool-mcp": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}

Get Updates

I don't post here frequently. So if you'd like me to let you know when I post something, subscribe below.

    I won't send you spam. You can unsubscribe at any time.

    RECENT POSTS

    Cursor running and fixing code

    I've recently started expanding my usage of Cursor to let it run commands, tests, etc and fix it's own issues. Here's my experience.