github / github/copilot-cli

[Feature Request] Send copilot-cli specific metadata when invoking MCP servers

Offen
#432 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:mcp
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### Describe the feature or problem you'd like to solve

Send copilot-cli specific metadata when invoking MCP servers

### Proposed solution

Right now, the `copilot` CLI doesn’t include any identifier when it connects to MCP servers.

Here's a sample MCP request from the `copilot` CLI
```json
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"_meta": {
"progressToken": 2
},
"name": "cool_tool_name",
"arguments": {
"foo": "bar"
}
}
}
```

Environment:
```console
> copilot --version
0.0.353
Commit: f8fd3e3
```

Meanwhile, VS Code kind of labels itself.
```json
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"_meta": {
"progressToken": "f78b107c-d8f7-415e-9acb-9a924295e3c7",
"vscode.conversationId": "4bbaa913-a8a3-4807-8b22-39b38a640d52",
"vscode.requestId": "4578b866-66a0-41fe-a345-baec275a82b2"
},
"name": "cool_tool_name",
"arguments": {
"foo": "bar"
}
}
}
```

### Example prompts or workflows

_No response_

### Additional context

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.