Skip to content

mcp/playwright error - "npx" not a valid command #1301

Description

@Harvester62

Which version of LM Studio?
LM Studio 0.3.34 (build 1)

Which operating system?
Windows 11 Pro 25H2 26200.7171

What is the bug?
The Playwright MCP plugin doesn't load due to the "npx" not being recognized as a valid command.

Screenshots

Image Image

Logs
2025-12-13 00:39:04 [ERROR]
[Plugin(mcp/playwright)] stderr: "npx" non � riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
2025-12-13 00:39:04 [ERROR]
[Plugin(mcp/playwright)] stderr: Error in LM Studio MCP bridge process: _0x6483 [McpError]: MCP error -32000: Connection closed
at _0xea4460._onclose (C:\Program Files\LM Studio\resources\app.webpack\lib\mcpbridgeworker.js:29:237914)
at . [as onclose] (C:\Program Files\LM Studio\resources\app.webpack\lib\mcpbridgeworker.js:29:236691)
at ChildProcess. (C:\Program Files\LM Studio\resources\app.webpack\lib\mcpbridgeworker.js:29:211822)
at ChildProcess.emit (node:events:519:28)
at _0x1caee0. [as emit] (C:\Program Files\LM Studio\resources\app.webpack\lib\mcpbridgeworker.js:1:191158)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: -32000,
data: undefined
}
2025-12-13 00:39:04 [ERROR]
[Plugin(mcp/playwright)] stderr: _0x6483 [McpError]: MCP error -32000: Connection closed
at _0xea4460._onclose (C:\Program Files\LM Studio\resources\app.webpack\lib\mcpbridgeworker.js:29:237914)
at . [as onclose] (C:\Program Files\LM Studio\resources\app.webpack\lib\mcpbridgeworker.js:29:236691)
at ChildProcess. (C:\Program Files\LM Studio\resources\app.webpack\lib\mcpbridgeworker.js:29:211822)
at ChildProcess.emit (node:events:519:28)
at _0x1caee0. [as emit] (C:\Program Files\LM Studio\resources\app.webpack\lib\mcpbridgeworker.js:1:191158)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: -32000,
data: undefined
}

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions