Description
Description of the problem
I consistently encounter a "Failed to create client" error when attempting to use Playwright-MCP. The error occurs immediately after installation and when trying to initialize the MCP server. Despite multiple attempts and configuration changes, the error persists, preventing me from using Playwright automation capabilities through MCP.
Environment details
OS: Windows 10 (Version 10.0.22631)
Shell: PowerShell (C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe)
Recently installed packages:
@modelcontextprotocol/sdk
@smithery/sdk
Editor/IDE: Cursor v 0.50.7
Steps to reproduce
Install Playwright-MCP using npm: npm install @playwright/mcp@latest
Configure MCP server in the appropriate configuration file
Attempt to initialize or connect to the MCP server
Immediately receive "Failed to create client" or "Client closed" error
Configuration used
Apply
What I've tried so far
Removing the @latest tag and using a specific version
Reinstalling all packages and dependencies
Checking for proper Node.js installation and version
Verifying all path configurations
Running with administrator privileges
Clearing and recreating the configuration file
Additional information
The error occurs consistently regardless of configuration changes
No additional error details or logs are provided beyond "Failed to create client" or "Client closed"
The issue appears similar to reported problems in devcontainers, though I'm not using a devcontainer environment
All other MCP servers/tools function normally on my system
Expected behavior
The Playwright-MCP server should initialize successfully, allowing me to automate browser interactions through the Model Context Protocol.
Any assistance in resolving this issue would be greatly appreciated. Please let me know if you need any additional information or logs to help diagnose the problem.