Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

playwright-mcp fails to load via MCP Registry

Open juanluisbujeda opened this issue 8 months ago • 3 comments

Before opening, please confirm:

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

  1. Configure ~/.kiro/settings/mcp.json: { "mcpServers": { "playwright-mcp": { "type": "registry" } } }
  2. Clean all caches: npm cache clean --force rm -rf ~/Library/Caches/ms-playwright npm uninstall -g @playwright/mcp
  3. Install Playwright browsers: npx playwright install chromium
  4. Start kiro-cli chat
  5. 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 })

juanluisbujeda avatar Mar 27 '26 19:03 juanluisbujeda

I’ve been testing several MCPs and all of them fail — I’ve tried Datadog, Atlassian, Playwright, Figma, …

juanluisbujeda avatar Mar 27 '26 19:03 juanluisbujeda

🤖 Potential Duplicate Detected

This issue appears to be similar to:

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

github-actions[bot] avatar Mar 27 '26 19:03 github-actions[bot]

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.

github-actions[bot] avatar Mar 31 '26 00:03 github-actions[bot]