github / github/github-mcp-server

VSCode: Toolset name mismatch: 'github/*' fails with Unknown tool, but 'github' warns it's deprecated

未关闭
#1,402 11 条评论 19 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Go
星标
33k
派生
5k
平均合并
2 天 1 小时
30 天内合并 PR
52

描述

### Describe the bug

When referencing the GitHub MCP toolset inside a VS Code agent configuration, using the recommended `github/*` pattern does **not** work.

- Referencing the toolset as `github/*` results in an **Unknown tool** error.
Image

- Referencing the toolset simply as `github` works, **but produces a warning** stating that it has been renamed to `github/*`.
Image

This creates a contradictory situation where:
- The recommended name (`github/*`) fails.
- The fallback name (`github`) works but warns that it should be replaced with `github/*`.

### Affected version

I am using the **remote GitHub MCP** integration inside VS Code, so it does not expose a version.

**VS Code version:**
`1.106.0`

**OS:**
`macOS Sequoia Version 15.7.2 (24G325)`

### Steps to reproduce the behavior

1. In a VS Code agent configuration, reference the GitHub MCP toolset like this:

```json
"tools": ["github/*"]
```

2. VS Code reports an error:

```
Unknown tool 'github/github-mcp-server/*'.
```

3. Change the reference to:

```json
"tools": ["github"]
```

4. The agent loads, but VS Code shows a warning:

```
Tool or toolset 'github' has been renamed, use 'github/*' instead.
```

### Expected vs actual behavior

**Expected behavior:**
Referencing the toolset as `github/*` should work without errors and should be the correct, supported naming format.

**Actual behavior:**
- `github/*` → Fails with *Unknown tool*
- `github` → Works, but warns that the toolset has been renamed to `github/*`, which cannot actually be used

### Logs

**Unknown tool error:**

```
Unknown tool 'github/github-mcp-server/*'.
```

**Renaming warning:**

```
Tool or toolset 'github' has been renamed, use 'github/*' instead.
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。