Skip to content

playwright-mcp fails to load via MCP Registry #6876

@juanluisbujeda

Description

@juanluisbujeda

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 })

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existspending-maintainer-responseIssue is pending a response from the Kiro team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions