@mastra/mcp-docs-server 1.3.9 → 1.3.10-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. package/.docs/docs/agents/code-mode.md +2 -2
  2. package/.docs/docs/agents/guardrails.md +5 -5
  3. package/.docs/docs/agents/human-in-the-loop.md +18 -5
  4. package/.docs/docs/agents/networks.md +1 -1
  5. package/.docs/docs/agents/overview.md +7 -7
  6. package/.docs/docs/agents/processors.md +66 -20
  7. package/.docs/docs/agents/structured-output.md +6 -6
  8. package/.docs/docs/agents/tools.md +10 -10
  9. package/.docs/docs/browser.md +13 -1
  10. package/.docs/docs/channels.md +33 -6
  11. package/.docs/docs/connections/a2a.md +1 -1
  12. package/.docs/docs/connections/acp.md +2 -2
  13. package/.docs/docs/connections/mcp.md +159 -50
  14. package/.docs/docs/connections/overview.md +1 -1
  15. package/.docs/docs/connections/sdk-agents.md +8 -8
  16. package/.docs/docs/develop.md +1 -1
  17. package/.docs/docs/evals/custom-scorers.md +5 -5
  18. package/.docs/docs/evals/experiments.md +2 -2
  19. package/.docs/docs/evals/multi-turn.md +2 -2
  20. package/.docs/docs/evals/overview.md +4 -4
  21. package/.docs/docs/evals/quick-checks.md +2 -2
  22. package/.docs/docs/guides/build-an-eval-loop.md +3 -3
  23. package/.docs/docs/guides/context-engineering.md +13 -6
  24. package/.docs/docs/guides/mcp-authentication-authorization.md +2 -2
  25. package/.docs/docs/guides/streaming.md +1 -1
  26. package/.docs/docs/harness/agent-controller.md +7 -7
  27. package/.docs/docs/harness/background-tasks.md +3 -3
  28. package/.docs/docs/harness/durable-agents.md +5 -5
  29. package/.docs/docs/harness/goals.md +5 -5
  30. package/.docs/docs/harness/overview.md +2 -2
  31. package/.docs/docs/harness/schedules.md +5 -5
  32. package/.docs/docs/index.md +6 -6
  33. package/.docs/docs/mastra-platform/connect/channels.md +1 -1
  34. package/.docs/docs/mastra-platform/connect/tools.md +4 -4
  35. package/.docs/docs/mastra-platform/observability.md +1 -1
  36. package/.docs/docs/memory/memory-processors.md +7 -7
  37. package/.docs/docs/memory/message-history.md +5 -5
  38. package/.docs/docs/memory/multi-user-threads.md +1 -1
  39. package/.docs/docs/memory/observational-memory.md +14 -14
  40. package/.docs/docs/memory/semantic-recall.md +2 -2
  41. package/.docs/docs/memory/working-memory.md +2 -2
  42. package/.docs/docs/observability/logging.md +5 -5
  43. package/.docs/docs/observability/tracing/overview.md +1 -0
  44. package/.docs/docs/sandbox/filesystem.md +1 -0
  45. package/.docs/docs/sandbox/overview.md +1 -1
  46. package/.docs/docs/server/mastra-client.md +1 -1
  47. package/.docs/docs/server/middleware.md +1 -1
  48. package/.docs/docs/server/request-context.md +3 -3
  49. package/.docs/docs/server/server-adapters.md +12 -204
  50. package/.docs/docs/signals/notifications.md +233 -0
  51. package/.docs/docs/signals/overview.md +94 -0
  52. package/.docs/docs/signals/running-across-processes.md +132 -0
  53. package/.docs/docs/signals/sending-signals.md +166 -0
  54. package/.docs/docs/signals/signal-providers.md +278 -0
  55. package/.docs/docs/signals/state-signals.md +103 -0
  56. package/.docs/docs/signals/thread-streams.md +94 -0
  57. package/.docs/docs/skills.md +4 -4
  58. package/.docs/docs/storage.md +1 -1
  59. package/.docs/docs/studio/editor.md +39 -23
  60. package/.docs/docs/subagents.md +6 -6
  61. package/.docs/integrations/agentic-ui/ai-sdk-ui.md +1 -1
  62. package/.docs/integrations/agentic-ui/copilotkit.md +1 -1
  63. package/.docs/integrations/agentic-ui/openui.md +1 -1
  64. package/.docs/integrations/browsers/agent-browser.md +1 -1
  65. package/.docs/integrations/browsers/browser-viewer.md +1 -1
  66. package/.docs/integrations/browsers/firecrawl.md +1 -1
  67. package/.docs/integrations/browsers/stagehand.md +6 -6
  68. package/.docs/integrations/channels/discord.md +1 -1
  69. package/.docs/integrations/channels/github.md +2 -2
  70. package/.docs/integrations/channels/imessage.md +2 -50
  71. package/.docs/integrations/channels/slack.md +1 -1
  72. package/.docs/integrations/channels/teams.md +1 -1
  73. package/.docs/integrations/channels/telegram.md +1 -1
  74. package/.docs/integrations/channels/whatsapp.md +1 -1
  75. package/.docs/integrations/databases/aurora-dsql.md +1 -1
  76. package/.docs/integrations/databases/cloudflare-kv.md +4 -0
  77. package/.docs/integrations/databases/elasticsearch.md +1 -1
  78. package/.docs/integrations/databases/mongodb.md +1 -1
  79. package/.docs/integrations/databases/oracledb.md +1 -1
  80. package/.docs/integrations/databases/postgresql.md +1 -1
  81. package/.docs/integrations/databases/redis.md +1 -1
  82. package/.docs/integrations/databases/upstash.md +1 -1
  83. package/.docs/integrations/deploy/kubernetes.md +1 -1
  84. package/.docs/integrations/deploy/neon.md +2 -1
  85. package/.docs/integrations/deploy/render.md +2 -2
  86. package/.docs/integrations/file-storage/agentfs.md +1 -1
  87. package/.docs/integrations/file-storage/amazon-s3.md +20 -3
  88. package/.docs/integrations/file-storage/archil.md +1 -1
  89. package/.docs/integrations/file-storage/azure-blob.md +1 -1
  90. package/.docs/integrations/file-storage/google-cloud-storage.md +1 -1
  91. package/.docs/integrations/file-storage/google-drive.md +1 -1
  92. package/.docs/integrations/file-storage/mesa.md +1 -1
  93. package/.docs/integrations/file-storage/neon.md +210 -0
  94. package/.docs/integrations/file-storage/vercel-files.md +5 -1
  95. package/.docs/integrations/frameworks/express.md +0 -64
  96. package/.docs/integrations/observability/langfuse.md +1 -1
  97. package/.docs/integrations/observability/langsmith.md +2 -2
  98. package/.docs/integrations/observability/opentelemetry.md +5 -5
  99. package/.docs/integrations/sandboxes/apple-container.md +1 -1
  100. package/.docs/integrations/sandboxes/blaxel.md +1 -1
  101. package/.docs/integrations/sandboxes/daytona.md +1 -1
  102. package/.docs/integrations/sandboxes/docker.md +1 -1
  103. package/.docs/integrations/sandboxes/e2b-desktop.md +1 -1
  104. package/.docs/integrations/sandboxes/e2b.md +4 -2
  105. package/.docs/integrations/sandboxes/modal.md +1 -1
  106. package/.docs/integrations/sandboxes/railway.md +1 -1
  107. package/.docs/integrations/sandboxes/sprites.md +1 -1
  108. package/.docs/integrations/sandboxes/vercel.md +2 -2
  109. package/.docs/integrations/tools/brightdata.md +1 -1
  110. package/.docs/integrations/tools/firecrawl.md +1 -1
  111. package/.docs/integrations/tools/parallel.md +1 -1
  112. package/.docs/integrations/tools/perplexity.md +1 -1
  113. package/.docs/integrations/tools/tavily.md +1 -1
  114. package/.docs/integrations/voice/livekit.md +2 -2
  115. package/.docs/integrations.md +1 -0
  116. package/.docs/models/environment-variables.md +0 -2
  117. package/.docs/models/gateways/custom-gateways.md +3 -3
  118. package/.docs/models/gateways/merge-gateway.md +2 -14
  119. package/.docs/models/gateways/netlify.md +2 -1
  120. package/.docs/models/gateways/openrouter.md +3 -2
  121. package/.docs/models/gateways/vercel.md +3 -9
  122. package/.docs/models/index.md +13 -15
  123. package/.docs/models/providers/302ai.md +3 -3
  124. package/.docs/models/providers/abacus.md +70 -110
  125. package/.docs/models/providers/aimlapi.md +171 -171
  126. package/.docs/models/providers/aki-io.md +5 -6
  127. package/.docs/models/providers/alibaba-cn.md +2 -2
  128. package/.docs/models/providers/alibaba.md +2 -2
  129. package/.docs/models/providers/ambient.md +1 -1
  130. package/.docs/models/providers/auriko.md +2 -2
  131. package/.docs/models/providers/baseten.md +4 -4
  132. package/.docs/models/providers/berget.md +3 -4
  133. package/.docs/models/providers/bothub.md +4 -4
  134. package/.docs/models/providers/boundless.md +0 -4
  135. package/.docs/models/providers/cline-pass.md +2 -8
  136. package/.docs/models/providers/commandcode.md +0 -1
  137. package/.docs/models/providers/coralbricks.md +1 -1
  138. package/.docs/models/providers/cortecs.md +3 -3
  139. package/.docs/models/providers/crossmodel.md +1 -3
  140. package/.docs/models/providers/crusoe.md +1 -7
  141. package/.docs/models/providers/daoxe.md +1 -1
  142. package/.docs/models/providers/deepinfra.md +2 -2
  143. package/.docs/models/providers/digitalocean.md +6 -10
  144. package/.docs/models/providers/dinference.md +0 -3
  145. package/.docs/models/providers/edenai.md +12 -2
  146. package/.docs/models/providers/empiriolabs.md +0 -1
  147. package/.docs/models/providers/engy.md +2 -2
  148. package/.docs/models/providers/evroc.md +2 -2
  149. package/.docs/models/providers/fastrouter.md +41 -50
  150. package/.docs/models/providers/fireworks-ai.md +28 -23
  151. package/.docs/models/providers/friendli.md +4 -5
  152. package/.docs/models/providers/frogbot.md +2 -7
  153. package/.docs/models/providers/google.md +2 -5
  154. package/.docs/models/providers/greenpt.md +14 -20
  155. package/.docs/models/providers/groq.md +1 -1
  156. package/.docs/models/providers/huggingface.md +3 -1
  157. package/.docs/models/providers/iflowcn.md +2 -18
  158. package/.docs/models/providers/impossibl.md +2 -9
  159. package/.docs/models/providers/inceptron.md +8 -6
  160. package/.docs/models/providers/inco.md +1 -1
  161. package/.docs/models/providers/inference.md +5 -11
  162. package/.docs/models/providers/infomaniak.md +10 -12
  163. package/.docs/models/providers/io-net.md +11 -17
  164. package/.docs/models/providers/iteracompute.md +3 -3
  165. package/.docs/models/providers/jalapeno.md +14 -19
  166. package/.docs/models/providers/jiekou.md +53 -63
  167. package/.docs/models/providers/kenari.md +34 -53
  168. package/.docs/models/providers/kilo.md +12 -11
  169. package/.docs/models/providers/lilac.md +2 -8
  170. package/.docs/models/providers/llama.md +2 -11
  171. package/.docs/models/providers/llmgateway-providers.md +8 -16
  172. package/.docs/models/providers/llmgateway.md +9 -8
  173. package/.docs/models/providers/llmtr.md +1 -6
  174. package/.docs/models/providers/lowrouter.md +1 -1
  175. package/.docs/models/providers/lucidquery.md +2 -2
  176. package/.docs/models/providers/meganova.md +6 -7
  177. package/.docs/models/providers/melious.md +2 -7
  178. package/.docs/models/providers/mistral.md +4 -3
  179. package/.docs/models/providers/moark.md +0 -2
  180. package/.docs/models/providers/nan.md +1 -1
  181. package/.docs/models/providers/nano-gpt.md +16 -8
  182. package/.docs/models/providers/nearai.md +2 -1
  183. package/.docs/models/providers/neuralwatt.md +1 -4
  184. package/.docs/models/providers/novita-ai.md +2 -1
  185. package/.docs/models/providers/nvidia.md +15 -35
  186. package/.docs/models/providers/oci.md +0 -1
  187. package/.docs/models/providers/ofox.md +1 -1
  188. package/.docs/models/providers/ollama-cloud.md +2 -2
  189. package/.docs/models/providers/opencode-go.md +2 -3
  190. package/.docs/models/providers/opencode.md +85 -88
  191. package/.docs/models/providers/opper.md +1 -4
  192. package/.docs/models/providers/orcarouter.md +14 -16
  193. package/.docs/models/providers/pareto.md +1 -1
  194. package/.docs/models/providers/perplexity-agent.md +2 -12
  195. package/.docs/models/providers/pioneer.md +7 -7
  196. package/.docs/models/providers/poe.md +16 -70
  197. package/.docs/models/providers/prime.md +2 -1
  198. package/.docs/models/providers/qihang-ai.md +7 -11
  199. package/.docs/models/providers/qiniu-ai.md +9 -94
  200. package/.docs/models/providers/regolo-ai.md +5 -7
  201. package/.docs/models/providers/runinfra.md +1 -4
  202. package/.docs/models/providers/sarvam.md +1 -2
  203. package/.docs/models/providers/scaleway.md +12 -11
  204. package/.docs/models/providers/siliconflow-cn.md +35 -41
  205. package/.docs/models/providers/siliconflow.md +3 -6
  206. package/.docs/models/providers/stackit.md +2 -4
  207. package/.docs/models/providers/stepfun-ai.md +4 -4
  208. package/.docs/models/providers/stepfun.md +4 -4
  209. package/.docs/models/providers/submodel.md +1 -1
  210. package/.docs/models/providers/synthetic.md +0 -4
  211. package/.docs/models/providers/tempr.md +1 -4
  212. package/.docs/models/providers/tencent-coding-plan.md +3 -10
  213. package/.docs/models/providers/tensorx.md +0 -13
  214. package/.docs/models/providers/the-grid-ai.md +2 -1
  215. package/.docs/models/providers/tokengo.md +1 -1
  216. package/.docs/models/providers/umans-ai-coding-plan.md +12 -11
  217. package/.docs/models/providers/umans-ai.md +11 -10
  218. package/.docs/models/providers/unorouter.md +0 -13
  219. package/.docs/models/providers/vancine.md +0 -1
  220. package/.docs/models/providers/vivgrid.md +3 -3
  221. package/.docs/models/providers/volcengine-coding-plan.md +8 -12
  222. package/.docs/models/providers/volcengine.md +12 -18
  223. package/.docs/models/providers/vultr.md +0 -2
  224. package/.docs/models/providers/wafer.ai.md +3 -7
  225. package/.docs/models/providers/xai.md +19 -3
  226. package/.docs/models/providers/xiaomi-token-plan-ams.md +4 -4
  227. package/.docs/models/providers/xiaomi-token-plan-cn.md +4 -4
  228. package/.docs/models/providers/xiaomi-token-plan-sgp.md +4 -4
  229. package/.docs/models/providers/xiaomi.md +4 -4
  230. package/.docs/models/providers/xpersona.md +0 -1
  231. package/.docs/models/providers/zenmux.md +105 -125
  232. package/.docs/models/providers.md +0 -2
  233. package/.docs/reference/acp/acp-agent.md +4 -4
  234. package/.docs/reference/acp/create-acp-tool.md +1 -1
  235. package/.docs/reference/agent-controller/agent-controller-class.md +2 -2
  236. package/.docs/reference/agent-controller/session.md +10 -10
  237. package/.docs/reference/agents/agent.md +23 -47
  238. package/.docs/reference/agents/channels.md +13 -11
  239. package/.docs/reference/agents/durable-agent.md +13 -13
  240. package/.docs/reference/agents/generate.md +57 -3
  241. package/.docs/reference/agents/generateLegacy.md +2 -2
  242. package/.docs/reference/agents/getLLM.md +2 -2
  243. package/.docs/reference/agents/getMetadata.md +2 -2
  244. package/.docs/reference/agents/inngest-agent.md +1 -1
  245. package/.docs/reference/agents/network.md +1 -1
  246. package/.docs/reference/browser/agent-browser.md +1 -1
  247. package/.docs/reference/browser/browser-viewer.md +1 -1
  248. package/.docs/reference/browser/firecrawl-browser.md +1 -1
  249. package/.docs/reference/browser/mastra-browser.md +1 -1
  250. package/.docs/reference/browser/stagehand-browser.md +4 -4
  251. package/.docs/reference/channels/slack-provider.md +3 -0
  252. package/.docs/reference/cli/mastra.md +26 -0
  253. package/.docs/reference/client-js/agent-controller.md +2 -2
  254. package/.docs/reference/client-js/agents.md +18 -2
  255. package/.docs/reference/client-js/datasets.md +1 -1
  256. package/.docs/reference/client-js/observability.md +26 -1
  257. package/.docs/reference/coding-agent/build-base-prompt.md +1 -1
  258. package/.docs/reference/coding-agent/create-coding-agent.md +8 -8
  259. package/.docs/reference/configuration.md +4 -4
  260. package/.docs/reference/connect/channels.md +1 -1
  261. package/.docs/reference/connect/credential.md +1 -1
  262. package/.docs/reference/connect/tools.md +8 -10
  263. package/.docs/reference/core/getAgentById.md +1 -1
  264. package/.docs/reference/core/mastra-class.md +3 -3
  265. package/.docs/reference/core/mastra-model-gateway.md +1 -1
  266. package/.docs/reference/datasets/startExperiment.md +15 -0
  267. package/.docs/reference/editor/mastra-editor.md +2 -2
  268. package/.docs/reference/evals/answer-relevancy.md +1 -1
  269. package/.docs/reference/evals/answer-similarity.md +1 -1
  270. package/.docs/reference/evals/bias.md +1 -1
  271. package/.docs/reference/evals/checks.md +1 -1
  272. package/.docs/reference/evals/context-precision.md +3 -3
  273. package/.docs/reference/evals/context-recall.md +3 -3
  274. package/.docs/reference/evals/context-relevance.md +11 -11
  275. package/.docs/reference/evals/faithfulness.md +1 -1
  276. package/.docs/reference/evals/hallucination.md +5 -5
  277. package/.docs/reference/evals/multi-turn-judge.md +2 -2
  278. package/.docs/reference/evals/noise-sensitivity.md +12 -12
  279. package/.docs/reference/evals/not-scorable.md +1 -1
  280. package/.docs/reference/evals/prompt-alignment.md +16 -16
  281. package/.docs/reference/evals/rubric.md +6 -6
  282. package/.docs/reference/evals/run-evals.md +1 -1
  283. package/.docs/reference/evals/summarization.md +4 -4
  284. package/.docs/reference/evals/tool-call-accuracy.md +4 -4
  285. package/.docs/reference/evals/toxicity.md +1 -1
  286. package/.docs/reference/file-based-agents/config.md +3 -3
  287. package/.docs/reference/file-based-agents/schedules.md +1 -1
  288. package/.docs/reference/file-based-agents/subagents.md +4 -4
  289. package/.docs/reference/file-based-agents/workspace.md +1 -1
  290. package/.docs/reference/index.md +2 -1
  291. package/.docs/reference/manual-install.md +2 -2
  292. package/.docs/reference/memory/memory-class.md +3 -3
  293. package/.docs/reference/memory/observational-memory.md +16 -16
  294. package/.docs/reference/memory/summarizeConversation.md +3 -3
  295. package/.docs/reference/memory/summarizeThread.md +3 -3
  296. package/.docs/reference/migrations/agentnetwork.md +4 -4
  297. package/.docs/reference/migrations/mcp-v2.md +1 -1
  298. package/.docs/reference/migrations/upgrade-to-v1/agent.md +1 -1
  299. package/.docs/reference/migrations/vnext-to-standard-apis.md +2 -2
  300. package/.docs/reference/observability/tracing/advanced-queries.md +92 -11
  301. package/.docs/reference/observability/tracing/bridges/otel.md +1 -1
  302. package/.docs/reference/observability/tracing/exporters/langfuse.md +1 -1
  303. package/.docs/reference/observability/tracing/interfaces.md +2 -0
  304. package/.docs/reference/processors/batch-parts-processor.md +1 -1
  305. package/.docs/reference/processors/classifier-processor.md +2 -2
  306. package/.docs/reference/processors/cyber-refusal-handler.md +1 -1
  307. package/.docs/reference/processors/file-upload-processor.md +5 -5
  308. package/.docs/reference/processors/language-detector.md +1 -1
  309. package/.docs/reference/processors/message-history-processor.md +2 -2
  310. package/.docs/reference/processors/model-selection-processor.md +7 -7
  311. package/.docs/reference/processors/moderation-processor.md +3 -3
  312. package/.docs/reference/processors/pii-detector.md +2 -2
  313. package/.docs/reference/processors/prefill-error-handler.md +2 -2
  314. package/.docs/reference/processors/processor-interface.md +66 -10
  315. package/.docs/reference/processors/prompt-injection-detector.md +1 -1
  316. package/.docs/reference/processors/provider-history-compat.md +2 -2
  317. package/.docs/reference/processors/regex-filter-processor.md +1 -1
  318. package/.docs/reference/processors/response-cache.md +1 -1
  319. package/.docs/reference/processors/semantic-recall-processor.md +2 -2
  320. package/.docs/reference/processors/skill-search-processor.md +1 -1
  321. package/.docs/reference/processors/stream-error-retry-processor.md +3 -3
  322. package/.docs/reference/processors/system-prompt-scrubber.md +2 -2
  323. package/.docs/reference/processors/token-cost-control.md +1 -1
  324. package/.docs/reference/processors/token-limiter-processor.md +4 -4
  325. package/.docs/reference/processors/tool-call-filter.md +3 -3
  326. package/.docs/reference/processors/tool-search-processor.md +4 -4
  327. package/.docs/reference/processors/unicode-normalizer.md +1 -1
  328. package/.docs/reference/processors/working-memory-processor.md +2 -2
  329. package/.docs/reference/pubsub/lease-provider.md +2 -2
  330. package/.docs/reference/pubsub/redis-streams.md +11 -1
  331. package/.docs/reference/pubsub/unix-socket-pubsub.md +1 -1
  332. package/.docs/reference/rag/chunking-and-embedding.md +1 -1
  333. package/.docs/reference/rag/graph-rag-guide.md +2 -2
  334. package/.docs/reference/rag/metadata-filters.md +1 -1
  335. package/.docs/reference/rag/rerank.md +1 -1
  336. package/.docs/reference/rag/retrieval.md +13 -13
  337. package/.docs/reference/server/nestjs-adapter.md +1 -1
  338. package/.docs/reference/signals/create-notification-inbox-tool.md +4 -4
  339. package/.docs/reference/signals/notifications.md +249 -0
  340. package/.docs/reference/signals/task-signal-provider.md +2 -2
  341. package/.docs/reference/signals/thread-events.md +69 -0
  342. package/.docs/reference/storage/retention.md +1 -1
  343. package/.docs/reference/streaming/ChunkType.md +68 -0
  344. package/.docs/reference/streaming/agents/stream.md +4 -4
  345. package/.docs/reference/tools/create-code-mode.md +1 -1
  346. package/.docs/reference/tools/create-tool.md +19 -2
  347. package/.docs/reference/tools/mcp-client.md +202 -11
  348. package/.docs/reference/tools/mcp-server.md +7 -5
  349. package/.docs/reference/tools/task-tools.md +1 -1
  350. package/.docs/reference/tools/vector-query-tool.md +1 -1
  351. package/.docs/reference/vectors/libsql.md +1 -1
  352. package/.docs/reference/vectors/mongodb.md +2 -2
  353. package/.docs/reference/vectors/oracledb.md +2 -2
  354. package/.docs/reference/vectors/pg.md +1 -1
  355. package/.docs/reference/vectors/turbopuffer.md +1 -1
  356. package/.docs/reference/vectors/upstash.md +1 -1
  357. package/.docs/reference/voice/overview.md +24 -24
  358. package/.docs/reference/voice/speech-to-speech.md +6 -6
  359. package/.docs/reference/voice/speech-to-text.md +1 -1
  360. package/.docs/reference/voice/text-to-speech.md +1 -1
  361. package/.docs/reference/voice/voice.addInstructions.md +1 -1
  362. package/.docs/reference/workflows/run-methods/timeTravel.md +1 -1
  363. package/.docs/reference/workspace/local-filesystem.md +1 -1
  364. package/.docs/reference/workspace/local-sandbox.md +1 -1
  365. package/.docs/reference/workspace/platform-filesystem.md +1 -1
  366. package/.docs/reference/workspace/platform-sandbox.md +21 -2
  367. package/.docs/reference/workspace/process-manager.md +13 -2
  368. package/.docs/reference/workspace/sandbox.md +1 -1
  369. package/.docs/reference/workspace/workspace-class.md +12 -12
  370. package/package.json +11 -11
  371. package/.docs/docs/guides/mcp-events.md +0 -306
  372. package/.docs/docs/harness/signal-providers.md +0 -212
  373. package/.docs/docs/harness/signals.md +0 -546
  374. package/.docs/docs/mastra-platform/connect/end-user-connections.md +0 -116
  375. package/.docs/reference/connect/user-connect-routes.md +0 -68
