playwright-mcp fails to load via MCP Registry
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
macOS 26.0
Kiro Version
1.28.1
Bug Description
playwright-mcp consistently fails with error:
McpError(ErrorData { code: ErrorCode(-32002), message: "connection closed: initialize response", data: None })
Steps to Reproduce
- Configure ~/.kiro/settings/mcp.json:
{ "mcpServers": { "playwright-mcp": { "type": "registry" } } } - Clean all caches:
npm cache clean --force rm -rf ~/Library/Caches/ms-playwright npm uninstall -g @playwright/mcp - Install Playwright browsers:
npx playwright install chromium - Start kiro-cli chat
- Error appears: `✗ playwright-mcp has failed to load after 0.42 s
- Mcp error: -32002: connection closed: initialize response`
Expected Behavior
playwright-mcp should load successfully when configured via MCP Registry.
Conversation ID
No response
Additional Context
Logs
From $TMPDIR/kiro-log/kiro-chat.log:
ERROR chat_cli::cli::chat::tool_manager: Error loading server playwright-mcp: McpError(ErrorData { code: ErrorCode(-32002), message: "connection closed: initialize response", data: None })
I’ve been testing several MCPs and all of them fail — I’ve tried Datadog, Atlassian, Playwright, Figma, …
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #6122: Xcode MCP server loads successfully but tools are not available to the agent (85% similar)
- #5930: Kiro one-click service issues with MCP config content (85% similar)
- #5839: Kiro-cli MCP cliente fail listing resources (85% similar)
- #5452: MCP servers failing to load after Kiro CLI 1.25.0 update (Feb 4, 2026) (85% similar)
- #5020: AWS Serverless MCP Server fails to initialize - stdio connection closed error (85% similar)
- #4762: # Bug Report: MCP Configuration Cross-Platform Compatibility Issue (85% similar)
- #4717: HTTP-based MCP servers not loading tools into chat sessions (85% similar)
- #5873: MCP tools not injected into LLM tool list for workspace-defined agents (.kiro/agents/*.json) (82% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both issues involve MCP server loading problems - new issue has playwright-mcp failing to load with connection errors, existing issue has Xcode MCP server loading but tools not being available, indicating similar MCP integration failures
This issue has been automatically closed as it appears to be a duplicate of #6122.
If you believe this is incorrect, please comment on this issue and a maintainer will review it.