web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / MCP Tool Fails with HT...
Copilot Studio
Suggested Answer

MCP Tool Fails with HTTP 400 When Invoked from Topic Flow in Copilot Studio

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I’ve registered an MCP Server with multiple tools and registered the MCP Tool in my agent in Copilot Studio. When the agent invokes the MCP tool directly, everything works as expected.

However, when I try to call the same MCP tool from inside a Topic flow, the tool appears under the Connector section (not under the Tools section). When the topic executes and attempts to invoke the connector action, the call fails with an HTTP 400.


  1. Has anyone successfully invoked an MCP Tool from within a Topic Flow in Copilot Studio?
  2. Do we need to explicitly configure or map input parameters for the MCP Tool in the Topic flow even though the tool schema is already defined on the MCP server?
  3. How to map input parameters in the MCP Tool if that is causing the issue ?
  4. For a 400 error in this scenario, what are the most common causes?

    • Payload/JSON shape mismatch

    • Missing required fields

    • Incorrect parameter mapping

    • Authentication/header issues

    • Connector vs. MCP tool schema differences

  5.  

Context


  • MCP tool works perfectly when invoked directly by the agent.

  • Fails only when called inside a topic via the connector.

  • Connector is automatically generated when MCP is registered.

  •  

Any insights, examples, or configuration guidance would be greatly appreciated!

I have the same question (0)
  • Suggested answer
    Nivedipa-MSFT Profile Picture
    Microsoft Employee on at
    Hello ,

    Here are concise answers and guidance for your scenario:

    1. Has anyone successfully invoked an MCP Tool from within a Topic Flow in Copilot Studio?
    • Yes, but it requires correct parameter mapping in the Topic flow.
    1. Do we need to explicitly configure or map input parameters for the MCP Tool in the Topic flow even though the tool schema is already defined on the MCP server?
    • Yes. Even if the schema is defined, you must map Topic variables to the MCP tool’s input parameters in the Topic flow designer.
    1. How to map input parameters in the MCP Tool if that is causing the issue?
    • In the Topic flow, when adding the connector action, click on the action and map each required input to a variable or value from your Topic. Ensure all required fields are mapped and types match the MCP schema.
    1. For a 400 error in this scenario, what are the most common causes?
    • Most common: payload/JSON shape mismatch, missing required fields, or incorrect parameter mapping. Less common: authentication or header issues (if it works directly, this is unlikely).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 690

#2
Vish WR Profile Picture

Vish WR 271

#3
Haque Profile Picture

Haque 261

Last 30 days Overall leaderboard