I have successfully connected an MCP server as a tool to my Agent in Copilot studio. The agent is able to use the MCP server as a tool call, however the output of the MCP is not accessed by the agent. I am able to inspect the tool call in the activity map, where I can see both structured output and raw output. In all my testing the output is correct and is response that I am looking for but the information is simply not within the scope of the agent. The output is not being loaded into the agent's context. This bug renders my MCP server useless.
Things I have tried:
- Removing the tool and adding it back again.
- Creating a new agent.
- Instead of using my own custom MCP server, I used the Microsoft Learn Docs MCP (An MCP developed by Microsoft to engage with docs). I observe the exact same error, where the MCP is being used correctly and output (in the activity map) matches what I expect. The agent simply cannot interact with this output.
If anyone has had the same issue or knows of a workaround, please let me know.
Thanks!