Skip to content

Parallel MCP tools execution triggers multiple oauth logins #278708

Description

A recent upgrade allowing running multiple MCP tools in parallel has an ugly side-effect. If an mcp server requires oauth login (not authenticated, token expired, 401 from a tool call) and an agent calls multiple tools in parallel, it triggers multiple oauth login popups one after another.

  • Copilot Chat Extension Version: 0.33.2
  • VS Code Version: 1.106.1
  • OS Version: doesn't matter
  • Feature (e.g. agent/edit/ask mode): agent
  • Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): all
  • Logs:

Steps to Reproduce:

  1. Connect an mcp server which requires oauth
  2. Don't login or wait for token to be expired
  3. Ask agent to do something that requires calling multiple tools in parallel

Metadata

Metadata

Labels

authenticationIssues with the Authentication platformchat-mcpfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions