@mastra/mcp-docs-server 1.3.15-alpha.2 → 1.3.15

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 (444) hide show
  1. package/.docs/docs/agents/guardrails.md +1 -1
  2. package/.docs/docs/agents/human-in-the-loop.md +2 -2
  3. package/.docs/docs/agents/networks.md +1 -1
  4. package/.docs/docs/agents/overview.md +2 -2
  5. package/.docs/docs/agents/processors.md +2 -2
  6. package/.docs/docs/agents/tools.md +9 -3
  7. package/.docs/docs/auth/composite-auth.md +1 -1
  8. package/.docs/docs/auth/custom-auth-provider.md +5 -5
  9. package/.docs/docs/auth/fga.md +1 -1
  10. package/.docs/docs/auth/jwt.md +2 -2
  11. package/.docs/docs/auth/simple-auth.md +1 -1
  12. package/.docs/docs/browser.md +1 -1
  13. package/.docs/docs/channels.md +2 -2
  14. package/.docs/docs/connections/sdk-agents.md +1 -1
  15. package/.docs/docs/deployment/overview.md +5 -5
  16. package/.docs/docs/deployment/web-framework.md +3 -3
  17. package/.docs/docs/develop.md +1 -1
  18. package/.docs/docs/evals/built-in-scorers.md +1 -1
  19. package/.docs/docs/evals/custom-scorers.md +8 -8
  20. package/.docs/docs/evals/overview.md +1 -1
  21. package/.docs/docs/evals/quick-checks.md +1 -1
  22. package/.docs/docs/guides/authentication-identity.md +1 -1
  23. package/.docs/docs/guides/context-engineering.md +1 -1
  24. package/.docs/docs/guides/multi-agent-systems.md +2 -2
  25. package/.docs/docs/harness/agent-controller.md +3 -3
  26. package/.docs/docs/harness/background-tasks.md +1 -1
  27. package/.docs/docs/harness/durable-agents.md +1 -1
  28. package/.docs/docs/index.md +2 -2
  29. package/.docs/docs/license.md +1 -1
  30. package/.docs/docs/mastra-platform/access-tokens.md +84 -0
  31. package/.docs/docs/mastra-platform/api.md +2 -2
  32. package/.docs/docs/mastra-platform/configuration.md +10 -14
  33. package/.docs/docs/mastra-platform/database.md +30 -23
  34. package/.docs/docs/mastra-platform/{environments.md → deploy/environments.md} +7 -7
  35. package/.docs/docs/mastra-platform/{github.md → deploy/github.md} +3 -3
  36. package/.docs/docs/mastra-platform/{deploy.md → deploy/overview.md} +8 -10
  37. package/.docs/docs/mastra-platform/{regions.md → deploy/regions.md} +4 -4
  38. package/.docs/docs/mastra-platform/{server.md → deploy/server.md} +18 -10
  39. package/.docs/docs/mastra-platform/{studio.md → deploy/studio.md} +2 -2
  40. package/.docs/docs/mastra-platform/{trace-intelligence.md → observability/trace-intelligence.md} +6 -6
  41. package/.docs/docs/mastra-platform/overview.md +12 -12
  42. package/.docs/docs/mastra-platform/system-environment-variables.md +13 -13
  43. package/.docs/docs/mastra-platform/team-members.md +49 -0
  44. package/.docs/docs/mastra-platform/workspaces.md +11 -11
  45. package/.docs/docs/memory/memory-processors.md +2 -2
  46. package/.docs/docs/memory/message-history.md +1 -1
  47. package/.docs/docs/memory/multi-user-threads.md +1 -1
  48. package/.docs/docs/memory/observational-memory.md +3 -3
  49. package/.docs/docs/memory/semantic-recall.md +4 -4
  50. package/.docs/docs/memory/working-memory.md +16 -16
  51. package/.docs/docs/observability/integrations/exporters/mastra-storage.md +13 -13
  52. package/.docs/docs/observability/overview.md +2 -2
  53. package/.docs/docs/observability/tracing/overview.md +4 -2
  54. package/.docs/docs/sandbox/filesystem.md +1 -1
  55. package/.docs/docs/server/custom-api-routes.md +1 -1
  56. package/.docs/docs/server/middleware.md +1 -1
  57. package/.docs/docs/server/request-context.md +1 -1
  58. package/.docs/docs/signals/overview.md +1 -1
  59. package/.docs/docs/signals/sending-signals.md +1 -1
  60. package/.docs/docs/studio/auth.md +1 -1
  61. package/.docs/docs/studio/deployment.md +3 -3
  62. package/.docs/docs/studio/editor.md +2 -2
  63. package/.docs/docs/studio/observability.md +3 -3
  64. package/.docs/docs/studio/overview.md +1 -1
  65. package/.docs/docs/workflows/control-flow.md +4 -4
  66. package/.docs/docs/workflows/overview.md +3 -3
  67. package/.docs/docs/workflows/snapshots.md +2 -2
  68. package/.docs/integrations/agentic-ui/ai-sdk-ui.md +3 -3
  69. package/.docs/integrations/agentic-ui/assistant-ui.md +5 -5
  70. package/.docs/integrations/agentic-ui/copilotkit.md +4 -4
  71. package/.docs/integrations/agentic-ui/openui.md +2 -2
  72. package/.docs/integrations/auth/auth0.md +3 -3
  73. package/.docs/integrations/auth/better-auth.md +1 -1
  74. package/.docs/integrations/auth/clerk.md +1 -1
  75. package/.docs/integrations/auth/firebase.md +3 -3
  76. package/.docs/integrations/auth/google.md +2 -2
  77. package/.docs/integrations/auth/okta.md +3 -3
  78. package/.docs/integrations/auth/supabase.md +1 -1
  79. package/.docs/integrations/auth/workos.md +1 -1
  80. package/.docs/integrations/browsers/stagehand.md +1 -1
  81. package/.docs/integrations/channels/imessage.md +1 -1
  82. package/.docs/integrations/channels/ring.md +6 -6
  83. package/.docs/integrations/channels/slack.md +1 -1
  84. package/.docs/integrations/channels/whatsapp.md +1 -1
  85. package/.docs/integrations/databases/aurora-dsql.md +13 -13
  86. package/.docs/integrations/databases/clickhouse.md +2 -2
  87. package/.docs/integrations/databases/cloudflare-d1.md +4 -4
  88. package/.docs/integrations/databases/cloudflare-kv.md +10 -10
  89. package/.docs/integrations/databases/convex.md +6 -6
  90. package/.docs/integrations/databases/dynamodb.md +8 -8
  91. package/.docs/integrations/databases/elasticsearch.md +6 -6
  92. package/.docs/integrations/databases/lancedb.md +4 -4
  93. package/.docs/integrations/databases/mongodb.md +2 -2
  94. package/.docs/integrations/databases/mssql.md +2 -2
  95. package/.docs/integrations/databases/oracledb.md +2 -2
  96. package/.docs/integrations/databases/postgresql.md +14 -14
  97. package/.docs/integrations/databases/redis.md +7 -7
  98. package/.docs/integrations/databases/spanner.md +2 -2
  99. package/.docs/integrations/databases/upstash.md +5 -5
  100. package/.docs/integrations/databases/valkey.md +1 -1
  101. package/.docs/integrations/deploy/amazon-ec2.md +1 -1
  102. package/.docs/integrations/deploy/aws-bedrock-agentcore.md +1 -1
  103. package/.docs/integrations/deploy/aws-lambda.md +12 -12
  104. package/.docs/integrations/deploy/azure-app-services.md +2 -2
  105. package/.docs/integrations/deploy/cloudflare.md +2 -2
  106. package/.docs/integrations/deploy/digital-ocean.md +2 -2
  107. package/.docs/integrations/deploy/inngest.md +5 -5
  108. package/.docs/integrations/deploy/kubernetes-helm.md +20 -20
  109. package/.docs/integrations/deploy/neon.md +1 -1
  110. package/.docs/integrations/deploy/netlify.md +1 -1
  111. package/.docs/integrations/deploy/render.md +1 -1
  112. package/.docs/integrations/deploy/temporal.md +1 -1
  113. package/.docs/integrations/deploy/vercel.md +4 -4
  114. package/.docs/integrations/file-storage/google-cloud-storage.md +1 -1
  115. package/.docs/integrations/frameworks/angular.md +1 -1
  116. package/.docs/integrations/frameworks/astro.md +3 -3
  117. package/.docs/integrations/frameworks/electron.md +1 -1
  118. package/.docs/integrations/frameworks/express.md +1 -1
  119. package/.docs/integrations/frameworks/hono.md +1 -1
  120. package/.docs/integrations/frameworks/nestjs.md +2 -2
  121. package/.docs/integrations/frameworks/next-js.md +3 -3
  122. package/.docs/integrations/frameworks/nuxt.md +1 -1
  123. package/.docs/integrations/frameworks/sveltekit.md +1 -1
  124. package/.docs/integrations/frameworks/tanstack-start.md +3 -3
  125. package/.docs/integrations/frameworks/vite-react.md +3 -3
  126. package/.docs/integrations/observability/arize.md +9 -9
  127. package/.docs/integrations/observability/arthur.md +3 -3
  128. package/.docs/integrations/observability/braintrust.md +3 -3
  129. package/.docs/integrations/observability/confident-ai.md +5 -5
  130. package/.docs/integrations/observability/datadog.md +9 -9
  131. package/.docs/integrations/observability/laminar.md +2 -2
  132. package/.docs/integrations/observability/langfuse.md +14 -14
  133. package/.docs/integrations/observability/langsmith.md +9 -9
  134. package/.docs/integrations/observability/opentelemetry.md +23 -23
  135. package/.docs/integrations/observability/sentry.md +4 -4
  136. package/.docs/integrations/sandboxes/agentcore.md +1 -1
  137. package/.docs/integrations/sandboxes/apple-container.md +2 -2
  138. package/.docs/integrations/sandboxes/cloudflare-sandbox.md +6 -6
  139. package/.docs/integrations/sandboxes/daytona.md +5 -5
  140. package/.docs/integrations/sandboxes/docker.md +6 -6
  141. package/.docs/integrations/sandboxes/e2b-desktop.md +1 -1
  142. package/.docs/integrations/sandboxes/e2b.md +14 -14
  143. package/.docs/integrations/sandboxes/modal.md +1 -1
  144. package/.docs/integrations/sandboxes/railway.md +1 -1
  145. package/.docs/integrations/sandboxes/sprites.md +2 -2
  146. package/.docs/integrations/sandboxes/vercel.md +4 -4
  147. package/.docs/integrations/vectors/couchbase.md +1 -1
  148. package/.docs/integrations/vectors/duckdb.md +5 -5
  149. package/.docs/integrations/vectors/lance.md +3 -3
  150. package/.docs/integrations/vectors/mongodb.md +5 -5
  151. package/.docs/integrations/vectors/pg.md +11 -11
  152. package/.docs/integrations/vectors/qdrant.md +2 -2
  153. package/.docs/integrations/vectors/upstash.md +4 -4
  154. package/.docs/integrations/voice/azure.md +1 -1
  155. package/.docs/integrations/voice/cloudflare.md +1 -1
  156. package/.docs/integrations/voice/google.md +12 -12
  157. package/.docs/integrations/voice/inworld.md +2 -2
  158. package/.docs/integrations/voice/livekit.md +25 -25
  159. package/.docs/integrations/voice/openai.md +4 -4
  160. package/.docs/integrations/voice/sarvam.md +1 -1
  161. package/.docs/integrations/voice/speechify.md +1 -1
  162. package/.docs/integrations/voice/xai.md +1 -1
  163. package/.docs/integrations.md +2 -2
  164. package/.docs/models/environment-variables.md +92 -3
  165. package/.docs/models/gateways/merge-gateway.md +4 -1
  166. package/.docs/models/gateways/neon.md +1 -2
  167. package/.docs/models/gateways/netlify.md +7 -6
  168. package/.docs/models/gateways/openrouter.md +16 -11
  169. package/.docs/models/gateways/requesty.md +7 -17
  170. package/.docs/models/gateways/vercel.md +12 -16
  171. package/.docs/models/index.md +93 -30
  172. package/.docs/models/providers/302ai.md +2 -1
  173. package/.docs/models/providers/abacus.md +1 -1
  174. package/.docs/models/providers/abliteratedllm.md +95 -0
  175. package/.docs/models/providers/abliteration-ai.md +7 -6
  176. package/.docs/models/providers/adaption.md +87 -0
  177. package/.docs/models/providers/adzuki.md +92 -0
  178. package/.docs/models/providers/aigrow.md +89 -0
  179. package/.docs/models/providers/aimlapi.md +1 -7
  180. package/.docs/models/providers/aipg.md +82 -0
  181. package/.docs/models/providers/aistupidlevel.md +90 -0
  182. package/.docs/models/providers/aki-io.md +15 -13
  183. package/.docs/models/providers/ambient.md +13 -12
  184. package/.docs/models/providers/anonrouter.md +83 -0
  185. package/.docs/models/providers/anthropic.md +18 -20
  186. package/.docs/models/providers/apiko.md +83 -0
  187. package/.docs/models/providers/augure.md +86 -0
  188. package/.docs/models/providers/autarcho.md +81 -0
  189. package/.docs/models/providers/bailing.md +15 -12
  190. package/.docs/models/providers/bumo.md +100 -0
  191. package/.docs/models/providers/byteplus.md +94 -0
  192. package/.docs/models/providers/cedarllm.md +81 -0
  193. package/.docs/models/providers/cheapaimodel.md +85 -0
  194. package/.docs/models/providers/cheapest-token.md +99 -0
  195. package/.docs/models/providers/cheapllm.md +81 -0
  196. package/.docs/models/providers/chutes.md +8 -8
  197. package/.docs/models/providers/cline-pass.md +4 -3
  198. package/.docs/models/providers/cloudcode.md +86 -0
  199. package/.docs/models/providers/cloudflare-workers-ai.md +2 -1
  200. package/.docs/models/providers/commandcode.md +22 -1
  201. package/.docs/models/providers/confidential-ai.md +81 -0
  202. package/.docs/models/providers/cortecs.md +14 -14
  203. package/.docs/models/providers/crossmodel.md +7 -2
  204. package/.docs/models/providers/deepinfra.md +3 -1
  205. package/.docs/models/providers/digitalocean.md +5 -4
  206. package/.docs/models/providers/dothoosh.md +96 -0
  207. package/.docs/models/providers/doubleword.md +98 -0
  208. package/.docs/models/providers/edenai.md +52 -44
  209. package/.docs/models/providers/empiriolabs.md +2 -1
  210. package/.docs/models/providers/engy.md +2 -1
  211. package/.docs/models/providers/entrim.md +84 -0
  212. package/.docs/models/providers/ezkielyna.md +85 -0
  213. package/.docs/models/providers/fastrouter.md +21 -5
  214. package/.docs/models/providers/fiftyx.md +81 -0
  215. package/.docs/models/providers/fireworks-ai.md +1 -1
  216. package/.docs/models/providers/fortytwo.md +81 -0
  217. package/.docs/models/providers/frequency.md +81 -0
  218. package/.docs/models/providers/frogbot.md +30 -5
  219. package/.docs/models/providers/gisoo.md +96 -0
  220. package/.docs/models/providers/google.md +5 -4
  221. package/.docs/models/providers/graphn.md +87 -0
  222. package/.docs/models/providers/hetzner.md +1 -1
  223. package/.docs/models/providers/hostinger-router.md +88 -0
  224. package/.docs/models/providers/huawei-maas.md +88 -0
  225. package/.docs/models/providers/hubris.md +96 -0
  226. package/.docs/models/providers/huggingface.md +5 -1
  227. package/.docs/models/providers/humain.md +82 -0
  228. package/.docs/models/providers/hyper.md +24 -22
  229. package/.docs/models/providers/inceptron.md +4 -4
  230. package/.docs/models/providers/infer.md +17 -9
  231. package/.docs/models/providers/inferall.md +86 -0
  232. package/.docs/models/providers/inference-coop.md +88 -0
  233. package/.docs/models/providers/inferenceapis.md +91 -0
  234. package/.docs/models/providers/inferris.md +84 -0
  235. package/.docs/models/providers/infersia.md +86 -0
  236. package/.docs/models/providers/isoquant.md +82 -0
  237. package/.docs/models/providers/iteracompute.md +33 -16
  238. package/.docs/models/providers/jad-ai.md +83 -0
  239. package/.docs/models/providers/joingonka.md +83 -0
  240. package/.docs/models/providers/jzstoken.md +102 -0
  241. package/.docs/models/providers/keln.md +94 -0
  242. package/.docs/models/providers/kenari.md +47 -12
  243. package/.docs/models/providers/kilo.md +191 -100
  244. package/.docs/models/providers/kitani.md +89 -0
  245. package/.docs/models/providers/klavo.md +90 -0
  246. package/.docs/models/providers/korouter.md +99 -0
  247. package/.docs/models/providers/kunavo.md +96 -0
  248. package/.docs/models/providers/liquid.md +15 -8
  249. package/.docs/models/providers/lithosai.md +83 -0
  250. package/.docs/models/providers/llmgateway-providers.md +96 -43
  251. package/.docs/models/providers/llmgateway.md +33 -21
  252. package/.docs/models/providers/logits.md +82 -0
  253. package/.docs/models/providers/lowrouter.md +17 -4
  254. package/.docs/models/providers/lyceum.md +88 -0
  255. package/.docs/models/providers/mallard.md +81 -0
  256. package/.docs/models/providers/meragpt.md +81 -0
  257. package/.docs/models/providers/mistral.md +1 -1
  258. package/.docs/models/providers/moneo.md +92 -0
  259. package/.docs/models/providers/nan.md +11 -8
  260. package/.docs/models/providers/nano-gpt.md +77 -73
  261. package/.docs/models/providers/nearai.md +1 -1
  262. package/.docs/models/providers/nebius.md +3 -6
  263. package/.docs/models/providers/neuralwatt.md +28 -25
  264. package/.docs/models/providers/nodecode.md +81 -0
  265. package/.docs/models/providers/nokeep.md +83 -0
  266. package/.docs/models/providers/novita-ai.md +4 -1
  267. package/.docs/models/providers/oathbreaker.md +82 -0
  268. package/.docs/models/providers/obscurify.md +95 -0
  269. package/.docs/models/providers/ofox.md +7 -3
  270. package/.docs/models/providers/ollama-cloud.md +2 -1
  271. package/.docs/models/providers/openai.md +4 -2
  272. package/.docs/models/providers/opencode-go.md +3 -1
  273. package/.docs/models/providers/opencode.md +5 -3
  274. package/.docs/models/providers/opper.md +2 -1
  275. package/.docs/models/providers/outerlabs.md +98 -0
  276. package/.docs/models/providers/paraloncloud.md +81 -0
  277. package/.docs/models/providers/pareto.md +9 -7
  278. package/.docs/models/providers/phala.md +99 -0
  279. package/.docs/models/providers/phase.md +82 -0
  280. package/.docs/models/providers/powerspring.md +87 -0
  281. package/.docs/models/providers/prime.md +5 -5
  282. package/.docs/models/providers/proxystacks.md +84 -0
  283. package/.docs/models/providers/rayline.md +82 -0
  284. package/.docs/models/providers/refuseless.md +86 -0
  285. package/.docs/models/providers/ruapi.md +89 -0
  286. package/.docs/models/providers/runcrate.md +91 -0
  287. package/.docs/models/providers/runinfra.md +2 -1
  288. package/.docs/models/providers/sagg.md +81 -0
  289. package/.docs/models/providers/sambanova.md +10 -12
  290. package/.docs/models/providers/sandbase.md +90 -0
  291. package/.docs/models/providers/scx-ai.md +20 -10
  292. package/.docs/models/providers/sensenova.md +4 -4
  293. package/.docs/models/providers/siliconflow-cn.md +2 -1
  294. package/.docs/models/providers/sokkan.md +85 -0
  295. package/.docs/models/providers/sparrowcodes.md +99 -0
  296. package/.docs/models/providers/steadyrouter.md +101 -0
  297. package/.docs/models/providers/stepping-stone.md +95 -0
  298. package/.docs/models/providers/superbot-gg.md +82 -0
  299. package/.docs/models/providers/synthetic.md +14 -14
  300. package/.docs/models/providers/synthorai.md +92 -0
  301. package/.docs/models/providers/teamorouter.md +90 -0
  302. package/.docs/models/providers/teapot-router.md +87 -0
  303. package/.docs/models/providers/tencent-token-plan.md +23 -11
  304. package/.docs/models/providers/tenstorrent.md +84 -0
  305. package/.docs/models/providers/therouter.md +81 -0
  306. package/.docs/models/providers/tinfoil.md +1 -1
  307. package/.docs/models/providers/toapis.md +83 -0
  308. package/.docs/models/providers/tokenify.md +85 -0
  309. package/.docs/models/providers/tokenlab.md +81 -0
  310. package/.docs/models/providers/tokenwatt.md +81 -0
  311. package/.docs/models/providers/trustedtokens.md +90 -0
  312. package/.docs/models/providers/umans-ai-coding-plan.md +2 -5
  313. package/.docs/models/providers/umans-ai.md +5 -7
  314. package/.docs/models/providers/unbiased.md +81 -0
  315. package/.docs/models/providers/uncensuredai.md +83 -0
  316. package/.docs/models/providers/unrestricted.md +84 -0
  317. package/.docs/models/providers/uplinkswitch.md +92 -0
  318. package/.docs/models/providers/verda.md +81 -0
  319. package/.docs/models/providers/volcengine-coding-plan.md +16 -9
  320. package/.docs/models/providers/volcengine.md +2 -2
  321. package/.docs/models/providers/wafer.ai.md +20 -10
  322. package/.docs/models/providers/wallaby.md +7 -5
  323. package/.docs/models/providers/wally.md +9 -8
  324. package/.docs/models/providers/watt.md +98 -0
  325. package/.docs/models/providers/xxapi.md +96 -0
  326. package/.docs/models/providers/zenifra.md +22 -10
  327. package/.docs/models/providers/zerogpu.md +89 -0
  328. package/.docs/models/providers/zro.md +85 -0
  329. package/.docs/models/providers.md +92 -3
  330. package/.docs/reference/agents/agent.md +1 -1
  331. package/.docs/reference/agents/durable-agent.md +2 -2
  332. package/.docs/reference/agents/generateLegacy.md +4 -4
  333. package/.docs/reference/agents/network.md +2 -2
  334. package/.docs/reference/ai-sdk/overview.md +2 -2
  335. package/.docs/reference/build-with-ai.md +3 -3
  336. package/.docs/reference/channels/slack-provider.md +1 -1
  337. package/.docs/reference/classifier/classifier.md +1 -1
  338. package/.docs/reference/cli/mastra.md +4 -4
  339. package/.docs/reference/client-js/agent-controller.md +1 -1
  340. package/.docs/reference/client-js/memory.md +10 -10
  341. package/.docs/reference/client-js/observability.md +1 -1
  342. package/.docs/reference/client-js/responses.md +1 -1
  343. package/.docs/reference/client-js/tools.md +2 -2
  344. package/.docs/reference/client-js/vectors.md +6 -6
  345. package/.docs/reference/configuration.md +1 -1
  346. package/.docs/reference/connect/tools.md +1 -1
  347. package/.docs/reference/deployer.md +4 -4
  348. package/.docs/reference/evals/answer-relevancy.md +2 -2
  349. package/.docs/reference/evals/bias.md +2 -2
  350. package/.docs/reference/evals/checks.md +1 -1
  351. package/.docs/reference/evals/completeness.md +4 -4
  352. package/.docs/reference/evals/content-similarity.md +4 -4
  353. package/.docs/reference/evals/context-precision.md +6 -6
  354. package/.docs/reference/evals/context-recall.md +1 -1
  355. package/.docs/reference/evals/context-relevance.md +9 -9
  356. package/.docs/reference/evals/create-scorer.md +3 -3
  357. package/.docs/reference/evals/faithfulness.md +1 -1
  358. package/.docs/reference/evals/hallucination.md +6 -6
  359. package/.docs/reference/evals/keyword-coverage.md +2 -2
  360. package/.docs/reference/evals/multi-turn-judge.md +1 -1
  361. package/.docs/reference/evals/noise-sensitivity.md +16 -16
  362. package/.docs/reference/evals/prompt-alignment.md +25 -25
  363. package/.docs/reference/evals/run-evals.md +2 -2
  364. package/.docs/reference/evals/summarization.md +1 -1
  365. package/.docs/reference/evals/textual-difference.md +2 -2
  366. package/.docs/reference/evals/tone-consistency.md +2 -2
  367. package/.docs/reference/evals/tool-call-accuracy.md +10 -10
  368. package/.docs/reference/evals/toxicity.md +2 -2
  369. package/.docs/reference/evals/trajectory-accuracy.md +2 -2
  370. package/.docs/reference/manual-install.md +2 -2
  371. package/.docs/reference/memory/listThreads.md +1 -1
  372. package/.docs/reference/migrations/agentnetwork.md +1 -1
  373. package/.docs/reference/migrations/mastra-cloud.md +9 -9
  374. package/.docs/reference/migrations/mcp-v2.md +1 -1
  375. package/.docs/reference/migrations/upgrade-to-v1/deployment.md +1 -1
  376. package/.docs/reference/migrations/upgrade-to-v1/overview.md +8 -8
  377. package/.docs/reference/migrations/upgrade-to-v1/tracing.md +3 -3
  378. package/.docs/reference/observability/tracing/advanced-queries.md +1 -1
  379. package/.docs/reference/observability/tracing/bridges/datadog.md +4 -4
  380. package/.docs/reference/observability/tracing/bridges/otel.md +4 -4
  381. package/.docs/reference/observability/tracing/exporters/arize.md +4 -4
  382. package/.docs/reference/observability/tracing/exporters/arthur.md +3 -3
  383. package/.docs/reference/observability/tracing/exporters/braintrust.md +2 -2
  384. package/.docs/reference/observability/tracing/exporters/cloud-exporter.md +2 -2
  385. package/.docs/reference/observability/tracing/exporters/confident-ai.md +2 -2
  386. package/.docs/reference/observability/tracing/exporters/console-exporter.md +1 -1
  387. package/.docs/reference/observability/tracing/exporters/datadog.md +3 -3
  388. package/.docs/reference/observability/tracing/exporters/default-exporter.md +5 -5
  389. package/.docs/reference/observability/tracing/exporters/laminar.md +2 -2
  390. package/.docs/reference/observability/tracing/exporters/langfuse.md +3 -3
  391. package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +1 -1
  392. package/.docs/reference/observability/tracing/exporters/mastra-storage-exporter.md +5 -5
  393. package/.docs/reference/observability/tracing/exporters/otel.md +4 -4
  394. package/.docs/reference/observability/tracing/exporters/posthog.md +2 -2
  395. package/.docs/reference/observability/tracing/exporters/sentry.md +4 -4
  396. package/.docs/reference/observability/tracing/instances.md +1 -1
  397. package/.docs/reference/processors/model-selection-processor.md +2 -2
  398. package/.docs/reference/processors/processor-interface.md +3 -3
  399. package/.docs/reference/processors/stream-error-retry-processor.md +1 -1
  400. package/.docs/reference/processors/system-prompt-scrubber.md +1 -1
  401. package/.docs/reference/processors/token-limiter-processor.md +1 -1
  402. package/.docs/reference/processors/unicode-normalizer.md +1 -1
  403. package/.docs/reference/project-structure.md +2 -2
  404. package/.docs/reference/pubsub/google-cloud-pubsub.md +1 -1
  405. package/.docs/reference/pubsub/lease-provider.md +1 -1
  406. package/.docs/reference/pubsub/redis-streams.md +1 -1
  407. package/.docs/reference/pubsub/unix-socket-pubsub.md +1 -1
  408. package/.docs/reference/rag/chunk.md +1 -1
  409. package/.docs/reference/rag/chunking-and-embedding.md +4 -4
  410. package/.docs/reference/rag/database-config.md +4 -4
  411. package/.docs/reference/rag/graph-rag-guide.md +3 -3
  412. package/.docs/reference/rag/metadata-filters.md +4 -4
  413. package/.docs/reference/rag/overview.md +4 -0
  414. package/.docs/reference/rag/rerank.md +1 -1
  415. package/.docs/reference/rag/rerankWithScorer.md +1 -1
  416. package/.docs/reference/rag/retrieval.md +8 -6
  417. package/.docs/reference/rag/vector-databases.md +7 -7
  418. package/.docs/reference/server/nestjs-adapter.md +1 -1
  419. package/.docs/reference/server/register-api-route.md +5 -5
  420. package/.docs/reference/storage/composite.md +1 -1
  421. package/.docs/reference/storage/overview.md +1 -1
  422. package/.docs/reference/storage/retention.md +2 -2
  423. package/.docs/reference/storage/turso.md +1 -1
  424. package/.docs/reference/streaming/agents/MastraModelOutput.md +5 -5
  425. package/.docs/reference/streaming/agents/stream.md +5 -5
  426. package/.docs/reference/streaming/agents/streamLegacy.md +4 -4
  427. package/.docs/reference/templates/overview.md +1 -1
  428. package/.docs/reference/tools/bedrock-kb-tool.md +8 -8
  429. package/.docs/reference/tools/create-tool.md +1 -1
  430. package/.docs/reference/tools/mcp-client.md +9 -9
  431. package/.docs/reference/tools/mcp-server.md +17 -17
  432. package/.docs/reference/tools/vector-query-tool.md +6 -6
  433. package/.docs/reference/voice/composite-voice.md +3 -3
  434. package/.docs/reference/voice/overview.md +5 -5
  435. package/.docs/reference/voice/speech-to-speech.md +2 -2
  436. package/.docs/reference/voice/voice.close.md +1 -1
  437. package/.docs/reference/voice/voice.connect.md +1 -1
  438. package/.docs/reference/voice/voice.listen.md +1 -1
  439. package/.docs/reference/voice/voice.speak.md +1 -1
  440. package/.docs/reference/workspace/local-sandbox.md +1 -1
  441. package/.docs/reference/workspace/platform-filesystem.md +1 -1
  442. package/.docs/reference/workspace/platform-sandbox.md +1 -1
  443. package/package.json +4 -4
  444. /package/.docs/docs/mastra-platform/{observability.md → observability/overview.md} +0 -0