@@ -20,7 +20,7 @@ const voiceAgent = new Agent({
20
20
  id: 'voice-agent',
21
21
  name: 'Voice Agent',
22
22
  instructions: 'You are a voice assistant that can help users with their tasks.',
23
- model: 'openai/gpt-5.6-sol',
23
+ model: 'openai/gpt-6.1-sol',
24
24
  voice: new OpenAIVoice(),
25
25
  })
26
26
  ```
@@ -44,7 +44,7 @@ const voiceAgent = new Agent({
44
44
  id: 'voice-agent',
45
45
  name: 'Voice Agent',
46
46
  instructions: 'You are a voice assistant that can help users with their tasks.',
47
- model: 'openai/gpt-5.6-sol',
47
+ model: 'openai/gpt-6.1-sol',
48
48
  voice: new OpenAIVoice(),
49
49
  })
50
50
 
@@ -72,7 +72,7 @@ const voiceAgent = new Agent({
72
72
  id: 'voice-agent',
73
73
  name: 'Voice Agent',
74
74
  instructions: 'You are a voice assistant that can help users with their tasks.',
75
- model: 'openai/gpt-5.6-sol',
75
+ model: 'openai/gpt-6.1-sol',
76
76
  voice: new AzureVoice(),
77
77
  })
78
78
 
@@ -99,7 +99,7 @@ const voiceAgent = new Agent({
99
99
  id: 'voice-agent',
100
100
  name: 'Voice Agent',
101
101
  instructions: 'You are a voice assistant that can help users with their tasks.',
102
- model: 'openai/gpt-5.6-sol',
102
+ model: 'openai/gpt-6.1-sol',
103
103
  voice: new ElevenLabsVoice(),
104
104
  })
105
105
 
@@ -126,7 +126,7 @@ const voiceAgent = new Agent({
126
126
  id: 'voice-agent',
127
127
  name: 'Voice Agent',
128
128
  instructions: 'You are a voice assistant that can help users with their tasks.',
129
- model: 'openai/gpt-5.6-sol',
129
+ model: 'openai/gpt-6.1-sol',
130
130
  voice: new GoogleVoice(),
131
131
  })
132
132
 
@@ -153,7 +153,7 @@ const voiceAgent = new Agent({
153
153
  id: 'voice-agent',
154
154
  name: 'Voice Agent',
155
155
  instructions: 'You are a voice assistant that can help users with their tasks.',
156
- model: 'openai/gpt-5.6-sol',
156
+ model: 'openai/gpt-6.1-sol',
157
157
  voice: new CloudflareVoice(),
158
158
  })
159
159
 
@@ -180,7 +180,7 @@ const voiceAgent = new Agent({
180
180
  id: 'voice-agent',
181
181
  name: 'Voice Agent',
182
182
  instructions: 'You are a voice assistant that can help users with their tasks.',
183
- model: 'openai/gpt-5.6-sol',
183
+ model: 'openai/gpt-6.1-sol',
184
184
  voice: new DeepgramVoice(),
185
185
  })
186
186
 
@@ -207,7 +207,7 @@ const voiceAgent = new Agent({
207
207
  id: 'voice-agent',
208
208
  name: 'Voice Agent',
209
209
  instructions: 'You are a voice assistant that can help users with their tasks.',
210
- model: 'openai/gpt-5.6-sol',
210
+ model: 'openai/gpt-6.1-sol',
211
211
  voice: new InworldVoice(),
212
212
  })
213
213
 
@@ -234,7 +234,7 @@ const voiceAgent = new Agent({
234
234
  id: 'voice-agent',
235
235
  name: 'Voice Agent',
236
236
  instructions: 'You are a voice assistant that can help users with their tasks.',
237
- model: 'openai/gpt-5.6-sol',
237
+ model: 'openai/gpt-6.1-sol',
238
238
  voice: new SpeechifyVoice(),
239
239
  })
240
240
 
@@ -261,7 +261,7 @@ const voiceAgent = new Agent({
261
261
  id: 'voice-agent',
262
262
  name: 'Voice Agent',
263
263
  instructions: 'You are a voice assistant that can help users with their tasks.',
264
- model: 'openai/gpt-5.6-sol',
264
+ model: 'openai/gpt-6.1-sol',
265
265
  voice: new SarvamVoice(),
266
266
  })
267
267
 
@@ -288,7 +288,7 @@ const voiceAgent = new Agent({
288
288
  id: 'voice-agent',
289
289
  name: 'Voice Agent',
290
290
  instructions: 'You are a voice assistant that can help users with their tasks.',
291
- model: 'openai/gpt-5.6-sol',
291
+ model: 'openai/gpt-6.1-sol',
292
292
  voice: new MurfVoice(),
293
293
  })
294
294
 
@@ -323,7 +323,7 @@ const voiceAgent = new Agent({
323
323
  id: 'voice-agent',
324
324
  name: 'Voice Agent',
325
325
  instructions: 'You are a voice assistant that can help users with their tasks.',
326
- model: 'openai/gpt-5.6-sol',
326
+ model: 'openai/gpt-6.1-sol',
327
327
  voice: new OpenAIVoice(),
328
328
  })
329
329
 
@@ -352,7 +352,7 @@ const voiceAgent = new Agent({
352
352
  id: 'voice-agent',
353
353
  name: 'Voice Agent',
354
354
  instructions: 'You are a voice assistant that can help users with their tasks.',
355
- model: 'openai/gpt-5.6-sol',
355
+ model: 'openai/gpt-6.1-sol',
356
356
  voice: new AzureVoice(),
357
357
  })
358
358
 
@@ -380,7 +380,7 @@ const voiceAgent = new Agent({
380
380
  id: 'voice-agent',
381
381
  name: 'Voice Agent',
382
382
  instructions: 'You are a voice assistant that can help users with their tasks.',
383
- model: 'openai/gpt-5.6-sol',
383
+ model: 'openai/gpt-6.1-sol',
384
384
  voice: new ElevenLabsVoice(),
385
385
  })
386
386
 
@@ -408,7 +408,7 @@ const voiceAgent = new Agent({
408
408
  id: 'voice-agent',
409
409
  name: 'Voice Agent',
410
410
  instructions: 'You are a voice assistant that can help users with their tasks.',
411
- model: 'openai/gpt-5.6-sol',
411
+ model: 'openai/gpt-6.1-sol',
412
412
  voice: new GoogleVoice(),
413
413
  })
414
414
 
@@ -436,7 +436,7 @@ const voiceAgent = new Agent({
436
436
  id: 'voice-agent',
437
437
  name: 'Voice Agent',
438
438
  instructions: 'You are a voice assistant that can help users with their tasks.',
439
- model: 'openai/gpt-5.6-sol',
439
+ model: 'openai/gpt-6.1-sol',
440
440
  voice: new CloudflareVoice(),
441
441
  })
442
442
 
@@ -464,7 +464,7 @@ const voiceAgent = new Agent({
464
464
  id: 'voice-agent',
465
465
  name: 'Voice Agent',
466
466
  instructions: 'You are a voice assistant that can help users with their tasks.',
467
- model: 'openai/gpt-5.6-sol',
467
+ model: 'openai/gpt-6.1-sol',
468
468
  voice: new DeepgramVoice(),
469
469
  })
470
470
 
@@ -492,7 +492,7 @@ const voiceAgent = new Agent({
492
492
  id: 'voice-agent',
493
493
  name: 'Voice Agent',
494
494
  instructions: 'You are a voice assistant that can help users with their tasks.',
495
- model: 'openai/gpt-5.6-sol',
495
+ model: 'openai/gpt-6.1-sol',
496
496
  voice: new InworldVoice(),
497
497
  })
498
498
 
@@ -520,7 +520,7 @@ const voiceAgent = new Agent({
520
520
  id: 'voice-agent',
521
521
  name: 'Voice Agent',
522
522
  instructions: 'You are a voice assistant that can help users with their tasks.',
523
- model: 'openai/gpt-5.6-sol',
523
+ model: 'openai/gpt-6.1-sol',
524
524
  voice: new SarvamVoice(),
525
525
  })
526
526
 
@@ -552,7 +552,7 @@ const voiceAgent = new Agent({
552
552
  id: 'voice-agent',
553
553
  name: 'Voice Agent',
554
554
  instructions: 'You are a voice assistant that can help users with their tasks.',
555
- model: 'openai/gpt-5.6-sol',
555
+ model: 'openai/gpt-6.1-sol',
556
556
  voice: new OpenAIRealtimeVoice(),
557
557
  })
558
558
 
@@ -582,7 +582,7 @@ const voiceAgent = new Agent({
582
582
  id: 'voice-agent',
583
583
  name: 'Voice Agent',
584
584
  instructions: 'You are a voice assistant that can help users with their tasks.',
585
- model: 'openai/gpt-5.6-sol',
585
+ model: 'openai/gpt-6.1-sol',
586
586
  voice: new GeminiLiveVoice({
587
587
  // Live API mode
588
588
  apiKey: process.env.GOOGLE_API_KEY,
@@ -631,7 +631,7 @@ const voiceAgent = new Agent({
631
631
  id: 'voice-agent',
632
632
  name: 'Voice Agent',
633
633
  instructions: 'You are a voice assistant that can help users with their tasks.',
634
- model: 'openai/gpt-5.6-sol',
634
+ model: 'openai/gpt-6.1-sol',
635
635
  voice: new NovaSonicVoice({
636
636
  region: 'us-east-1',
637
637
  speaker: 'matthew',
@@ -674,7 +674,7 @@ const voiceAgent = new Agent({
674
674
  id: 'voice-agent',
675
675
  name: 'Voice Agent',
676
676
  instructions: 'You are a voice assistant that can help users with their tasks.',
677
- model: 'openai/gpt-5.6-sol',
677
+ model: 'openai/gpt-6.1-sol',
678
678
  voice: new InworldRealtimeVoice({
679
679
  apiKey: process.env.INWORLD_API_KEY,
680
680
  model: 'inworld/models/gemma-4-26b-a4b-it',
@@ -1120,7 +1120,7 @@ const voiceAgent = new Agent({
1120
1120
  id: 'aisdk-voice-agent',
1121
1121
  name: 'AI SDK Voice Agent',
1122
1122
  instructions: 'You are a helpful assistant with voice capabilities.',
1123
- model: 'openai/gpt-5.6-sol',
1123
+ model: 'openai/gpt-6.1-sol',
1124
1124
  voice,
1125
1125
  })
1126
1126
  ```
