Skip to content

Agent Mode + GitHub Server does unnecessary workspace checks on a loop before making tool calls #252025

Open
@D1M1TR10S

Description

@D1M1TR10S

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.101.1 (latest)
  • OS Version: macOS Sequoia 15.5

Steps to Reproduce:

  1. In Copilot Agent Mode, when requesting a direct GitHub MCP server action (e.g., "Create a new GitHub repository").
  2. Observe that the agent first checks the current workspace and files before calling the GitHub server tool, even when the request does not require any workspace or file context.

Description

In Agent Mode with the GitHub MCP server (remote in my case), simple requests that only require a remote server action (like creating a new repo) trigger unnecessary operations. The agent inspects the local workspace and files before calling the relevant GitHub tool, which is not needed for simple, direct server requests. This adds unnecessary response length and wait time. The agent should call the server tool directly when the user request does not depend on local context.

Image Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions