0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

feat(mcp): serve MCP tool tasks from Mastra background tasks

A server registered on a Mastra instance with background tasks now keeps its
tasks in that storage, so any instance sharing the storage can read, answer and
cancel them. Task ids are stored hashed and rows are owned by a namespaced
mcp-server:<id> agent and resource, so background-task routes scoped to a
resource never see them. The 3a suite runs against both stores.

Co-Authored-By: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
Daniel Lew 2026-10-26 16:32:05 -04:00
commit dbcb5528ab
5 changed files with 697 additions and 17 deletions