Does it work with remote SSH hosts in vs code? #1808
Replies: 2 comments 1 reply
|
Thanks for raising this. Your reading is correct for the current installer. On a Linux SSH host, CBM detects VS Code only when CBM itself can run on the remote host, but the VS Code MCP entry must point to the CBM binary installed on that host. The practical workaround is to install CBM remotely and add the server manually from the Remote SSH window, preferably as a workspace MCP configuration so the command is resolved and executed remotely. We should treat the missing remote-host detection or explicit force-install path as a real installer gap. Thanks for testing the setup and describing exactly where detection breaks. |
|
Thank you for the screenshots. Yes, Codebase Memory can run on the remote SSH host, but the MCP entry must be configured in the remote environment rather than only in the local VS Code profile. Install the binary on the remote host, then from the remote VS Code window run MCP: Open Remote User Configuration, or create {
"servers": {
"codebase-memory": {
"type": "stdio",
"command": "/absolute/remote/path/to/codebase-memory-mcp",
"args": [],
"cwd": "${workspaceFolder}"
}
}
}Then run MCP: List Servers and start or trust the entry. No additional local-side MCP configuration is needed for that remote workspace. Our installer currently detects the desktop VS Code user directory, and |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello, just trying to figure out, if codebase-memory-mcp also works for VS code when working with remote SSH hosts? (Using the vs code connect to SSH remote host option). My initial experimentation and research seems to suggest not. Or maybe there is a manual install method which will make that work? The problem I guess is that technically vs code is not installed on the remote host (only vscode-server) so it's not detected by the installer. Maybe a manual flag is needed for vs code in this situation, or it's just not designed to work in this situation?
Alternatively I guess I could install vs code on the remote host, and remotely connect to it, in order to use this tool. It looks interesting and I really wanted to try it.
Thanks!
All reactions