Bug Description:
I added the local server-filesystem mcp server via:
"ai-features.mcp.mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/home/test/temp"
],
"autostart": false
}
},
On starting the mcp server, I see a lot of those messages:
2025-11-19T14:02:25.012Z root ERROR Error while trying to get tools: ZodError: [
{
"code": "invalid_literal",
"expected": "object",
"path": [
"tools",
0,
"inputSchema",
"type"
],
"message": "Invalid literal value, expected \"object\""
},
It seems to not happen for other mcp servers.
Steps to Reproduce:
- Checkout the Theia sources from Git
- Build and Start the browser app
- Add the server-filesystem mcp server as shown above
- Start the mcp server
Additional Information
Interestingly in my development environment for a Theia based application, based on Theia 1.66.2 this issue does not happen. But there I am in a devcontainer. The issue happens locally on Windows 11 directly or in a Windows Ubuntu WSL.
I already tried to update the @modelcontextprotocol/sdk version for verification, but with no effect.
- Operating System: Windows 11 / Ubuntu 20.02 WSL
- Theia Version: Current codebase
Bug Description:
I added the local server-filesystem mcp server via:
On starting the mcp server, I see a lot of those messages:
It seems to not happen for other mcp servers.
Steps to Reproduce:
Additional Information
Interestingly in my development environment for a Theia based application, based on Theia 1.66.2 this issue does not happen. But there I am in a devcontainer. The issue happens locally on Windows 11 directly or in a Windows Ubuntu WSL.
I already tried to update the @modelcontextprotocol/sdk version for verification, but with no effect.