[Bug]: GitHub Copilot searches and MCP calls can be mislabeled as file reads
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- In T3 Code, use GitHub Copilot CLI through the ACP provider.
- Ask Copilot to search files and read code. With an external MCP server configured, also ask it to call a read-only MCP tool.
- Expand the turn's activity log.
- Inspect the descriptive activity labels, tool names, classification, and integration attribution.
The attached MCP example uses protocol replay with demo-library.search_books and demo-weather.current_weather, not a fresh live Copilot turn. The native search/read example uses captured Copilot events.
Expected behavior
Copilot activities retain enough identity to describe what actually happened: searches are identified as searches, file reads as reads, and integration calls by their tool name and source.
In the MCP example, the activity group should say Used demo library and demo weather integrations, with named tool entries such as Search books and Current weather and expandable tool input and results.
Actual behavior
Two cases were independently verified:
- MCP calls complete, but instead of named integration tools such as
Search booksandCurrent weather, they are presented as file reads underRead 2 files, without correct integration attribution. - A live Copilot built-in
globcall emitstoolName: "glob"in its native event butkind: "read"in ACP, so the search appears as a file read.
The MCP-identity fix does not correct native glob/view labeling. MCP tools can also be named search_files and read_code, so labels such as Search files and Read code alone do not establish that a call was native rather than MCP-backed.
This report concerns activity presentation, not an execution failure.
For the MCP example, the ordinary ACP notification supplies a flattened title and kind: "read". Copilot's opt-in native tool.execution_start event supplies the exact MCP server and tool names, but that identity is not carried into the activity projection on the affected code.
Impact
Minor bug or occasional failure
The activity log misrepresents what the agent did, obscures which operations and tools it used, and makes external MCP activity harder to distinguish from local file reads.
Version or commit
T3 Code 0.1.9; GitHub Copilot CLI 1.0.112, the same Copilot version as in the original reproduction.
Environment
Windows; Chromium web client.
Logs or stack traces
Representative sanitized MCP payloads used by the replay, not a fresh live capture:
github.com/copilot/sessionEvent
{
"sessionId": "demo-session",
"type": "tool.execution_start",
"data": {
"toolCallId": "demo-call",
"mcpServerName": "demo-library",
"mcpToolName": "search_books"
}
}
session/update
{
"sessionId": "demo-session",
"update": {
"sessionUpdate": "tool_call",
"toolCallId": "demo-call",
"title": "demo-library-search_books",
"kind": "read",
"status": "in_progress",
"rawInput": {
"arguments": { "query": "paper airplanes" },
"limit": 2
}
}
}
For the independently captured native search, the relevant fields were:
github.com/copilot/sessionEvent
{
"type": "tool.execution_start",
"data": {
"toolCallId": "native-search",
"toolName": "glob",
"toolTitle": "Finding files",
"arguments": { "pattern": "*.ts", "paths": ["<workspace>"] }
}
}
session/update
{
"update": {
"sessionUpdate": "tool_call",
"toolCallId": "native-search",
"title": "Finding files matching *.ts",
"kind": "read",
"status": "pending",
"rawInput": { "pattern": "*.ts", "paths": ["<workspace>"] },
"locations": [{ "path": "<workspace>" }]
}
}
The workspace path and call ID above are sanitized; the native tool name and ACP kind are from the live capture.
Screenshots, recordings, or supporting files
Screenshot and seven-second recording showing MCP calls grouped as Read 2 files through GitHub Copilot's ACP integration. This is a protocol replay, not a fresh live Copilot turn.
https://github.com/user-attachments/assets/54bedaf9-84d9-49dd-8b40-835d1b857680
Workaround
No confirmed end-user workaround.