Understand this story
On November 11, 2026, Mastra released MCP Tasks, adding a tasks feature to MCPServer and MCPClient that turns long-running tool calls into background tasks, so agents are not blocked during lengthy MCP tool calls and can continue responding to users; the client polls the task status and retrieves the result once it completes. Tools can be configured as always, auto (exceeding syncWindowMs, default 2 seconds), or off; tasks support the working, input_required, completed, failed, and cancelled states, and can request human input via suspend(). This feature requires @mastra/mcp@2.7.0 and @mastra/core@1.81.0 or later, and is still experimental, so the API may change.
AI-generated from public reports
Latest development · Report
Mastra Introduces MCP Tasks: Keeping Agents Unblocked During Long-Running MCP Tool CallsDevelopments
1 confirmed developments
- Source:Mastra Blog
Reports and discussion timeline
Browse reports and discussion by time. Their evidence levels remain distinct.
Nov 11
Mastra BlogFirst-party
Mastra Introduces MCP Tasks: Keeping Agents Unblocked During Long-Running MCP Tool Calls
Mastra adds MCP Tasks to MCPServer and MCPClient, turning time-consuming tool calls into background tasks so agents can continue responding to users, while clients poll task status and retrieve results once complete. Tools can be configured as always, auto (exceeding syncWindowMs, default 2 seconds), or off; tasks support working, input_required, completed, failed, and cancelled states, and can request human input via suspend(). This feature requires @mastra/mcp@2.7.0 and @mastra/core@1.81.0 or later, and is still experimental, so the API may change.