"Add MCP Server" > "Add by MCP.json" raises error when no mcp.json file exist
As a new user, when I click "Add MCP Server" > "Add by MCP.json", an error message appears, that the mcp.json file doesn't exist.
Expected Behavior
I would expect one of these options:
When no ~/.aitk/mcp.json file exists ...
- (either) ... create empty
mcp.jsonfile when selecting "Add by MCP.json" - (or) ... hide option "Add by MCP.json" from "Add MCP Server" list
Experienced Behavior
Steps:
- Press "Add MCP Server" in the "MCP WORKFLOW" section
- Select first option "Add by MCP.json"
Error message appears:
[error] cannot open vscode-remote://wsl%2Bubuntu-22.04/home/user/.aitk/mcp.json. Detail: Unable to read file 'vscode-remote://wsl+ubuntu-22.04/home/user/.aitk/mcp.json' (Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu-22.04/home/user/.aitk/mcp.json')
My ~/aitk directory looks like this:
📁 .aitk/
├── 🗒️ 20251012-2682-ext.log
├── 🗒️ '20251012 024048-openai.service.log'
├── 📁 evals/
├── 📁 models/
└── 📁 prompts/
I have never used the MCP Workflow before, no mcp.json file exists yet.
Sys infos:
- ms-windows-ai-studio.windows-ai-studio 0.22.1
- VS Code 1.104.3
- Host OS: Windows_NT x64 10.0.22631
- WSL OS: Ubuntu 22.04.5 LTS
Thank you for bringing this issue to our attention. We will fix it in the next release.