Skip to content

Failed to connect to MCP servers in v3.23.6: TypeError: Cannot assign to read only property 'all' of object '[object Array]' #5591

Open
@AlgoOy

Description

@AlgoOy

App Version

v3.23.6

API Provider

OpenAI Compatible

Model Used

N/A

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

Setup:

OS: macOS (inferred from log file paths)
VS Code Extension: Roo Cline v3.23.6
Actions to trigger the bug:

Install and enable the Roo Cline v3.23.6 extension in Visual Studio Code.
Start or reload VS Code. The extension automatically attempts to initialize its connections to the MCP servers upon startup.
Result:

The extension's initialization process fails.
Multiple error notifications appear, indicating a failure to connect to various MCP servers (Playwright, Tavily, context7, etc.).
The extension's developer console is filled with the same repeating TypeError.

For example:
2025-07-11 14:37:34.120 [error] [Window] [Extension Host] Failed to connect to new MCP server @xxx/mcp: TypeError: Cannot assign to read only property 'all' of object '[object Array]'
at bUr.exports (/Users/xxx/.vscode/extensions/rooveterinaryinc.roo-cline-3.23.6/dist/extension.js:518:112099)
at new Dd (/Users/xxx/.vscode/extensions/rooveterinaryinc.roo-cline-3.23.6/dist/extension.js:518:124974)
at new CBe (/Users/xxx/.vscode/extensions/rooveterinaryinc.roo-cline-3.23.6/dist/extension.js:2828:19800)
at HBe.connectToServer (/Users/xxx/.vscode/extensions/rooveterinaryinc.roo-cline-3.23.6/dist/extension.js:2842:985)
at HBe.updateServerConnections (/Users/xxx/.vscode/extensions/rooveterinaryinc.roo-cline-3.23.6/dist/extension.js:2842:7034)
at HBe.initializeMcpServers (/Users/xxx/.vscode/extensions/rooveterinaryinc.roo-cline-3.23.6/dist/extension.js:2841:851)
at HBe.refreshAllConnections (/Users/xxx/.vscode/extensions/rooveterinaryinc.roo-cline-3.23.6/dist/extension.js:2842:9744)
at V$t (/Users/xxx/.vscode/extensions/rooveterinaryinc.roo-cline-3.23.6/dist/extension.js:5358:18964)

💥 Outcome Summary

Expected MCP server run, but got a lots of TypeError

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs InfoMissing details or unclear. Waiting on author to provide more context.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Issue [Needs Info]

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions