Troubleshooting Model Context Protocol (MCP) integration

Note

This article describes features used in agents or agent flows powered by the standard harness.

This article provides troubleshooting guidance for integrating your agent with Model Context Protocol (MCP) servers.

Known issues and workarounds

The following are identified issues the product team is aware of and working on:

Issues Resolution/Workaround
Currently, the endpoint returned in the Open SSE connection call must be a full URI. Not applicable.
A System.FormatException error occurs when the exclusiveMinimum property is set to an integer (instead of a Boolean) in the MCP tool definition input schema. Not applicable.
The MCP tool definition input schema definition is truncated when a type in a tool definition is an array of multiple types instead of a single type. Use a single type for the values in type fields.
Tools with reference type inputs in the schema are filtered from the list of available tools for MCP server. Reference type inputs and outputs aren't supported. Not applicable.
Tools with enum type inputs in the schema are interpreted as string instead of enum. Not applicable.
A large MCP tool result is shortened or causes a token-limit error because it exceeds the model's context window. Configure the MCP server to return less content. Limit the number of documents or rows, cap the output size, and use paging or filters when the server supports them.
An MCP tool fails to load or appears unavailable when an organization policy limits the tool to specific users or groups. A Microsoft 365 administrator can review and approve the access request in the Microsoft 365 admin center under Agents > Tools > Requests. Learn more in Manage plugins, skills, and MCP servers in Microsoft 365 admin center.
Newly added, removed, or renamed MCP tools might not appear immediately after you republish the custom connector. The agent's tool list refreshes within approximately 12–24 hours. A manual refresh isn't available. Wait up to 24 hours, and then send a new message to test the updated tool list.