Recently shipped durable dataset experiments, resumable agent streams for every agent, and a built-in MCP endpoint in @mastra/server. The newest releases are @mastra/core 1.83.0 through 1.86.0.
Dataset experiments can now run as durable workflows, so a redeploy or worker crash no longer leaves a run stuck at running; another worker picks up unacked items and continues. Agents can also execute natively on the durable engines via durable.executionEngine while keeping their existing streaming and model-output APIs.
Every agent publishes a resumable run stream with replay caching, so clients can reconnect without killing the run. Cross-instance observe and abort, plus ownership and TTL enforcement, come built in.
Mastra Server ships an MCP endpoint at /api/mcp, enabled by default when server.auth is configured, so MCP clients can call your agents, workflows, and tools without defining an MCPServer. OAuth discovery and audience checks are available via server.mcp.oauth.
Knowledge gained a page-tree model, richer read tools, and opt-in read-only HTTP and JS client routes for building browsing UIs. An experimental importer contract syncs external sources into Knowledge with batching, leases, and replay protection.
Two storage and reliability changes need attention before you upgrade:
storageVersion: 2 is experimental but now works on Postgres and libSQL for agents and evented workflows. Long runs write only per-step deltas; one example dropped published payloads from 98 MB to 11 MB.
- Crashed workflows now restart through
startWorkers(), which uses a leader election lease across instances. On Redis/Valkey Streams and Google Cloud Pub/Sub, unacked step messages are redelivered by the broker instead of restarting everything on boot.
Observability now records execution outcome and typed stop reason, exports the model and provider, and measures time to first token.