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
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"_meta": {
"progressToken": 2
},
"name": "cool_tool_name",
"arguments": {
"foo": "bar"
}
}
}
Environment:
> copilot --version
0.0.353
Commit: f8fd3e3
Meanwhile, VS Code kind of labels itself.
{
"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
Describe the feature or problem you'd like to solve
Send copilot-cli specific metadata when invoking MCP servers
Proposed solution
Right now, the
copilotCLI doesn’t include any identifier when it connects to MCP servers.Here's a sample MCP request from the
copilotCLI{ "jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": { "_meta": { "progressToken": 2 }, "name": "cool_tool_name", "arguments": { "foo": "bar" } } }Environment:
Meanwhile, VS Code kind of labels itself.
{ "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