@@ -36,7 +36,7 @@ const agent = new Agent({
36
36
  id: 'agent',
37
37
  name: 'OpenAI Realtime Agent',
38
38
  instructions: `You are a helpful assistant with real-time voice capabilities.`,
39
- model: 'openai/gpt-5.6-sol',
39
+ model: 'openai/gpt-6.1-sol',
40
40
  voice: new OpenAIRealtimeVoice(),
41
41
  })
42
42
 
@@ -71,7 +71,7 @@ export const agent = new Agent({
71
71
  id: 'speech-to-speech-agent',
72
72
  name: 'Speech-to-Speech Agent',
73
73
  instructions: 'You are a helpful assistant with speech-to-speech capabilities.',
74
- model: 'openai/gpt-5.6-sol',
74
+ model: 'openai/gpt-6.1-sol',
75
75
  tools: {
76
76
  search,
77
77
  calculate,
@@ -115,7 +115,7 @@ export const agent = new Agent({
115
115
  id: 'support-line',
116
116
  name: 'Support Line',
117
117
  instructions: ({ requestContext }) => `Help user ${requestContext.get('user')}.`,
118
- model: 'openai/gpt-5.6-sol',
118
+ model: 'openai/gpt-6.1-sol',
119
119
  voice: ({ requestContext }) =>
120
120
  new OpenAIRealtimeVoice({
121
121
  apiKey: requestContext.get('apiKey'),
@@ -150,7 +150,7 @@ const agent = new Agent({
150
150
  name: 'Gemini Live Agent',
151
151
  instructions: 'You are a helpful assistant with real-time voice capabilities.',
152
152
  // Model used for text generation; voice provider handles realtime audio
153
- model: 'openai/gpt-5.6-sol',
153
+ model: 'openai/gpt-6.1-sol',
154
154
  voice: new GeminiLiveVoice({
155
155
  apiKey: process.env.GOOGLE_API_KEY,
156
156
  model: 'gemini-2.0-flash-exp',
@@ -197,7 +197,7 @@ const agent = new Agent({
197
197
  name: 'Nova Sonic Agent',
198
198
  instructions: 'You are a helpful assistant with real-time voice capabilities.',
199
199
  // Model used for text generation; voice provider handles realtime audio
200
- model: 'openai/gpt-5.6-sol',
200
+ model: 'openai/gpt-6.1-sol',
201
201
  voice: new NovaSonicVoice({
202
202
  region: 'us-east-1',
203
203
  speaker: 'matthew',
@@ -241,7 +241,7 @@ const agent = new Agent({
241
241
  name: 'Inworld Realtime Agent',
242
242
  instructions: 'You are a helpful assistant with real-time voice capabilities.',
243
243
  // Model used for text generation; voice provider handles realtime audio
244
- model: 'openai/gpt-5.6-sol',
244
+ model: 'openai/gpt-6.1-sol',
245
245
  voice: new InworldRealtimeVoice({
246
246
  apiKey: process.env.INWORLD_API_KEY,
247
247
  model: 'inworld/models/gemma-4-26b-a4b-it',
@@ -61,7 +61,7 @@ const agent = new Agent({
61
61
  id: 'voice-agent',
62
62
  name: 'Voice Agent',
63
63
  instructions: 'You are a voice assistant that provides recommendations based on user input.',
64
- model: 'openai/gpt-5.6-sol',
64
+ model: 'openai/gpt-6.1-sol',
65
65
  voice,
66
66
  })
67
67
 
@@ -67,7 +67,7 @@ const agent = new Agent({
67
67
  id: 'voice-agent',
68
68
  name: 'Voice Agent',
69
69
  instructions: 'You are a voice assistant that can help users with their tasks.',
70
- model: 'openai/gpt-5.6-sol',
70
+ model: 'openai/gpt-6.1-sol',
71
71
  voice,
72
72
  })
73
73
 
@@ -25,7 +25,7 @@ const agent = new Agent({
25
25
  id: 'customer-support-agent',
26
26
  name: 'Customer Support Agent',
27
27
  instructions: 'You are a helpful customer support agent for a software company.',
28
- model: 'openai/gpt-5.6-sol',
28
+ model: 'openai/gpt-6.1-sol',
29
29
  voice,
30
30
  })
31
31
 
@@ -174,7 +174,7 @@ Over HTTP, `POST /api/workflows/:workflowId/time-travel-async` returns `409 Conf
174
174
 
175
175
  Calling `timeTravel()` again after the previous call finished is still allowed and re-runs the target step.
176
176
 
177
- > **Note:** The claim is enforced atomically by storage adapters that report `supportsConcurrentUpdates()`. Adapters without atomic read-modify-write support (such as ClickHouse, Cloudflare D1, Cloudflare KV, Cloudflare Durable Objects, LanceDB, and Redis) can't enforce it, and the claim is also skipped when `shouldPersistSnapshot` excludes the `running` status. The Inngest workflow runner doesn't claim the run yet.
177
+ > **Note:** Storage adapters that report `supportsConcurrentUpdates()` enforce the claim atomically. This requires atomic read-modify-write support, which is unavailable in adapters such as ClickHouse, Cloudflare D1, Cloudflare KV, Cloudflare Durable Objects, LanceDB, and Redis. Claims are also skipped when `shouldPersistSnapshot` excludes the `running` status or when using the Inngest workflow runner, which doesn't support them yet.
178
178
 
179
179
  ## Notes
180
180
 
@@ -24,7 +24,7 @@ const workspace = new Workspace({
24
24
 
25
25
  const agent = new Agent({
26
26
  id: 'file-agent',
27
- model: 'openai/gpt-5.6-sol',
27
+ model: 'openai/gpt-6.1-sol',
28
28
  workspace,
29
29
  })
30
30
 
@@ -28,7 +28,7 @@ const workspace = new Workspace({
28
28
 
29
29
  const agent = new Agent({
30
30
  id: 'dev-agent',
31
- model: 'openai/gpt-5.6-sol',
31
+ model: 'openai/gpt-6.1-sol',
32
32
  workspace,
33
33
  })
34
34
 
@@ -77,7 +77,7 @@ const agent = new Agent({
77
77
  id: 'file-agent',
78
78
  name: 'File Agent',
79
79
  instructions: 'You are a research assistant that reads and writes reports.',
80
- model: 'anthropic/claude-sonnet-4-6',
80
+ model: 'anthropic/claude-sonnet-5-5',
81
81
  workspace,
82
82
  })
83
83
  ```
@@ -83,7 +83,7 @@ const agent = new Agent({
83
83
  id: 'code-agent',
84
84
  name: 'Code Agent',
85
85
  instructions: 'You are a coding assistant working in this workspace.',
86
- model: 'anthropic/claude-sonnet-4-6',
86
+ model: 'anthropic/claude-sonnet-5-5',
87
87
  workspace,
88
88
  })
89
89
 
@@ -314,6 +314,25 @@ console.log(result.exitCode)
314
314
 
315
315
  > **Warning:** The `command` argument is a shell string and is concatenated verbatim into the remote shell. This lets you use pipes, redirects, and chaining (`ls -la | grep foo`) but means untrusted input must be passed through `args` (safely quoted) or shell-quoted by the caller. Untrusted `command` values allow arbitrary shell execution on the sandbox.
316
316
 
317
+ ### Background processes
318
+
319
+ `sandbox.processes` runs commands in the background. Output streams while they run, and you can list, attach to and stop them:
320
+
321
+ ```typescript
322
+ const handle = await sandbox.processes.spawn('pnpm dev', {
323
+ onStdout: data => console.log(data),
324
+ })
325
+
326
+ // Everything running in the sandbox, plus exited processes not read yet
327
+ const running = await sandbox.processes.list()
328
+
329
+ await handle.kill()
330
+ ```
331
+
332
+ A process has no time limit unless you pass `timeout` to `spawn()` or the constructor. Call `get(pid)` to attach to a process this manager didn't start, for example after your app restarts. Output written before attaching isn't available.
333
+
334
+ A long-running process's output stream reconnects periodically, and the process keeps running through it. Output written during a reconnect is lost, and a process that exits while its stream reconnects reports exit code `1` from `wait()` instead of its real exit code.
335
+
317
336
  ## Constructor parameters
318
337
 
319
338
  **accessToken** (`string`): Platform access token. Falls back to the MASTRA\_PLATFORM\_ACCESS\_TOKEN environment variable.
@@ -358,7 +377,7 @@ console.log(result.exitCode)
358
377
 
359
378
  **status** (`ProviderStatus`): 'pending' | 'initializing' | 'ready' | 'starting' | 'running' | 'stopping' | 'stopped' | 'destroying' | 'destroyed' | 'error'.
360
379
 
361
- **processes** (`PlatformProcessManager`): Background process manager. See SandboxProcessManager reference.
380
+ **processes** (`SandboxProcessManager`): Background process manager. spawn() streams output while the process runs, kill() stops it, list() shows what is running in the sandbox, and get(pid) attaches to a process this manager didn't start. See Background processes and the SandboxProcessManager reference.
362
381
 
363
382
  **filesystem** (`PlatformSandboxFilesystem | undefined`): The sandbox's disk through E2B's files API, sent straight to the VM with the same lease executeCommand() uses. undefined when the sandbox isn't E2B-backed; use executeCommand() then. Paths are absolute and not confined to a root. Copies, appends, and no-overwrite writes run as one command in the VM. See Native filesystem.
364
383
 
@@ -76,6 +76,8 @@ const handle = await sandbox.processes.spawn('npm run dev', {
76
76
 
77
77
  List all tracked processes. Returns info about each process including PID, running state, and exit code.
78
78
 
79
+ A process that has exited stays in the list until something reads it with `get(pid)`, so a finished command's output can still be read.
80
+
79
81
  ```typescript
80
82
  const procs = await sandbox.processes.list()
81
83
  for (const proc of procs) {
@@ -85,18 +87,27 @@ for (const proc of procs) {
85
87
 
86
88
  **Returns:** `Promise<ProcessInfo[]>`
87
89
 
88
- ### `get(pid)`
90
+ ### `get(pid, options?)`
89
91
 
90
92
  Get a handle to a process by PID. Returns `undefined` if the process isn't found or has already been dismissed.
91
93
 
94
+ Reading a process that has exited dismisses it: later calls return `undefined` and it leaves `list()`. Pass `{ release: false }` to read it and leave it available, so one reader can look at a finished process's output without taking it from another, such as the agent that started it.
95
+
92
96
  ```typescript
93
- const handle = await sandbox.processes.get(1234)
97
+ const handle = await sandbox.processes.get('1234')
94
98
  if (handle) {
95
99
  console.log(handle.stdout)
96
100
  await handle.kill()
97
101
  }
102
+
103
+ // Read without dismissing an exited process
104
+ const peek = await sandbox.processes.get('1234', { release: false })
98
105
  ```
99
106
 
107
+ **pid** (`string`): Process ID.
108
+
109
+ **options.release** (`boolean`): Whether reading an exited process dismisses it. Defaults to true. (Default: `true`)
110
+
100
111
  **Returns:** `Promise<ProcessHandle | undefined>`
101
112
 
102
113
  ### `kill(pid)`
@@ -230,7 +230,7 @@ const pkg = sandbox.filesystem
230
230
  : (await sandbox.executeCommand?.('cat', ['/workspace/app/package.json']))?.stdout
231
231
  ```
232
232
 
233
- `E2BSandbox` and `PlatformSandbox` implement `filesystem`. A `Workspace` doesn't use it automatically; pass it as the workspace `filesystem` or call it directly.
233
+ `E2BSandbox` always exposes `filesystem`. With `PlatformSandbox`, the property is available only when the provider is `e2b` and returns `undefined` otherwise. To use it in a `Workspace`, pass it explicitly as the workspace `filesystem`, or call it directly.
234
234
 
235
235
  ## Computer capability
236
236
 
@@ -173,7 +173,7 @@ Read records are scoped to the filesystem they were read from, identified by the
173
173
 
174
174
  ### Tool hooks
175
175
 
176
- Set `tools.hooks` to run logic before and after every enabled workspace tool call. Hooks run after name remapping, so the context includes both the exposed `toolName` and the original `workspaceToolName`.
176
+ Set `tools.hooks` to run logic before and after every enabled workspace tool call. Hooks run after name remapping and receive both the exposed `toolName` and the original `workspaceToolName` in their context.
177
177
 
178
178
  ```typescript
179
179
  import { Workspace } from '@mastra/core/workspace'
@@ -471,17 +471,17 @@ A workspace provides tools to agents based on what's configured.
471
471
 
472
472
  Added when a filesystem is configured:
473
473
 
474
- | Tool | Description |
475
- | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
476
- | `mastra_workspace_read_file` | Read file contents. Text files return as text (with optional line range). Images and PDFs return as native media parts the model can view directly. Other binaries return metadata only unless an explicit `encoding` is passed. |
477
- | `mastra_workspace_write_file` | Create or overwrite a file with new content. Creates parent directories automatically. |
478
- | `mastra_workspace_edit_file` | Edit an existing file by finding and replacing text. Useful for targeted changes without rewriting the entire file. |
479
- | `mastra_workspace_list_files` | List directory contents as a tree structure. Supports recursive listing with depth limits, glob patterns, and `.gitignore` filtering (enabled by default: every `.gitignore` applies relative to its own directory, and `node_modules` is skipped unless the listed path is inside it). |
480
- | `mastra_workspace_delete` | Delete a file or directory. Supports recursive deletion for directories. |
481
- | `mastra_workspace_file_stat` | Get metadata about a file or directory including size, type, and modification time. |
482
- | `mastra_workspace_mkdir` | Create a directory. Creates parent directories automatically if they don't exist. |
483
- | `mastra_workspace_grep` | Search file contents using regex patterns. Supports glob filtering, context lines, and case-insensitive search. Applies `.gitignore` files the same way as `list_files` and skips `node_modules` unless the search path is inside it. |
484
- | `mastra_workspace_apply_patch` | Create, update, move, and delete several files in one call using a patch. Opt-in: only added when `tools[WORKSPACE_TOOLS.FILESYSTEM.APPLY_PATCH].enabled` is set. The top-level `tools.enabled` doesn't enable it. The tool checks every hunk before it writes anything. If a hunk doesn't match, every file stays as it was. |
474
+ | Tool | Description |
475
+ | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
476
+ | `mastra_workspace_read_file` | Read file contents. Text files return as text (with optional line range). Images and PDFs return as native media parts the model can view directly. Other binaries return metadata only unless an explicit `encoding` is passed. |
477
+ | `mastra_workspace_write_file` | Create or overwrite a file with new content. Creates parent directories automatically. |
478
+ | `mastra_workspace_edit_file` | Edit an existing file by finding and replacing text. Useful for targeted changes without rewriting the entire file. |
479
+ | `mastra_workspace_list_files` | List directory contents as a tree structure. Supports recursive listing with depth limits, glob patterns, and `.gitignore` filtering (enabled by default: every `.gitignore` applies relative to its own directory, and `node_modules` is skipped unless the listed path is inside it). |
480
+ | `mastra_workspace_delete` | Delete a file or directory. Supports recursive deletion for directories. |
481
+ | `mastra_workspace_file_stat` | Get metadata about a file or directory including size, type, and modification time. |
482
+ | `mastra_workspace_mkdir` | Create a directory. Creates parent directories automatically if they don't exist. |
483
+ | `mastra_workspace_grep` | Search file contents using regex patterns. Supports glob filtering, context lines, and case-insensitive search. Applies `.gitignore` files the same way as `list_files` and skips `node_modules` unless the search path is inside it. |
484
+ | `mastra_workspace_apply_patch` | Create, update, move, and delete several files in one call using a patch. Opt-in: only added when `tools[WORKSPACE_TOOLS.FILESYSTEM.APPLY_PATCH].enabled` is set. The top-level `tools.enabled` doesn't enable it. The tool checks every hunk before writing and leaves all files unchanged if any hunk fails to match. |
485
485
 
486
486
  With a static filesystem, write tools (`write_file`, `edit_file`, `delete`, `mkdir`, `apply_patch`) are excluded when the filesystem is in read-only mode. With a [runtime-defined filesystem](https://mastra.ai/docs/sandbox/filesystem), write tools are always included and read-only is enforced at runtime.
487
487
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.3.9",
3
+ "version": "1.3.10-alpha.2",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,25 +26,25 @@
26
26
  "@mastra/mcp-legacy": "npm:@mastra/mcp@^1.18.0",
27
27
  "local-pkg": "^1.1.2",
28
28
  "zod": "^4.6.7",
29
- "@mastra/core": "1.79.0",
30
- "@mastra/mcp": "^2.5.0"
29
+ "@mastra/mcp": "^2.6.0-alpha.0",
30
+ "@mastra/core": "1.80.0-alpha.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@hono/node-server": "^2.0.0",
34
- "@modelcontextprotocol/client": "2.2.0",
35
- "@types/node": "22.20.1",
36
- "@vitest/coverage-v8": "4.1.11",
37
- "@vitest/ui": "4.1.11",
34
+ "@modelcontextprotocol/client": "2.3.1",
35
+ "@types/node": "22.20.5",
36
+ "@vitest/coverage-v8": "4.1.12",
37
+ "@vitest/ui": "4.1.12",
38
38
  "@wong2/mcp-cli": "^2.0.0",
39
39
  "cross-env": "^10.1.0",
40
40
  "hono": "^4.13.7",
41
- "tsdown": "0.22.9",
41
+ "tsdown": "0.23.1",
42
42
  "tsx": "^4.23.1",
43
43
  "typescript": "^7.0.2",
44
- "vitest": "4.1.11",
44
+ "vitest": "4.1.12",
45
+ "@internal/lint": "0.0.145",
45
46
  "@internal/types-builder": "0.0.120",
46
- "@mastra/core": "1.79.0",
47
- "@internal/lint": "0.0.145"
47
+ "@mastra/core": "1.80.0-alpha.1"
48
48
  },
49
49
  "homepage": "https://mastra.ai",
50
50
  "repository": {