Playwright MCP no tools enabled Bug

Describe the Bug

I can’t use the playwright MCP tool. It says “0 tools enabled” and is red.

Steps to Reproduce

Add this to mcp.json: “{
“mcpServers”: {
“Playwright”: {
“command”: “npx @playwright/mcp@latest”,
“env”: {}
}
}
}”

Here are some of the errors from the MCP logs:
2025-07-22 10:04:41.168 [info] user-Playwright: Handling CreateClient action
2025-07-22 10:04:41.168 [info] user-Playwright: Starting new stdio process with command: npx @playwright/mcp@latest
2025-07-22 10:04:41.168 [info] user-Playwright: Handling ListOfferings action
2025-07-22 10:04:41.168 [error] user-Playwright: No server info found
2025-07-22 10:04:41.190 [error] user-Playwright: ‘npx’ is not recognized as an internal or external command,
operable program or batch file.

2025-07-22 10:04:41.192 [error] user-Playwright: Client error for command spawn npx ENOENT
2025-07-22 10:04:41.192 [info] user-Playwright: Client closed for command
Then check to see if the MCP serving is on with tools. It will be red and 0 tools are enabled.

Expected Behavior

The tools from the playwirght MCP should be enabled/

Screenshots / Screen Recordings


Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

cursor version 1.2.4

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

I just read this MCP setup on Windows (fix npx problem) - How To - Cursor - Community Forum

and following the steps there seemed to get rid of the npx error. But the mcp server still can’t be found. I’m not sure where it’s looking.
Current MCP logs:
2025-07-23 02:15:14.895 [info] user-Playwright: Handling ListOfferings action

2025-07-23 02:15:14.896 [error] user-Playwright: No server info found

2025-07-23 02:15:14.896 [info] user-Playwright: Handling CreateClient action

2025-07-23 02:15:14.896 [info] user-Playwright: Starting new stdio process with command: npx @playwright/mcp@latest

2025-07-23 02:15:14.896 [info] user-Playwright: Handling ListOfferings action

2025-07-23 02:15:14.896 [error] user-Playwright: No server info found

2025-07-23 02:15:15.451 [error] user-Playwright: The input line is too long.

The syntax of the command is incorrect.

2025-07-23 02:15:15.460 [info] user-Playwright: Client closed for command

2025-07-23 02:15:15.464 [info] user-Playwright: Handling ListOfferings action

2025-07-23 02:15:15.464 [error] user-Playwright: No server info found

2025-07-23 02:15:15.464 [info] user-Playwright: Handling ListOfferings action

2025-07-23 02:15:15.464 [error] user-Playwright: No server info found

Fixed it by adding the path to my node folder directly. Was using a batch script to do it before.

1 Like

hi @rae03 and welcome to Cursor Forum.

Thank you for catching the issue and solving it directly by yourself!
Appreciate the detailed report.

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