Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server fails completey silently when mcp.json entry uses ${workspaceFolder} #243526

Closed
connor4312 opened this issue Mar 14, 2025 · 3 comments · Fixed by #243915
Closed

Server fails completey silently when mcp.json entry uses ${workspaceFolder} #243526

connor4312 opened this issue Mar 14, 2025 · 3 comments · Fixed by #243915
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug chat-mcp insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Milestone

Comments

@connor4312
Copy link
Member

@digitarald: STR: Add mcp for memory tool

    "Memory": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-memory"],
      "env": {
        "MEMORY_FILE_PATH": "${workspaceFolder}/.vscode/memory.json"
      }
    },

🐛 Server Start/Output is a noop without any UI feedback.

DevTools:

Variable ${workspaceFolder} can not be resolved. Please open a folder.: CodeExpectedError: Variable ${workspaceFolder} can not be resolved. Please open a folder.
    at u (
@connor4312 connor4312 added bug Issue identified by VS Code Team member as probable bug chat-mcp labels Mar 14, 2025
@connor4312 connor4312 self-assigned this Mar 14, 2025
@connor4312 connor4312 added this to the March 2025 milestone Mar 17, 2025
@vs-code-engineering vs-code-engineering bot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Mar 19, 2025
@meganrogge
Copy link
Contributor

@connor4312 seeing the same when I try this

Image

@meganrogge meganrogge reopened this Mar 27, 2025
@meganrogge meganrogge added the verification-found Issue verification failed label Mar 27, 2025
@vs-code-engineering vs-code-engineering bot removed the insiders-released Patch has been released in VS Code Insiders label Mar 27, 2025
@meganrogge
Copy link
Contributor

actually, looks like now we just surface that error, is that the fix?

@meganrogge meganrogge added insiders-released Patch has been released in VS Code Insiders verified Verification succeeded and removed verification-found Issue verification failed labels Mar 27, 2025
@meganrogge
Copy link
Contributor

works for me, was in my user vs workspace settings before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug chat-mcp insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants