MCP M365 Teams chat_message_search timing out (no response)
Problem
The Microsoft 365 MCP server's chat_message_search tool times out without returning results, making Teams chat search effectively unusable from Claude Code. This blocks a real workflow — pulling context from team channels before acting on code.
Repro
Tool: mcp__claude_ai_Microsoft_365__chat_message_search
Tried three queries in succession, each with progressively narrower scope to rule out result-set-too-large:
query: "Goldman repo Sextant Dom Spencer frontend",afterDateTime: 2026-05-10,limit: 25→ TIMED OUTquery: "Sextant Goldman",afterDateTime: 2026-05-12,limit: 15→ TIMED OUTquery: "main repo",afterDateTime: 2026-05-15,limit: 10→ TIMED OUT
A fourth query (query: "Ari Devs repo", limit: 10) returned successfully with no output / empty result — which is also worth flagging, since empty results should at minimum return a structured \"no matches\" response.
Expected behavior
- A search with reasonable scope (< 25 messages, <30 days lookback) should return within ~10 seconds, or
- If the search legitimately requires longer, the tool should stream progress / return a partial result handle, not just hang.
- Empty results should return an explicit \"no messages matched\" payload, not silent nothing.
Actual behavior
Three consecutive timeout errors with no diagnostic information. No retry guidance, no rate-limit indicator, no way to know if the tenant connection is healthy.
Impact
For users on M365 tenants who need to pull context from Teams (engineering channel discussions, customer threads, internal decisions) before reasoning over code, the connector is currently unreliable. This is a high-value workflow that other MCPs (Notion, Tavily, Gmail) handle without issue.
Asks
- Investigate why
chat_message_searchis hanging — likely Graph API timeout or pagination issue - Add a default timeout with structured error response (instead of hanging)
- Return explicit empty-result payload when no matches found
- Consider a
verboseLoggingparameter or telemetry stream to debug from the user side
Environment
- Claude Code (Opus 4.7, 1M context)
- macOS Darwin 25.5.0
- M365 MCP via Claude.ai connector
- Tenant: Areté Capital Partners
- User has confirmed authentication (Outlook + SharePoint searches in other sessions work)
🤖 Filed via Claude Code on behalf of Justino @ Areté Capital Partners
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