@@ -6,7 +6,7 @@
6
6
 
7
7
  The Upstash storage implementation provides a serverless-friendly storage solution using Upstash's Redis-compatible key-value store.
8
8
 
9
- > **Pricing:** When using Mastra with Upstash, the pay-as-you-go model can result in unexpectedly high costs due to the high volume of Redis commands generated during agent conversations. We strongly recommend using a **fixed pricing plan** for predictable costs. See [Upstash pricing](https://upstash.com/pricing/redis) for details and [GitHub issue #5850](https://github.com/mastra-ai/mastra/issues/5850) for context.
9
+ > **Pricing:** When using Mastra with Upstash, the pay-as-you-go model can result in high costs due to the high volume of Redis commands generated during agent conversations. Use a **fixed pricing plan** for predictable costs. See [Upstash pricing](https://upstash.com/pricing/redis) for details and [GitHub issue #5850](https://github.com/mastra-ai/mastra/issues/5850) for context.
10
10
 
11
11
  > **Observability Not Supported:** Upstash storage **doesn't support the observability domain**. Traces from the `MastraStorageExporter` can't be persisted to Upstash, and [Studio's](https://mastra.ai/docs/studio/overview) observability features won't work with Upstash as your only storage provider. To enable observability, use [composite storage](https://mastra.ai/reference/storage/composite) to route observability data to a supported provider like ClickHouse.
12
12
 
@@ -58,7 +58,7 @@ const storage = new UpstashStore({
58
58
 
59
59
  ## Additional notes
60
60
 
61
- ### Key Structure
61
+ ### Key structure
62
62
 
63
63
  The Upstash storage implementation uses a key-value structure:
64
64
 
@@ -66,7 +66,7 @@ The Upstash storage implementation uses a key-value structure:
66
66
  - Message keys: `{prefix}message:{messageId}`
67
67
  - Metadata keys: `{prefix}metadata:{entityId}`
68
68
 
69
- ### Serverless Benefits
69
+ ### Serverless benefits
70
70
 
71
71
  Upstash storage is particularly well-suited for serverless deployments:
72
72
 
@@ -75,7 +75,7 @@ Upstash storage is particularly well-suited for serverless deployments:
75
75
  - Global replication options
76
76
  - Edge-compatible
77
77
 
78
- ### Data Persistence
78
+ ### Data persistence
79
79
 
80
80
  Upstash provides:
81
81
 
@@ -83,7 +83,7 @@ Upstash provides:
83
83
  - Point-in-time recovery
84
84
  - Cross-region replication options
85
85
 
86
- ### Performance Considerations
86
+ ### Performance considerations
87
87
 
88
88
  For optimal performance:
89
89
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  The Valkey storage implementation provides persistent storage and server-side caching through the [Valkey GLIDE](https://github.com/valkey-io/valkey-glide) client. Use it when your deployment runs Valkey or needs GLIDE features such as native Valkey configuration and authentication.
8
8
 
9
- Use [`@mastra/redis`](https://mastra.ai/integrations/databases/redis) for Redis deployments that use the official `redis` client. The packages are tested independently against their respective servers.
9
+ Use [`@mastra/redis`](https://mastra.ai/integrations/databases/redis) for Redis deployments that use the official `redis` client. Each package is tested independently against its own server.
10
10
 
11
11
  ## Installation
12
12
 
@@ -122,7 +122,7 @@ For production, you'll also need:
122
122
 
123
123
  You can open port 4111 in your EC2 security group for direct access, or configure a reverse proxy (such as nginx) to listen on ports 80 and 443 and forward requests to `http://localhost:4111`.
124
124
 
125
- In production, you should use a reverse proxy so you can configure HTTPS. HTTPS encrypts traffic and is required for most webhook integrations and external services your agents interact with.
125
+ In production, use a reverse proxy so you can configure HTTPS. HTTPS encrypts traffic and is required for most webhook integrations and external services your agents interact with.
126
126
 
127
127
  7. Verify your deployment at `https://<your-ec2-address>/api/agents`, which should return a JSON list of your agents.
128
128
 
@@ -144,7 +144,7 @@ yarn add --dev typescript @types/node tsx
144
144
  bun add --dev typescript @types/node tsx
145
145
  ```
146
146
 
147
- Run [`mastra init`](https://mastra.ai/reference/cli/mastra) to set up a new Mastra project. The provider you choose at the prompt is overwritten in the next step, so any value works:
147
+ Run [`mastra init`](https://mastra.ai/reference/cli/mastra) to set up a new Mastra project. The provider you choose at the prompt is overwritten in the next step. Any value works:
148
148
 
149
149
  **npm**:
150
150
 
@@ -62,7 +62,7 @@ CMD ["node", ".mastra/output/index.mjs"]
62
62
 
63
63
  ## Build and push the Docker image
64
64
 
65
- 1. Set up environment variables for the deployment. Use the same region for all AWS services (ECR, Lambda) to avoid issues with resources not appearing across regions:
65
+ 1. Set up environment variables for the deployment. Use the same region for all AWS services (ECR, Lambda) to avoid resources that exist in only one region:
66
66
 
67
67
  ```bash
68
68
  export PROJECT_NAME="your-mastra-app"
@@ -105,32 +105,32 @@ CMD ["node", ".mastra/output/index.mjs"]
105
105
 
106
106
  ## Create the Lambda function
107
107
 
108
- 1. Navigate to the [AWS Lambda Console](https://console.aws.amazon.com/lambda/) and click **Create function**. Make sure you have the same region selected as where you created your ECR repository.
108
+ 1. Navigate to the [AWS Lambda Console](https://console.aws.amazon.com/lambda/) and select **Create function**. Ensure you have the same region selected as where you created your ECR repository.
109
109
 
110
110
  2. Select **Container image** and configure the function:
111
111
 
112
112
  - **Function name**: Enter a name (e.g. `mastra-app`)
113
- - **Container image URI**: Click **Browse images**, select your ECR repository, and choose the `latest` tag
113
+ - **Container image URI**: Select **Browse images**, pick your ECR repository, and choose the `latest` tag
114
114
  - **Architecture**: Select **arm64**
115
115
 
116
- Click **Create function** to create the Lambda function.
116
+ Select **Create function** to create the Lambda function.
117
117
 
118
- 3. Configure memory and timeout. Go to **Configuration** > **General configuration** and click **Edit**:
118
+ 3. Configure memory and timeout. Go to **Configuration** > **General configuration** and select **Edit**:
119
119
 
120
120
  - **Memory**: 512 MB (adjust based on your application needs)
121
121
  - **Timeout**: 1 minute or higher (the default 3 seconds is too low for most Mastra applications)
122
122
 
123
- Click **Save**.
123
+ Select **Save**.
124
124
 
125
- 4. Add environment variables. Go to **Configuration** > **Environment variables** and click **Edit**. Add the variables your Mastra application needs:
125
+ 4. Add environment variables. Go to **Configuration** > **Environment variables** and select **Edit**. Add the variables your Mastra application needs:
126
126
 
127
127
  - `OPENAI_API_KEY`: Your OpenAI API key (if using OpenAI)
128
128
  - `ANTHROPIC_API_KEY`: Your Anthropic API key (if using Anthropic)
129
129
  - Other provider-specific API keys as needed (e.g. `TURSO_DATABASE_URL` and `TURSO_AUTH_TOKEN` if using LibSQL with Turso)
130
130
 
131
- Click **Save**.
131
+ Select **Save**.
132
132
 
133
- 5. Enable a Function URL for external access. Go to **Configuration** > **Function URL** and click **Create function URL**:
133
+ 5. Enable a Function URL for external access. Go to **Configuration** > **Function URL** and select **Create function URL**:
134
134
 
135
135
  - **Auth type**: Select **NONE** for public access
136
136
 
@@ -140,11 +140,11 @@ CMD ["node", ".mastra/output/index.mjs"]
140
140
  - **Allow headers**: `content-type` (`x-amzn-request-context` is also required when used with services like CloudFront/API Gateway)
141
141
  - **Allow methods**: `*`
142
142
 
143
- Click **Save**.
143
+ Select **Save**.
144
144
 
145
145
  ## Verify your deployment
146
146
 
147
- 1. Copy the **Function URL** from the Lambda console and visit `<your-function-url>/api/agents` in your browser. You should see a JSON list of your agents.
147
+ 1. Copy the **Function URL** from the Lambda console and visit `<your-function-url>/api/agents` in your browser. The response is a JSON list of your agents.
148
148
 
149
149
  2. You can now call your Mastra endpoints over HTTP.
150
150
 
@@ -152,7 +152,7 @@ CMD ["node", ".mastra/output/index.mjs"]
152
152
 
153
153
  ## Next steps
154
154
 
155
- This guide provides a quickstart for deploying Mastra to AWS Lambda. For production workloads, consider enabling [CloudWatch monitoring](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-cloudwatchlogs.html) for your Lambda function, setting up [AWS X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) for distributed tracing, and configuring [provisioned concurrency](https://docs.aws.amazon.com/lambda/latest/dg/provisioned-concurrency.html) for consistent performance.
155
+ The steps below deploy Mastra to AWS Lambda. For production workloads, consider enabling [CloudWatch monitoring](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-cloudwatchlogs.html) for your Lambda function, setting up [AWS X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) for distributed tracing, and configuring [provisioned concurrency](https://docs.aws.amazon.com/lambda/latest/dg/provisioned-concurrency.html) for consistent performance.
156
156
 
157
157
  ## Related
158
158
 
@@ -48,7 +48,7 @@ In these steps you'll learn how to create a new Azure App Service for hosting yo
48
48
 
49
49
  ## GitHub deployment
50
50
 
51
- In these steps, you'll connect your Azure App Service to your GitHub repository to enable continuous deployment. This means that every time you push changes to your repository, Azure will automatically build and deploy your application.
51
+ In these steps, you'll connect your Azure App Service to your GitHub repository to enable continuous deployment. Every time you push changes to your repository, Azure builds and deploys your application.
52
52
 
53
53
  1. Navigate to **Deployment Center** in the left sidebar and select **GitHub** as your source. Sign in to GitHub if you're not already authenticated with Azure.
54
54
 
@@ -81,7 +81,7 @@ In these steps, you'll connect your Azure App Service to your GitHub repository
81
81
 
82
82
  Once the build is successful, wait a few moments for the application to start. You can access your deployed application using the default URL provided in the **Overview** tab in the Azure portal. Your application will be available at `https://<your-app-name>.azurewebsites.net`.
83
83
 
84
- Copy the URL from the Azure portal and visit `https://<your-app-name>.azurewebsites.net/api/agents` in your browser. You should see a JSON list of your agents.
84
+ Copy the URL from the Azure portal and visit `https://<your-app-name>.azurewebsites.net/api/agents` in your browser. The response is a JSON list of your agents.
85
85
 
86
86
  You can now call your Mastra endpoints over HTTP.
87
87
 
@@ -92,9 +92,9 @@ After setting up your project, push it to your remote Git provider of choice (e.
92
92
 
93
93
  > **Note:** Remember to set your environment variables needed to run your application (e.g. your [model provider](https://mastra.ai/models/providers) API key). You can upload secrets from your `.env` file using `npx wrangler secret bulk .env`. See [Secrets](https://mastra.ai/reference/deployer/cloudflare) for details.
94
94
 
95
- 2. Once you're ready, click the **Deploy** button and wait for the first deployment to complete.
95
+ 2. Once you're ready, select **Deploy** and wait for the first deployment to complete.
96
96
 
97
- 3. Try out your newly deployed function by going to `https://<your-project-name>.<slug>.workers.dev/api/agents`. You should get a JSON response listing all available agents.
97
+ 3. Try out your newly deployed function by going to `https://<your-project-name>.<slug>.workers.dev/api/agents`. The response is a JSON list of all available agents.
98
98
 
99
99
  Since the [Mastra server](https://mastra.ai/docs/server/overview) prefixes every API endpoint with `/api`, you have to add it to your URLs when making requests.
100
100
 
@@ -20,7 +20,7 @@ After setting up your project, push it to your remote Git provider of choice (e.
20
20
 
21
21
  1. Follow the official [App Platform quickstart](https://docs.digitalocean.com/products/app-platform/getting-started/quickstart/#create-an-app). It'll guide you through connecting your repository, selecting the branch to deploy from, and configuring the source directory if necessary.
22
22
 
23
- 2. Make sure that a "Node.js" build is detected. You'll need to configure a build command. Set it based on your package manager:
23
+ 2. Ensure that a "Node.js" build is detected. You'll need to configure a build command. Set it based on your package manager:
24
24
 
25
25
  **npm**:
26
26
 
@@ -66,7 +66,7 @@ After setting up your project, push it to your remote Git provider of choice (e.
66
66
 
67
67
  ### Deploy
68
68
 
69
- After setting up your project, push it to your remote Git provider of choice (e.g. GitHub). Connect to your Droplet and make sure `git` is installed.
69
+ After setting up your project, push it to your remote Git provider of choice (e.g. GitHub). Connect to your Droplet and ensure `git` is installed.
70
70
 
71
71
  1. Clone your repository:
72
72
 
@@ -212,7 +212,7 @@ export const mastra = new Mastra({
212
212
 
213
213
  ### Running in production
214
214
 
215
- Before you begin, make sure you have:
215
+ Before you begin, ensure you have:
216
216
 
217
217
  - Vercel account and Vercel CLI installed (`npm i -g vercel`)
218
218
  - Inngest account
@@ -234,8 +234,8 @@ Before you begin, make sure you have:
234
234
  deployer: new VercelDeployer({
235
235
  teamSlug: 'your_team_slug',
236
236
  projectName: 'your_project_name',
237
- // you can get your vercel token from the vercel dashboard by clicking on the user icon in the top right corner
238
- // and then clicking on "Account Settings" and then clicking on "Tokens" on the left sidebar.
237
+ // you can get your vercel token from the vercel dashboard by selecting on the user icon in the top right corner
238
+ // and then selecting on "Account Settings" and then selecting on "Tokens" on the left sidebar.
239
239
  token: process.env.VERCEL_TOKEN,
240
240
  }),
241
241
  })
@@ -348,7 +348,7 @@ When you include custom functions:
348
348
  2. Custom functions retain their specified IDs (e.g., `send-welcome-email`, `process-webhook`)
349
349
  3. All functions are served together on the same `/inngest/api` endpoint
350
350
 
351
- This allows you to combine Mastra's workflow orchestration with your existing Inngest functions.
351
+ You can combine Mastra's workflow orchestration with your existing Inngest functions.
352
352
 
353
353
  ## Using with other frameworks
354
354
 
@@ -822,6 +822,6 @@ When you configure a workflow with a `cron` property:
822
822
  3. Each scheduled execution creates a new workflow run with the provided `inputData` and `initialState`
823
823
  4. The cron function and the main workflow function are both served together when you call `serve()`
824
824
 
825
- You can monitor scheduled executions in the Inngest dashboard under **Functions** and **Runs** sections. The cron function will appear as a separate function alongside your main workflow function.
825
+ You can monitor scheduled executions in the Inngest dashboard under **Functions** and **Runs** sections. The cron function will show up as a separate function alongside your main workflow function.
826
826
 
827
827
  For more information on cron scheduling, see the [Inngest cron documentation](https://www.inngest.com/docs/guides/scheduled-functions).
@@ -4,9 +4,9 @@
4
4
 
5
5
  # Kubernetes (Helm)
6
6
 
7
- > **Enterprise only:** The Helm chart is available exclusively to Mastra Enterprise customers. It is distributed from a private registry: your Enterprise license is exchanged for short-lived pull credentials. [Contact us](https://mastra.ai/contact) to get an Enterprise license.
7
+ > **Enterprise only:** The Helm chart is available exclusively to Mastra Enterprise customers. It's distributed from a private registry: your Enterprise license is exchanged for short-lived pull credentials. [Contact Mastra](https://mastra.ai/contact) to get an Enterprise license.
8
8
 
9
- Deploy the Mastra platform — Mastra Server (your agent runtime) and Mastra Studio (the management UI) — on any Kubernetes cluster using the official `mastra-projects` Helm chart. The chart works on GKE, EKS, AKS, and generic or local clusters, and handles service exposure, TLS, and secret wiring for you.
9
+ Deploy the Mastra platform, which includes Mastra Server (your agent runtime) and Mastra Studio (the management UI), on any Kubernetes cluster using the official `mastra-projects` Helm chart. The chart works on GKE, EKS, AKS, and generic or local clusters, and handles service exposure, TLS, and secret wiring for you.
10
10
 
11
11
  The chart follows two design principles:
12
12
 
@@ -23,7 +23,7 @@ You'll need:
23
23
  - [Helm](https://helm.sh/docs/intro/install/) 3.8+ (OCI registry support)
24
24
  - A container registry your cluster can pull from
25
25
  - A PostgreSQL database reachable from the cluster
26
- - A Mastra Enterprise license key — required both to pull the chart and at runtime in production
26
+ - A Mastra Enterprise license key, required both to pull the chart and at runtime in production
27
27
  - For `ingress` mode: an ingress controller, or let the chart install one
28
28
  - For `gateway` mode: Gateway API CRDs and a Gateway controller (for example GKE's managed Gateway)
29
29
 
@@ -54,7 +54,7 @@ You'll need:
54
54
  .mastra/output/node_modules
55
55
  ```
56
56
 
57
- > **Warning:** Don't `COPY` the host-built `node_modules` into the image. `mastra build` installs native modules for your local platform — an image built on an Apple Silicon Mac for an amd64 cluster will crash at startup with errors like `Cannot find module '@libsql/linux-x64-gnu'`. Installing dependencies in-image (as above) always matches the target platform.
57
+ > **Warning:** Don't `COPY` the host-built `node_modules` into the image. `mastra build` installs native modules for your local platform. An image built on an Apple Silicon Mac for an amd64 cluster will crash at startup with errors like `Cannot find module '@libsql/linux-x64-gnu'`. Installing dependencies in-image (as above) always matches the target platform.
58
58
 
59
59
  Push the image to your registry. If your machine's architecture differs from your cluster nodes (for example an arm64 Mac deploying to amd64 nodes), build with `--platform`:
60
60
 
@@ -177,11 +177,11 @@ The chart supports three ways to expose Server and Studio, selected once via `gl
177
177
 
178
178
  | Mode | What you get | Required values |
179
179
  | ------------------------ | --------------------------------------------------------------------- | -------------------------------------------------------------- |
180
- | `loadBalancer` (default) | One `LoadBalancer` Service per component with per-cloud annotations | — |
180
+ | `loadBalancer` (default) | One `LoadBalancer` Service per component with per-cloud annotations | None |
181
181
  | `ingress` | ClusterIP Services plus one Ingress per component | `mastra-server.ingress.host`, `mastra-studio.ingress.host` |
182
182
  | `gateway` | ClusterIP Services, a shared Gateway, and one HTTPRoute per component | `mastra-server.httpRoute.host`, `mastra-studio.httpRoute.host` |
183
183
 
184
- ### Ingress with Let's Encrypt TLS
184
+ ### Ingress with cert-manager TLS
185
185
 
186
186
  Use `ingress` mode with cert-manager to serve both components over HTTPS. The chart can install ingress-nginx and cert-manager for you, or use controllers you already run:
187
187
 
@@ -238,7 +238,7 @@ The chart creates a shared Gateway with HTTP and per-component HTTPS listeners.
238
238
 
239
239
  ## Cloud presets
240
240
 
241
- The chart ships a values preset per platform that sets `global.cloud` and platform-appropriate defaults:
241
+ The chart includes a values preset per platform that sets `global.cloud` and platform-appropriate defaults:
242
242
 
243
243
  | Platform | Preset | Notes |
244
244
  | --------------------- | ------------------- | ------------------------------------------------------------------------------------- |
@@ -309,7 +309,7 @@ Before enabling workers:
309
309
 
310
310
  - **A pull-capable PubSub backend** configured in your Mastra application: Redis Streams, Valkey Streams, or Google Cloud Pub/Sub. Workers pull events from the broker, so request/response-only backends won't work. Put its connection string (for example `REDIS_URL`) in the same Secret the Server uses.
311
311
  - **A storage backend that supports the `schedules` domain**, if you enable the scheduler: PostgreSQL, LibSQL, MySQL, MongoDB, Spanner, or Convex. Redis and ClickHouse don't support it, and the scheduler won't find due schedules on them.
312
- - **`mastra-server.workers.splitDeployment: true`.** Without it the API keeps running workers in-process, so every worker also runs in the API pods alongside the worker Deployments. The chart refuses to render if you enable workers without it.
312
+ - **`mastra-server.workers.splitDeployment: true`.** Without it the API keeps running workers in-process, which means every worker also runs in the API pods alongside the worker Deployments. The chart refuses to render if you enable workers without it.
313
313
 
314
314
  > **Redis eviction policy:** Set `maxmemory-policy` to `noeviction` on Redis or Valkey. Every evicting policy deletes live Mastra state under memory pressure: `allkeys-*` policies evict unacknowledged workflow events, and `volatile-*` policies evict lease keys and streams, which carry a TTL by default. Runs then stall without a run error. `RedisStreamsPubSub` and `ValkeyStreamsPubSub` log a one-time warning after they first connect when the policy can evict. On managed Redis this is a parameter-group setting, and Amazon ElastiCache defaults to `volatile-lru`.
315
315
 
@@ -324,7 +324,7 @@ mastra worker build --output-dir .mastra/worker
324
324
 
325
325
  `--output-dir` is required. Without it, `mastra worker build` writes to `.mastra/output` and **overwrites the server bundle**, leaving you with a worker-only image.
326
326
 
327
- The two bundles declare different dependencies — the worker pulls in packages such as `bufferutil` and `pg` that the server bundle doesn't list — so each needs its own `npm install`. Node resolves modules upward from the entrypoint, so the worker finds its packages in `.mastra/worker/node_modules`:
327
+ The worker and server bundles declare different dependencies: the worker pulls in packages such as `bufferutil` and `pg` that the server bundle doesn't list, which means each needs its own `npm install`. Because Node resolves modules upward from the entrypoint, the worker finds its packages in `.mastra/worker/node_modules`:
328
328
 
329
329
  ```dockerfile
330
330
  FROM node:22-slim
@@ -349,13 +349,13 @@ CMD ["node", "index.mjs"]
349
349
  .mastra/worker/node_modules
350
350
  ```
351
351
 
352
- The server still starts with `CMD ["node", "index.mjs"]` and Studio assets stay at `/app/studio`, so nothing about the Server or Studio deployment changes. The worker entrypoint lands at `/app/.mastra/worker/index.mjs`, which is the chart's default `mastra-workers.command`. If you lay your image out differently, override that value to match.
352
+ The server still starts with `CMD ["node", "index.mjs"]` and Studio assets stay at `/app/studio`, so nothing about the Server or Studio deployment changes. The worker entrypoint is written to `/app/.mastra/worker/index.mjs`, which is the chart's default `mastra-workers.command`. If you lay your image out differently, override that value to match.
353
353
 
354
354
  > **Use a new tag for each build:** Push each build under its own tag. The chart's default `imagePullPolicy` is `IfNotPresent`, so re-pushing an existing tag leaves nodes running the cached digest and your worker pods keep crashing on the old bundle.
355
355
 
356
356
  ### Enable workers
357
357
 
358
- Workers run the **same image** as the Server — `mastra build` emits the worker entrypoint alongside the server entrypoint. Setting `global.image` once keeps every component on the same build:
358
+ Workers run the **same image** as the Server because `mastra build` emits the worker entrypoint alongside the server entrypoint. Setting `global.image` once keeps every component on the same build:
359
359
 
360
360
  ```yaml
361
361
  global:
@@ -388,13 +388,13 @@ Worker pods mount the **Server's** ConfigMap and Secret rather than defining the
388
388
 
389
389
  ### Roles and scaling
390
390
 
391
- | Role | Scales | Notes |
392
- | ----------------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
393
- | `orchestration` | Yes | Consumes the `workflows` topic and calls back into the API to execute steps. The consumer group distributes work across replicas. |
394
- | `scheduler` | **No — always 1** | Polls storage for due cron schedules. The chart pins it to one replica and uses the `Recreate` strategy. Extra schedulers are safe but add polling load without adding throughput. |
395
- | `backgroundTasks` | Yes | Executes agent tool calls marked `background: { enabled: true }` off the request path. |
391
+ | Role | Scales | Notes |
392
+ | ----------------- | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
393
+ | `orchestration` | Yes | Consumes the `workflows` topic and calls back into the API to execute steps. The consumer group distributes work across replicas. |
394
+ | `scheduler` | **No, always 1** | Polls storage for due cron schedules. The chart pins it to one replica and uses the `Recreate` strategy. Extra schedulers are safe but add polling load without adding throughput. |
395
+ | `backgroundTasks` | Yes | Executes agent tool calls marked `background: { enabled: true }` off the request path. |
396
396
 
397
- The two scalable roles support autoscaling. Utilization targets need matching resource requests, and the chart fails the render if you enable autoscaling without them:
397
+ The API and worker roles support autoscaling. Utilization targets need matching resource requests, and the chart fails the render if you enable autoscaling without them:
398
398
 
399
399
  ```yaml
400
400
  mastra-workers:
@@ -431,7 +431,7 @@ The guard exists because a version skew between the API and the workers is silen
431
431
 
432
432
  ### Restarting workers after a config change
433
433
 
434
- Worker pods don't restart automatically when the Server's ConfigMap or Secret changes — Helm's checksum annotations only cover objects a chart owns, and those belong to `mastra-server`. Roll them yourself:
434
+ Worker pods don't restart automatically when the Server's ConfigMap or Secret changes. Helm's checksum annotations only cover objects a chart owns, and those belong to `mastra-server`. Roll them yourself:
435
435
 
436
436
  ```bash
437
437
  kubectl rollout restart deploy -n mastra -l app.kubernetes.io/name=mastra-workers,app.kubernetes.io/instance=mastra
@@ -441,10 +441,10 @@ kubectl rollout restart deploy -n mastra -l app.kubernetes.io/name=mastra-work
441
441
 
442
442
  - Reference credentials with `existingSecret` instead of plaintext values.
443
443
  - Set resource requests via `mastra-server.resources` and `mastra-studio.resources`.
444
- - Prefer standalone cert-manager and ingress controller installs over the bundled toggles; CRD lifecycle inside an umbrella chart complicates upgrades.
444
+ - Prefer standalone cert-manager and ingress controller installs over the bundled toggles. CRD lifecycle inside an umbrella chart complicates upgrades.
445
445
  - Enable multiple replicas only after configuring shared storage, distributed PubSub, shared cache, and the required process roles.
446
446
  - When running background workers, set `mastra-server.workers.splitDeployment: true` and set `maxmemory-policy` to `noeviction` on Redis or Valkey.
447
- - The chart applies hardened defaults: non-root containers, read-only root filesystem, seccomp `RuntimeDefault`, and no service account token automount.
447
+ - The chart runs non-root containers with a read-only root filesystem, seccomp `RuntimeDefault`, and no service account token automount.
448
448
 
449
449
  ## Upgrade and uninstall
450
450
 
@@ -196,7 +196,7 @@ See the [Neon AI Gateway](https://mastra.ai/models/gateways/neon) for the model
196
196
 
197
197
  5. You can now call your Mastra endpoints over HTTP.
198
198
 
199
- > **Warning:** Set up [authentication](https://mastra.ai/docs/auth/overview) before exposing your endpoints publicly. The function URL is public; see [Neon Functions authentication](https://neon.com/docs/compute/functions/authentication).
199
+ > **Warning:** Set up [authentication](https://mastra.ai/docs/auth/overview) before exposing your endpoints publicly. The function URL is public. See [Neon Functions authentication](https://neon.com/docs/compute/functions/authentication).
200
200
 
201
201
  ## Local development
202
202
 
@@ -83,7 +83,7 @@ After setting up your project, push it to your remote Git provider of choice (e.
83
83
 
84
84
  > **Note:** Remember to set your environment variables needed to run your application (e.g. your [model provider](https://mastra.ai/models/providers) API key).
85
85
 
86
- 2. Once you're ready, click the **Deploy** button and wait for the first deployment to complete. It'll tell you that one function has been deployed.
86
+ 2. Once you're ready, select **Deploy** and wait for the first deployment to complete. It'll tell you that one function has been deployed.
87
87
 
88
88
  3. Verify your deployment at `https://<random-slug>.netlify.app/api/agents`, which should return a JSON list of your agents.
89
89
 
@@ -392,7 +392,7 @@ Running the pipeline on Render requires a _workflow service_. This is the Render
392
392
  | **Build Command** | `npm install && npm run build` |
393
393
  | **Start Command** | `npm run start:workflows` |
394
394
 
395
- Click **Deploy Workflow**. Render builds the project and registers `review_draft`, `revise_draft`, and `editorial_pipeline`, which then appear on the workflow's **Tasks** page.
395
+ Select **Deploy Workflow**. Render builds the project and registers `review_draft`, `revise_draft`, and `editorial_pipeline`, which then appear on the workflow's **Tasks** page.
396
396
 
397
397
  The Render CLI creates the same service without leaving your terminal:
398
398
 
@@ -277,7 +277,7 @@ The worker build reads each workflow chain statically, so arguments must be reso
277
277
 
278
278
  Condition functions and `.sleep()` or `.sleepUntil()` function identifiers are called as activities named after the identifier, but the plugin only generates activities for steps and `.map()` callbacks. Register these functions yourself in `Worker.create({ activities })`, or the run fails when it reaches them. These functions receive `inputData`, `runId`, `workflowId`, `resourceId`, and `requestContext` as a plain object. They don't receive `getInitData()`.
279
279
 
280
- Nested workflows passed to `.then()` or `.parallel()` run as Temporal child workflows. Each one is registered as its own workflow type and appears as a separate execution in the Temporal UI. A suspended step inside a child workflow can't be resumed through the parent run.
280
+ Nested workflows passed to `.then()` or `.parallel()` run as Temporal child workflows. Each one is registered as its own workflow type and shows up as a separate execution in the Temporal UI. A suspended step inside a child workflow can't be resumed through the parent run.
281
281
 
282
282
  An unsupported construct stops the worker build with an error that names the workflow and file:
283
283
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
4
4
 
5
- # Vercel Deployer
5
+ # Vercel deployer
6
6
 
7
7
  Use `@mastra/deployer-vercel` to deploy your Mastra server as serverless functions on Vercel. The deployer bundles your code and generates a `.vercel/output` directory conforming to Vercel's [Build Output API](https://vercel.com/docs/build-output-api/v3), ready to deploy with no additional configuration.
8
8
 
@@ -57,11 +57,11 @@ export const mastra = new Mastra({
57
57
 
58
58
  1. Push your project to a remote Git provider (e.g. GitHub) and connect your repository to Vercel.
59
59
 
60
- By default, Vercel runs `npm run build`, which triggers `mastra build`. If you don't have a build script, add `"build": "mastra build"` to your `package.json`.
60
+ By default, Vercel runs `npm run build`, which triggers `mastra build`. When your `package.json` has no build script, add `"build": "mastra build"`.
61
61
 
62
62
  > **Note:** Remember to set your environment variables needed to run your application (e.g. your [model provider](https://mastra.ai/models/providers) API key).
63
63
 
64
- 2. Once you're ready, click **Deploy** and wait for the first deployment to complete.
64
+ 2. Once you're ready, select **Deploy** and wait for the first deployment to complete.
65
65
 
66
66
  3. Verify your deployment at `https://<your-project>.vercel.app/api/agents`, which should return a JSON list of your agents.
67
67
 
@@ -90,7 +90,7 @@ After deploying, Studio is available at the root URL (`https://<your-project>.ve
90
90
 
91
91
  Studio serves its own pages from the CDN, and every other path goes to your server, so routes you add with [`registerApiRoute()`](https://mastra.ai/docs/server/custom-api-routes) stay reachable at their own paths. Avoid giving a custom route a path that Studio already uses (for example `/agents` or `/workflows`), since Studio claims those first.
92
92
 
93
- > **Warning:** Once Studio is connected to your Mastra server, it has full access to your agents, workflows, and tools. Be sure to secure it properly in production (e.g. behind authentication, VPN, etc.) to prevent unauthorized access.
93
+ > **Warning:** Once Studio is connected to your Mastra server, it has full access to your agents, workflows, and tools. Be sure to secure it in production (e.g. behind authentication, VPN, etc.) to prevent unauthorized access.
94
94
 
95
95
  ## Optional overrides
96
96
 
@@ -76,7 +76,7 @@ const filesystem = new GCSFilesystem({
76
76
  2. Default service account when running on GCP (Compute Engine, Cloud Run, GKE, etc.)
77
77
  3. User credentials from `gcloud auth application-default login` (for local development)
78
78
 
79
- ### Using a Key File Path
79
+ ### Using a key file path
80
80
 
81
81
  You can also pass a path to a service account key file:
82
82
 
@@ -82,7 +82,7 @@ bun x mastra@latest init
82
82
  This creates a `src/mastra` folder with an example weather agent and the following files:
83
83
 
84
84
  - `index.ts`: Mastra config, including memory
85
- - `tools/weather-tool.ts`: A tool to fetch weather for a given location
85
+ - `tools/weather-tool.ts`: A tool to fetch the weather for a location
86
86
  - `agents/weather-agent.ts`: A weather agent with a prompt that uses the tool
87
87
 
88
88
  You'll call `weather-agent.ts` from your chat UI in the next steps.
@@ -122,7 +122,7 @@ bun x mastra@latest init
122
122
  This creates a `src/mastra` folder with an example weather agent and the following files:
123
123
 
124
124
  - `index.ts`: Mastra config, including memory
125
- - `tools/weather-tool.ts`: A tool to fetch weather for a given location
125
+ - `tools/weather-tool.ts`: A tool to fetch the weather for a location
126
126
  - `agents/weather-agent.ts`: A weather agent with a prompt that uses the tool
127
127
 
128
128
  You'll call `weather-agent.ts` from your Astro routes in the next steps.
@@ -181,9 +181,9 @@ yarn dlx ai-elements@latest
181
181
  bun x ai-elements@latest
182
182
  ```
183
183
 
184
- > **Note:** The `ai-elements` command runs `shadcn add` against the AI Elements registry, which currently publishes Radix UI components only. Installing them into a Base UI project produces TypeScript errors, tracked in [vercel/ai-elements#383](https://github.com/vercel/ai-elements/issues/383).
184
+ > **Note:** The `ai-elements` command runs `shadcn add` against the AI Elements registry, which currently publishes Radix UI components only. Installing them into a Base UI project produces TypeScript errors, tracked in [ai-elements#383](https://github.com/vercel/ai-elements/issues/383).
185
185
  >
186
- > The component library prompt only appears when your project has no `components.json`. If you already have one, check that its `style` is a Radix option, such as `new-york` or a `radix-*` style, and not a `base-*` style, before running the command.
186
+ > The component library prompt only shows up when your project has no `components.json`. If you already have one, check that its `style` is a Radix option, such as `new-york` or a `radix-*` style, and not a `base-*` style, before running the command.
187
187
 
188
188
  This downloads the entire AI Elements UI component library into a `@/components/ai-elements` folder.
189
189
 
@@ -108,7 +108,7 @@ bun x mastra@latest init
108
108
  This creates a `src/mastra` folder with an example weather agent and the following files:
109
109
 
110
110
  - `index.ts`: Mastra config, including memory
111
- - `tools/weather-tool.ts`: A tool to fetch weather for a given location
111
+ - `tools/weather-tool.ts`: A tool to fetch the weather for a location
112
112
  - `agents/weather-agent.ts`: A weather agent with a prompt that uses the tool
113
113
 
114
114
  You'll call `weather-agent.ts` from your chat UI in the next steps.
@@ -98,7 +98,7 @@ npx mastra@latest init
98
98
  This creates a `src/mastra` folder with an example weather agent and the following files:
99
99
 
100
100
  - `index.ts`: Mastra config, including memory
101
- - `tools/weather-tool.ts`: A tool to fetch weather for a given location
101
+ - `tools/weather-tool.ts`: A tool to fetch the weather for a location
102
102
  - `agents/weather-agent.ts`: A weather agent with a prompt that uses the tool
103
103
 
104
104
  You'll pass the `src/mastra/index.ts` file to the Express server adapter later.
@@ -80,7 +80,7 @@ bun x mastra@latest init
80
80
  This creates a `src/mastra` folder with an example weather agent and the following files:
81
81
 
82
82
  - `index.ts`: Mastra config, including memory
83
- - `tools/weather-tool.ts`: A tool to fetch weather for a given location
83
+ - `tools/weather-tool.ts`: A tool to fetch the weather for a location
84
84
  - `agents/weather-agent.ts`: A weather agent with a prompt that uses the tool
85
85
 
86
86
  You'll pass the `src/mastra/index.ts` file to the Hono server adapter later.
@@ -81,7 +81,7 @@ bun x mastra@latest init
81
81
  This creates a `src/mastra` folder with an example weather agent and the following files:
82
82
 
83
83
  - `index.ts`: Mastra config, including memory
84
- - `tools/weather-tool.ts`: A tool to fetch weather for a given location
84
+ - `tools/weather-tool.ts`: A tool to fetch the weather for a location
85
85
  - `agents/weather-agent.ts`: A weather agent with a prompt that uses the tool
86
86
 
87
87
  You'll pass the `src/mastra/index.ts` file to the NestJS adapter in the next step.
@@ -202,7 +202,7 @@ In a separate terminal window, use `curl` to ask the weather agent:
202
202
  curl -X POST http://localhost:3000/api/agents/weather-agent/generate -H "Content-Type: application/json" -d "{\"messages\":[{\"role\":\"user\",\"content\":\"What is the weather like in Seoul?\"}]}"
203
203
  ```
204
204
 
205
- ## Use Mastra in Your Own Services
205
+ ## Use Mastra in your own services
206
206
 
207
207
  The module exports two ways to access Mastra from your NestJS services: the `MastraService` wrapper and the `MASTRA` injection token.
208
208
 
@@ -84,7 +84,7 @@ bun x mastra@latest init
84
84
  This creates a `src/mastra` folder with an example weather agent and the following files:
85
85
 
86
86
  - `index.ts`: Mastra config, including memory
87
- - `tools/weather-tool.ts`: A tool to fetch weather for a given location
87
+ - `tools/weather-tool.ts`: A tool to fetch the weather for a location
88
88
  - `agents/weather-agent.ts`: A weather agent with a prompt that uses the tool
89
89
 
90
90
  You'll call `weather-agent.ts` from your Next.js routes in the next steps.
@@ -167,9 +167,9 @@ yarn dlx ai-elements@latest add prompt-input conversation message tool
167
167
  bun x ai-elements@latest add prompt-input conversation message tool
168
168
  ```
169
169
 
170
- > **Note:** The `ai-elements` command runs `shadcn add` against the AI Elements registry, which currently publishes Radix UI components only. Installing them into a Base UI project produces TypeScript errors, tracked in [vercel/ai-elements#383](https://github.com/vercel/ai-elements/issues/383).
170
+ > **Note:** The `ai-elements` command runs `shadcn add` against the AI Elements registry, which currently publishes Radix UI components only. Installing them into a Base UI project produces TypeScript errors, tracked in [ai-elements#383](https://github.com/vercel/ai-elements/issues/383).
171
171
  >
172
- > The component library prompt only appears when your project has no `components.json`. If you already have one, check that its `style` is a Radix option, such as `new-york` or a `radix-*` style, and not a `base-*` style, before running the command.
172
+ > The component library prompt only shows up when your project has no `components.json`. If you already have one, check that its `style` is a Radix option, such as `new-york` or a `radix-*` style, and not a `base-*` style, before running the command.
173
173
 
174
174
  This downloads those components and their dependencies into a `@/components/ai-elements` folder.
175
175
 
@@ -82,7 +82,7 @@ bun x mastra@latest init
82
82
  This creates a `mastra` folder with an example weather agent and the following files:
83
83
 
84
84
  - `index.ts`: Mastra config, including memory
85
- - `tools/weather-tool.ts`: A tool to fetch weather for a given location
85
+ - `tools/weather-tool.ts`: A tool to fetch the weather for a location
86
86
  - `agents/weather-agent.ts`: A weather agent with a prompt that uses the tool
87
87
 
88
88
  You'll call `weather-agent.ts` from your Nuxt server routes in the next steps.
@@ -82,7 +82,7 @@ bun x mastra@latest init
82
82
  This creates a `src/mastra` folder with an example weather agent and the following files:
83
83
 
84
84
  - `index.ts`: Mastra config, including memory
85
- - `tools/weather-tool.ts`: A tool to fetch weather for a given location
85
+ - `tools/weather-tool.ts`: A tool to fetch the weather for a location
86
86
  - `agents/weather-agent.ts`: A weather agent with a prompt that uses the tool
87
87
 
88
88
  You'll call `weather-agent.ts` from your SvelteKit routes in the next steps.
@@ -13,7 +13,7 @@ Build a tool-calling Mastra agent in TanStack Start, then mount the Mastra serve
13
13
 
14
14
  ## Create a new TanStack Start app (optional)
15
15
 
16
- You need a running TanStack Start app with a `src/routes` directory. If you don't already have one, follow the [TanStack Start quick start](https://tanstack.com/start/latest/docs/framework/react/getting-started) to create and run an app before continuing.
16
+ This guide assumes a running TanStack Start app with a `src/routes` directory. If you need to create one, follow the [TanStack Start quick start](https://tanstack.com/start/latest/docs/framework/react/getting-started) and run the app before continuing.
17
17
 
18
18
  ## Initialize Mastra
19
19
 
@@ -71,9 +71,9 @@ const config = defineConfig({
71
71
  + }),
72
72
  ```
73
73
 
74
- The `optimizeDeps.exclude` setting prevents Vite's development optimizer from opening DuckDB's native `.node` binary as JavaScript. Excluding `execa` stops the optimizer from pre-bundling the server-only dependency `@mastra/core` uses for local process execution; its transitive `npm-run-path` and `unicorn-magic` packages use Node-only conditional exports that the optimizer cannot resolve in the browser build. Adding `/^@duckdb\//` to Nitro's `rollupConfig.external` keeps DuckDB's native Node packages out of the production bundle so Node.js can load them at runtime.
74
+ The `optimizeDeps.exclude` setting prevents Vite's development optimizer from opening DuckDB's native `.node` binary as JavaScript. Excluding `execa` stops the optimizer from pre-bundling the server-only dependency `@mastra/core` uses for local process execution. Its transitive `npm-run-path` and `unicorn-magic` packages use Node-only conditional exports that the optimizer can't resolve in the browser build. Adding `/^@duckdb\//` to Nitro's `rollupConfig.external` keeps DuckDB's native Node packages out of the production bundle so Node.js can load them at runtime.
75
75
 
76
- These changes apply only to `vite.config.ts`; you don't need to change your application or Mastra source files.
76
+ These changes apply only to `vite.config.ts`. You don't need to change your application or Mastra source files.
77
77
 
78
78
  ## Add the server adapter
79
79