
This usually happens because the first MCP request doesn’t include the Accept header, even if you added it in the step.
With MCP (Streamable HTTP), the client must send:
Accept: application/json, text/event-stream
Putting it in the flow step is often not enough — you need to define it in the custom connector (OpenAPI) or enforce it with a Set HTTP Header policy.
The reason it only fails on the first call is that the initial request is handled differently (handshake), and headers from the step aren’t applied yet.
Hope this helps!
Paolo
✅ Did this solve your issue? → Accept as Solution
👍 Partially helpful? → Click "Yes" on "Was this reply helpful?" or drop a Like!
Want more tips on Power Platform & AI? Follow me here:
🔗 LinkedIn: https://www.linkedin.com/in/paoloasnaghi/
▶️ YouTube: https://www.youtube.com/@BeyondThePlatforms
📸 Instagram: https://www.instagram.com/beyond_the_platforms/
🌐 Website: https://www.beyondtheplatforms.com/