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:
- Connect an mcp server which requires oauth
- Don't login or wait for token to be expired
- Ask agent to do something that requires calling multiple tools in parallel
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.
Steps to Reproduce: