Skip to content
Trending storyMonitoring

Mastra adds background tasks for long-running MCP tool calls

1 article1 sourcesince Nov 11Last article

Overview

AISummary of 1 article

Mastra adds tasks to its MCPServer and MCPClient so long-running tool calls can run in the background while the agent keeps responding, according to a Mastra blog post.

The server returns a task ID immediately, and the client polls until the task is completed, failed, or cancelled.

The feature requires @mastra/mcp 2.7.0 or later and @mastra/core 1.81.0 or later. Mastra says the API is still experimental and may change between releases.

Written by AI from the articles below · updated Nov 11, 9:24 AM ET

Check the sources:

Article timeline

The articles in this story. Times are ET.

Nov 11
  1. Mastra BlogOfficialPick
    Mastra adds background MCP tasks for long-running tool calls

    AIMastra introduces tasks for its MCPServer and MCPClient, letting long-running tool calls run in the background while the agent keeps responding. The server returns a task ID at once, and the client polls until the task reaches a completed, failed, or cancelled state. The feature requires @mastra/mcp 2.7.0 or later and @mastra/core 1.81.0 or later, and the API is still experimental and may change between releases.

Heat Trend

Current comparable heat
4
Peak comparable heat
8Nov 11, 10:00 AM ET
Change in past 24 hours
–

The trend compares only continuously observed participants, so its scope may be smaller than the current heat total. Hover or tap for hourly heat; use arrow keys with a keyboard.