MCP does not work with remote-ssh and extension installed in host side
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- postgresql, typescript, vscode
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
The problem sits where VS Code's remote.extensionKind setting decides which side runs the extension, and where the extension exposes its MCP tools to Copilot. Start from the extension's activation and MCP registration code, then reproduce with the extension forced to ui in a remote-ssh session. Done when the MCP tool appears in the available tools list while the extension runs on the host.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Failing to use MCP tool
I have installed the extension in both my host machine and in the remote-ssh VM I am using it, but because of glibc version incompatibility I added to my User Settings the following:
"remote.extensionKind": {
"ms-ossdata.vscode-pgsql": [
"ui"
]
},
That made the trick and I can use the extension in remote-ssh side, though when trying invoking the MCP tool
it doesn't seem available with the latest copilot harness, at a previous version of copilot after switching to local mode I could invoke it successfully.
This is what I see in the available tools:
To Reproduce
Steps to reproduce the behavior:
- Install the extension
- Configure it to work in vs-code host side
- Try using MCP tool
Expected behavior
MCP tool should be available even when extension is running on host
VS Code version
Version: 1.144.1 (system setup)
Commit: 261c84cb1eddf11235f9e2c921425e9663fbe556
Date: 2026-11-01T07:37:53-08:00
Electron: 43.8.3
ElectronBuildId: 15784459
Chromium: 150.0.7871.250
Node.js: 24.22.1
V8: 15.0.245.31-electron.0
@github/copilot: 1.0.103.r40031404408.gba6c003
@github/copilot-sdk: 1.0.27.40031404408.gba6c003
OS: Windows_NT x64 10.0.26200
** PostgreSQL Version **
v1.32.1
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 406
- Fork
- 35
- Merge trung bình
- 2 giờ 47 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-pgsql
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/vscode-pgsql#314 · 1 bình luận ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoft/vscode-pgsql#190 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/vscode-pgsql#323 · 2 bình luận ·
-
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 25/100
microsoft/vscode-pgsql#318 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/vscode-pgsql#317 · 1 bình luận ·
Tất cả issue của microsoft/vscode-pgsql
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
microsoft/monaco-editor#5575 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
callstack/react-native-paper#5189 ·
Maintainer thường phản hồi trong vòng 1 ngày