github / github/copilot-cli

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

Aberta
#432 5 comentários 0 reações 0 responsáveis Ver no GitHub
area:mcp
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### 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_

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.