Conversation
Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
|
@copilot , we need to rebase the changes to prevent the merge conflicts and to recheck the changes we made looking at context refs. Check everything and retry |
Rebase completed successfully! I've rebased the MCP tool detection changes onto the latest main branch (commit a32bb2f) which includes the context reference refactoring changes. What was done:
Changes verified:
The branch is ready for force push. The automated push failed because the branch has diverged after the rebase (origin has 5 old commits, local has 3 new rebased commits). You'll need to force push manually or merge this PR. Commits after rebase:
|
|
Merge conflicts fixed in #192. Closing this one. |
Fix MCP Tool Tracking from toolNames.json
Status: ✅ Rebase Complete
Successfully rebased the MCP tool detection feature onto the latest main branch (commit 89e8dca).
Problem
MCP server tools that appear in
toolNames.json(likemcp.io.github.git.assign_copilot_to_issueandmcp_io_github_git_pull_request_read) were not being counted as MCP calls. They were being counted as regular tool calls instead, causing incorrect statistics in the usage analysis view and file viewer.Solution
Added logic to detect MCP tools by their name pattern (starting with "mcp." or "mcp_") and classify them as MCP tools instead of regular tool calls.
Changes Completed
isMcpTool()to detect MCP tools by name patternextractMcpServerName()to extract server nameisMcpTool()to classify toolsFinal Commits
98e2144Extract server name logic into helper function9f4a81fFix MCP tool detection from toolNames.json63e3a4aInitial planTesting
Result
MCP tools with names starting with "mcp." or "mcp_" will now be:
Branch is ready and needs force push to update origin
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.