MCP does not work with remote-ssh and extension installed in host side

オープン
#319 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
postgresql, typescript, vscode

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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:

Image

To Reproduce

Steps to reproduce the behavior:

  1. Install the extension
  2. Configure it to work in vs-code host side
  3. 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

主要言語
言語のデータがありません
スター
406
フォーク
35
平均マージ
2時間 47分
マージ済み PR(30日)
5

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/vscode-pgsql のほかの issue

microsoft/vscode-pgsql の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。