@mastra/mcp-docs-server 1.2.15-alpha.20 → 1.2.15-alpha.22

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 (268) hide show
  1. package/.docs/docs/agents/code-mode.md +1 -1
  2. package/.docs/docs/agents/networks.md +2 -2
  3. package/.docs/docs/agents/overview.md +2 -2
  4. package/.docs/docs/agents/using-tools.md +1 -1
  5. package/.docs/docs/browser/overview.md +8 -8
  6. package/.docs/docs/browser/recording.md +2 -2
  7. package/.docs/docs/capabilities/{channels/overview.md → channels.md} +70 -7
  8. package/.docs/docs/capabilities/subagents.md +2 -2
  9. package/.docs/docs/deployment/cloud-providers.md +9 -9
  10. package/.docs/docs/deployment/overview.md +9 -9
  11. package/.docs/docs/deployment/sandbox.md +3 -3
  12. package/.docs/docs/deployment/web-framework.md +6 -6
  13. package/.docs/docs/deployment/workflow-runners.md +2 -2
  14. package/.docs/docs/harness/agent-controller.md +2 -2
  15. package/.docs/docs/index.md +8 -8
  16. package/.docs/docs/long-running-agents/durable-agents.md +2 -2
  17. package/.docs/docs/long-running-agents/signal-providers.md +2 -15
  18. package/.docs/docs/long-running-agents/signals.md +1 -1
  19. package/.docs/docs/mastra-platform/database.md +2 -2
  20. package/.docs/docs/mastra-platform/server.md +1 -1
  21. package/.docs/docs/mcp/overview.md +42 -0
  22. package/.docs/docs/memory/memory-processors.md +5 -5
  23. package/.docs/docs/memory/message-history.md +1 -1
  24. package/.docs/docs/memory/observational-memory.md +1 -1
  25. package/.docs/docs/observability/integrations/exporters/mastra-storage.md +16 -16
  26. package/.docs/docs/observability/integrations/overview.md +3 -3
  27. package/.docs/docs/server/auth/fga.md +1 -1
  28. package/.docs/docs/server/auth/simple-auth.md +1 -1
  29. package/.docs/docs/server/auth.md +8 -8
  30. package/.docs/docs/storage/overview.md +14 -13
  31. package/.docs/docs/studio/observability.md +1 -1
  32. package/.docs/docs/workflows/overview.md +1 -1
  33. package/.docs/docs/workflows/snapshots.md +11 -11
  34. package/.docs/docs/workspace/filesystem.md +15 -15
  35. package/.docs/docs/workspace/sandbox.md +17 -17
  36. package/.docs/docs/workspace/search.md +1 -1
  37. package/.docs/guides/agent-frameworks/ai-sdk.md +2 -2
  38. package/.docs/guides/deployment/mastra-workers.md +1 -1
  39. package/.docs/guides/getting-started/quickstart.md +3 -3
  40. package/.docs/guides/index.md +8 -8
  41. package/.docs/guides/voice/overview.md +55 -106
  42. package/.docs/guides/voice/speech-to-text.md +7 -7
  43. package/.docs/guides/voice/text-to-speech.md +9 -10
  44. package/.docs/{guides/build-your-ui → integrations/agentic-ui}/ai-sdk-ui.md +2 -2
  45. package/.docs/{guides/build-your-ui/copilotkit/overview.md → integrations/agentic-ui/copilotkit.md} +256 -3
  46. package/.docs/{docs/browser → integrations/browsers}/agent-browser.md +2 -2
  47. package/.docs/{docs/browser → integrations/browsers}/browser-viewer.md +3 -3
  48. package/.docs/{docs/browser → integrations/browsers}/firecrawl.md +2 -2
  49. package/.docs/{docs/browser → integrations/browsers}/stagehand.md +1 -1
  50. package/.docs/{docs/capabilities → integrations}/channels/discord.md +2 -2
  51. package/.docs/integrations/channels/github.md +103 -0
  52. package/.docs/{docs/capabilities → integrations}/channels/imessage.md +12 -4
  53. package/.docs/{docs/capabilities → integrations}/channels/slack.md +4 -4
  54. package/.docs/{docs/capabilities → integrations}/channels/teams.md +2 -2
  55. package/.docs/{docs/capabilities → integrations}/channels/telegram.md +2 -2
  56. package/.docs/{docs/capabilities → integrations}/channels/whatsapp.md +2 -2
  57. package/.docs/{reference/storage/dsql.md → integrations/databases/aurora-dsql.md} +1 -1
  58. package/.docs/{reference/storage → integrations/databases}/clickhouse.md +2 -2
  59. package/.docs/{reference/storage → integrations/databases}/cloudflare-d1.md +1 -1
  60. package/.docs/{reference/storage/cloudflare.md → integrations/databases/cloudflare-kv.md} +1 -1
  61. package/.docs/{reference/storage → integrations/databases}/convex.md +1 -1
  62. package/.docs/{reference/storage → integrations/databases}/duckdb.md +5 -5
  63. package/.docs/{reference/storage → integrations/databases}/dynamodb.md +1 -1
  64. package/.docs/{reference/storage/lance.md → integrations/databases/lancedb.md} +1 -1
  65. package/.docs/{reference/storage → integrations/databases}/libsql.md +2 -2
  66. package/.docs/{reference/storage → integrations/databases}/mongodb.md +1 -1
  67. package/.docs/{reference/storage → integrations/databases}/mssql.md +1 -1
  68. package/.docs/integrations/databases/neon.md +220 -0
  69. package/.docs/{reference/storage → integrations/databases}/oracledb.md +1 -1
  70. package/.docs/{reference/storage → integrations/databases}/postgresql.md +1 -1
  71. package/.docs/{reference/storage → integrations/databases}/redis.md +1 -1
  72. package/.docs/{reference/storage → integrations/databases}/spanner.md +1 -1
  73. package/.docs/{reference/storage → integrations/databases}/upstash.md +1 -1
  74. package/.docs/{guides/deployment → integrations/deploy}/aws-bedrock-agentcore.md +1 -1
  75. package/.docs/{guides/deployment → integrations/deploy}/aws-lambda.md +1 -1
  76. package/.docs/{guides/deployment → integrations/deploy}/azure-app-services.md +1 -1
  77. package/.docs/{guides/deployment → integrations/deploy}/cloudflare.md +1 -1
  78. package/.docs/{guides/deployment → integrations/deploy}/digital-ocean.md +1 -1
  79. package/.docs/{guides/deployment → integrations/deploy}/netlify.md +1 -1
  80. package/.docs/{guides/deployment → integrations/deploy}/vercel.md +2 -2
  81. package/.docs/{reference/workspace/s3-filesystem.md → integrations/file-storage/amazon-s3.md} +5 -5
  82. package/.docs/{reference/workspace/archil-filesystem.md → integrations/file-storage/archil.md} +3 -3
  83. package/.docs/{reference/workspace/azure-blob-filesystem.md → integrations/file-storage/azure-blob.md} +2 -2
  84. package/.docs/{reference/workspace/gcs-filesystem.md → integrations/file-storage/google-cloud-storage.md} +5 -5
  85. package/.docs/{reference/workspace/mesa-filesystem.md → integrations/file-storage/mesa.md} +1 -1
  86. package/.docs/{reference/workspace/files-sdk-filesystem.md → integrations/file-storage/vercel-files.md} +5 -5
  87. package/.docs/{guides/getting-started → integrations/frameworks}/astro.md +1 -1
  88. package/.docs/{guides/getting-started → integrations/frameworks}/electron.md +1 -1
  89. package/.docs/{guides/getting-started → integrations/frameworks}/next-js.md +2 -2
  90. package/.docs/{guides/getting-started → integrations/frameworks}/nuxt.md +1 -1
  91. package/.docs/{guides/getting-started → integrations/frameworks}/sveltekit.md +1 -1
  92. package/.docs/{guides/getting-started → integrations/frameworks}/vite-react.md +1 -1
  93. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arize.md +1 -1
  94. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/arthur.md +1 -1
  95. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/braintrust.md +1 -1
  96. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/confident-ai.md +1 -1
  97. package/.docs/integrations/observability/datadog.md +538 -0
  98. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/laminar.md +1 -1
  99. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/langfuse.md +1 -1
  100. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/langsmith.md +1 -1
  101. package/.docs/{docs/observability/integrations/exporters/otel.md → integrations/observability/opentelemetry.md} +276 -44
  102. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/posthog.md +1 -1
  103. package/.docs/{docs/observability/integrations/exporters → integrations/observability}/sentry.md +1 -1
  104. package/.docs/{reference/workspace/apple-container-sandbox.md → integrations/sandboxes/apple-container.md} +1 -1
  105. package/.docs/{reference/workspace/daytona-sandbox.md → integrations/sandboxes/daytona.md} +2 -2
  106. package/.docs/{reference/workspace/docker-sandbox.md → integrations/sandboxes/docker.md} +1 -1
  107. package/.docs/{reference/workspace/e2b-sandbox.md → integrations/sandboxes/e2b.md} +3 -3
  108. package/.docs/{reference/workspace/modal-sandbox.md → integrations/sandboxes/modal.md} +2 -2
  109. package/.docs/{reference/workspace/vercel-sandbox.md → integrations/sandboxes/vercel.md} +141 -12
  110. package/.docs/{reference → integrations}/tools/brightdata.md +1 -1
  111. package/.docs/{reference → integrations}/tools/perplexity.md +1 -1
  112. package/.docs/{reference → integrations}/tools/tavily.md +1 -1
  113. package/.docs/{reference → integrations}/voice/aws-nova-sonic.md +1 -1
  114. package/.docs/{reference → integrations}/voice/cloudflare.md +3 -3
  115. package/.docs/{reference/voice/google-gemini-live.md → integrations/voice/google.md} +305 -30
  116. package/.docs/{reference/voice/inworld-realtime.md → integrations/voice/inworld.md} +163 -25
  117. package/.docs/{reference → integrations}/voice/livekit.md +437 -34
  118. package/.docs/{reference/voice/openai-realtime.md → integrations/voice/openai.md} +117 -20
  119. package/.docs/integrations.md +147 -0
  120. package/.docs/models/embeddings.md +2 -2
  121. package/.docs/models/gateways/openrouter.md +4 -1
  122. package/.docs/models/gateways/vercel.md +4 -1
  123. package/.docs/models/index.md +1 -1
  124. package/.docs/models/providers/ambient.md +1 -1
  125. package/.docs/models/providers/cortecs.md +2 -3
  126. package/.docs/models/providers/hetzner.md +7 -4
  127. package/.docs/models/providers/kilo.md +7 -3
  128. package/.docs/models/providers/llmgateway.md +1 -3
  129. package/.docs/models/providers/nano-gpt.md +4 -1
  130. package/.docs/models/providers/nvidia.md +2 -1
  131. package/.docs/models/providers/opencode.md +63 -63
  132. package/.docs/models/providers/privatemode-ai.md +7 -6
  133. package/.docs/reference/agent-controller/agent-controller-class.md +32 -1
  134. package/.docs/reference/agents/channels.md +2 -2
  135. package/.docs/reference/agents/generateLegacy.md +2 -2
  136. package/.docs/reference/agents/getDefaultOptions.md +1 -1
  137. package/.docs/reference/agents/getDefaultStreamOptions.md +1 -1
  138. package/.docs/reference/agents/inngest-agent.md +1 -1
  139. package/.docs/reference/agents/network.md +1 -1
  140. package/.docs/reference/ai-sdk/handle-network-stream.md +1 -1
  141. package/.docs/reference/ai-sdk/network-route.md +1 -1
  142. package/.docs/reference/auth/auth0.md +1 -1
  143. package/.docs/reference/auth/better-auth.md +1 -1
  144. package/.docs/reference/auth/clerk.md +1 -1
  145. package/.docs/reference/auth/firebase.md +1 -1
  146. package/.docs/reference/auth/google.md +1 -1
  147. package/.docs/reference/auth/supabase.md +1 -1
  148. package/.docs/reference/auth/workos.md +1 -1
  149. package/.docs/reference/browser/agent-browser.md +1 -1
  150. package/.docs/reference/browser/browser-viewer.md +1 -1
  151. package/.docs/reference/browser/firecrawl-browser.md +1 -1
  152. package/.docs/reference/browser/stagehand-browser.md +1 -1
  153. package/.docs/reference/channels/channel-provider.md +1 -1
  154. package/.docs/reference/channels/slack-provider.md +2 -2
  155. package/.docs/reference/cli/mastra.md +2 -2
  156. package/.docs/reference/configuration.md +1 -26
  157. package/.docs/reference/core/getStorage.md +1 -1
  158. package/.docs/reference/core/getVector.md +2 -2
  159. package/.docs/reference/core/listVectors.md +2 -2
  160. package/.docs/reference/core/setStorage.md +1 -1
  161. package/.docs/reference/file-based-agents/storage.md +1 -1
  162. package/.docs/reference/file-based-agents/studio.md +1 -1
  163. package/.docs/reference/index.md +27 -55
  164. package/.docs/{guides → reference}/migrations/ai-sdk-v4-to-v5.md +1 -1
  165. package/.docs/{guides → reference}/migrations/mastra-cloud.md +1 -1
  166. package/.docs/{guides → reference}/migrations/upgrade-to-v1/cli.md +1 -1
  167. package/.docs/{guides → reference}/migrations/upgrade-to-v1/memory.md +1 -1
  168. package/.docs/{guides → reference}/migrations/upgrade-to-v1/overview.md +41 -41
  169. package/.docs/{guides → reference}/migrations/upgrade-to-v1/tools.md +1 -1
  170. package/.docs/{guides → reference}/migrations/upgrade-to-v1/tracing.md +10 -10
  171. package/.docs/reference/observability/tracing/bridges/datadog.md +2 -2
  172. package/.docs/reference/observability/tracing/bridges/otel.md +2 -2
  173. package/.docs/reference/observability/tracing/exporters/arize.md +1 -1
  174. package/.docs/reference/observability/tracing/exporters/arthur.md +1 -1
  175. package/.docs/reference/observability/tracing/exporters/confident-ai.md +1 -1
  176. package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +12 -0
  177. package/.docs/reference/observability/tracing/exporters/otel.md +2 -2
  178. package/.docs/reference/pubsub/lease-provider.md +1 -1
  179. package/.docs/{guides → reference}/rag/chunking-and-embedding.md +16 -19
  180. package/.docs/reference/rag/database-config.md +1 -1
  181. package/.docs/{guides/rag/graph-rag.md → reference/rag/graph-rag-guide.md} +1 -1
  182. package/.docs/{guides → reference}/rag/overview.md +2 -2
  183. package/.docs/{guides → reference}/rag/retrieval.md +1 -1
  184. package/.docs/{guides → reference}/rag/vector-databases.md +1 -1
  185. package/.docs/reference/storage/composite.md +3 -3
  186. package/.docs/reference/storage/retention.md +4 -4
  187. package/.docs/reference/streaming/ChunkType.md +3 -3
  188. package/.docs/reference/streaming/agents/streamLegacy.md +3 -3
  189. package/.docs/reference/tools/mcp-server.md +1 -1
  190. package/.docs/reference/vectors/convex.md +2 -2
  191. package/.docs/reference/vectors/oracledb.md +2 -2
  192. package/.docs/reference/workers/overview.md +8 -8
  193. package/.docs/reference/workspace/platform-filesystem.md +2 -2
  194. package/.docs/reference/workspace/platform-sandbox.md +2 -2
  195. package/.docs/reference/workspace/process-manager.md +3 -3
  196. package/CHANGELOG.md +16 -0
  197. package/dist/index.js +1 -1
  198. package/dist/{src-BZcgzbk9.js → src-D-W-bx5t.js} +2 -2
  199. package/dist/{src-BZcgzbk9.js.map → src-D-W-bx5t.js.map} +1 -1
  200. package/dist/stdio.js +1 -1
  201. package/package.json +6 -6
  202. package/.docs/docs/capabilities/channels/other-adapters.md +0 -68
  203. package/.docs/docs/observability/integrations/bridges/datadog.md +0 -219
  204. package/.docs/docs/observability/integrations/bridges/otel.md +0 -234
  205. package/.docs/docs/observability/integrations/exporters/datadog.md +0 -321
  206. package/.docs/guides/build-your-ui/copilotkit/channels.md +0 -86
  207. package/.docs/guides/build-your-ui/copilotkit/generative-ui.md +0 -174
  208. package/.docs/guides/guide/chef-michel.md +0 -211
  209. package/.docs/guides/guide/publishing-mcp-server.md +0 -137
  210. package/.docs/guides/guide/slack-assistant.md +0 -193
  211. package/.docs/guides/guide/stock-agent.md +0 -132
  212. package/.docs/guides/guide/web-search.md +0 -322
  213. package/.docs/guides/guide/whatsapp-chat-bot.md +0 -407
  214. package/.docs/guides/voice/realtime-voice.md +0 -430
  215. package/.docs/reference/voice/google.md +0 -290
  216. package/.docs/reference/voice/inworld.md +0 -137
  217. package/.docs/reference/voice/openai.md +0 -96
  218. package/.docs/reference/voice/playai.md +0 -82
  219. package/.docs/reference/workspace/vercel-serverless.md +0 -128
  220. /package/.docs/{guides/concepts → docs/guides}/multi-agent-systems.md +0 -0
  221. /package/.docs/{guides/concepts → docs/guides}/streaming.md +0 -0
  222. /package/.docs/{guides/build-your-ui → integrations/agentic-ui}/assistant-ui.md +0 -0
  223. /package/.docs/{guides/build-your-ui → integrations/agentic-ui}/openui.md +0 -0
  224. /package/.docs/{docs/server → integrations}/auth/auth0.md +0 -0
  225. /package/.docs/{docs/server → integrations}/auth/better-auth.md +0 -0
  226. /package/.docs/{docs/server → integrations}/auth/clerk.md +0 -0
  227. /package/.docs/{docs/server → integrations}/auth/firebase.md +0 -0
  228. /package/.docs/{docs/server → integrations}/auth/google.md +0 -0
  229. /package/.docs/{docs/server → integrations}/auth/okta.md +0 -0
  230. /package/.docs/{docs/server → integrations}/auth/supabase.md +0 -0
  231. /package/.docs/{docs/server → integrations}/auth/workos.md +0 -0
  232. /package/.docs/{guides/deployment → integrations/deploy}/amazon-ec2.md +0 -0
  233. /package/.docs/{guides/deployment → integrations/deploy}/inngest.md +0 -0
  234. /package/.docs/{guides/deployment → integrations/deploy}/kubernetes.md +0 -0
  235. /package/.docs/{guides/deployment → integrations/deploy}/temporal.md +0 -0
  236. /package/.docs/{reference/workspace/agentfs-filesystem.md → integrations/file-storage/agentfs.md} +0 -0
  237. /package/.docs/{reference/workspace/google-drive-filesystem.md → integrations/file-storage/google-drive.md} +0 -0
  238. /package/.docs/{guides/getting-started → integrations/frameworks}/express.md +0 -0
  239. /package/.docs/{guides/getting-started → integrations/frameworks}/hono.md +0 -0
  240. /package/.docs/{guides/getting-started → integrations/frameworks}/nestjs.md +0 -0
  241. /package/.docs/{reference/workspace/agentcore-runtime-sandbox.md → integrations/sandboxes/agentcore.md} +0 -0
  242. /package/.docs/{reference/workspace/blaxel-sandbox.md → integrations/sandboxes/blaxel.md} +0 -0
  243. /package/.docs/{reference/workspace/railway-sandbox.md → integrations/sandboxes/railway.md} +0 -0
  244. /package/.docs/{guides/guide → integrations/tools}/firecrawl.md +0 -0
  245. /package/.docs/{reference → integrations}/voice/azure.md +0 -0
  246. /package/.docs/{reference → integrations}/voice/deepgram.md +0 -0
  247. /package/.docs/{reference → integrations}/voice/elevenlabs.md +0 -0
  248. /package/.docs/{reference → integrations}/voice/mistral.md +0 -0
  249. /package/.docs/{reference → integrations}/voice/murf.md +0 -0
  250. /package/.docs/{reference → integrations}/voice/sarvam.md +0 -0
  251. /package/.docs/{reference → integrations}/voice/speechify.md +0 -0
  252. /package/.docs/{reference/voice/xai-realtime.md → integrations/voice/xai.md} +0 -0
  253. /package/.docs/{guides/getting-started → reference}/manual-install.md +0 -0
  254. /package/.docs/{guides → reference}/migrations/agentnetwork.md +0 -0
  255. /package/.docs/{guides → reference}/migrations/network-to-supervisor.md +0 -0
  256. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/agent.md +0 -0
  257. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/client.md +0 -0
  258. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/deployment.md +0 -0
  259. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/evals.md +0 -0
  260. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/mastra.md +0 -0
  261. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/mcp.md +0 -0
  262. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/processors.md +0 -0
  263. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/rag.md +0 -0
  264. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/storage.md +0 -0
  265. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/vectors.md +0 -0
  266. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/voice.md +0 -0
  267. /package/.docs/{guides → reference}/migrations/upgrade-to-v1/workflows.md +0 -0
  268. /package/.docs/{guides → reference}/migrations/vnext-to-standard-apis.md +0 -0
@@ -134,7 +134,7 @@ The generated code for `sales_code` can't call an inventory tool, and the revers
134
134
 
135
135
  ## Remote sandboxes
136
136
 
137
- By default, code mode uses a transport that writes the program to the host filesystem and runs `node` against it. That works for `LocalSandbox`, which shares the host, but not for remote sandboxes that run in their own micro-VM (such as [E2B](https://mastra.ai/reference/workspace/e2b-sandbox)), where the host paths don't exist.
137
+ By default, code mode uses a transport that writes the program to the host filesystem and runs `node` against it. That works for `LocalSandbox`, which shares the host, but not for remote sandboxes that run in their own micro-VM (such as [E2B](https://mastra.ai/integrations/sandboxes/e2b)), where the host paths don't exist.
138
138
 
139
139
  Remote sandboxes need a transport that writes the program into the sandbox filesystem. For E2B, pass the included `E2BCodeModeTransport` as the second argument to `createCodeMode`:
140
140
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **Deprecated:** Agent networks are deprecated and will be removed in a future major release. [Supervisor agents](https://mastra.ai/docs/capabilities/subagents) using `agent.stream()` or `agent.generate()` are now the recommended approach. It provides the same multi-agent coordination with better control, a simpler API, and easier debugging.
6
6
  >
7
- > See the [migration guide](https://mastra.ai/guides/migrations/network-to-supervisor) to upgrade.
7
+ > See the [migration guide](https://mastra.ai/reference/migrations/network-to-supervisor) to upgrade.
8
8
 
9
9
  A **routing agent** uses an LLM to interpret a request and decide which primitives (subagents, workflows, or tools) to call, in what order, and with what data.
10
10
 
@@ -181,4 +181,4 @@ Requirements for automatic resumption:
181
181
  ## Related
182
182
 
183
183
  - [Supervisor agents](https://mastra.ai/docs/capabilities/subagents)
184
- - [Migration: `.network()` to supervisor agents](https://mastra.ai/guides/migrations/network-to-supervisor)
184
+ - [Migration: `.network()` to supervisor agents](https://mastra.ai/reference/migrations/network-to-supervisor)
@@ -211,10 +211,10 @@ Once your agent is running, use this table to find the right page for what you w
211
211
  | Build agents that correct their work | [Rubric scorer](https://mastra.ai/docs/capabilities/subagents) |
212
212
  | Swap instructions or models based on request context | [Dynamic configuration](https://mastra.ai/docs/server/request-context) |
213
213
  | Add speech-to-text or text-to-speech | [Voice](https://mastra.ai/guides/voice/overview) |
214
- | Connect to Slack, Discord, or Telegram | [Channels](https://mastra.ai/docs/capabilities/channels/overview) |
214
+ | Connect to Slack, Discord, or Telegram | [Channels](https://mastra.ai/docs/capabilities/channels) |
215
215
 
216
216
  ## Multi-agent systems
217
217
 
218
218
  A multi-agent system uses multiple agents to solve a task that's too broad or too specialized for a single agent. Instead of building one agent with dozens of tools and a long instruction set, you split responsibilities across focused agents and let a coordinator bring results together.
219
219
 
220
- Read the [conceptual overview of multi-agent systems](https://mastra.ai/guides/concepts/multi-agent-systems) to learn how you can apply different patterns with Mastra.
220
+ Read the [conceptual overview of multi-agent systems](https://mastra.ai/docs/guides/multi-agent-systems) to learn how you can apply different patterns with Mastra.
@@ -353,7 +353,7 @@ Agent-level and per-execution hooks merge per key: passing only `beforeToolCall`
353
353
 
354
354
  Tools support lifecycle hooks that allow you to monitor different stages of tool execution during streaming. These hooks are particularly useful for logging or analytics.
355
355
 
356
- For generic `writer` API usage, see [Streaming](https://mastra.ai/guides/concepts/streaming).
356
+ For generic `writer` API usage, see [Streaming](https://mastra.ai/docs/guides/streaming).
357
357
 
358
358
  ### Available Hooks
359
359
 
@@ -6,10 +6,10 @@ Browser support enables agents to move through websites, interact with page elem
6
6
 
7
7
  Mastra supports three SDK providers and one CLI provider:
8
8
 
9
- - [**AgentBrowser**](https://mastra.ai/docs/browser/agent-browser): A Playwright-based provider with accessibility-first element targeting. Best for general web automation and scraping.
10
- - [**Stagehand**](https://mastra.ai/docs/browser/stagehand): A Browserbase provider with AI-powered element detection. Best for complex interactions that benefit from natural language selectors.
11
- - [**FirecrawlBrowser**](https://mastra.ai/docs/browser/firecrawl): A Firecrawl Browser Sandbox provider that runs AgentBrowser tools against hosted browser sessions. Best for running automation on hosted browser sessions without managing local browser infrastructure.
12
- - [**BrowserViewer**](https://mastra.ai/docs/browser/browser-viewer): A CLI provider that launches Chrome and injects CDP URLs into CLI tools like agent-browser, browser-use, and browse. Best for workspace agents that drive browsers through shell commands.
9
+ - [**AgentBrowser**](https://mastra.ai/integrations/browsers/agent-browser): A Playwright-based provider with accessibility-first element targeting. Best for general web automation and scraping.
10
+ - [**Stagehand**](https://mastra.ai/integrations/browsers/stagehand): A Browserbase provider with AI-powered element detection. Best for complex interactions that benefit from natural language selectors.
11
+ - [**FirecrawlBrowser**](https://mastra.ai/integrations/browsers/firecrawl): A Firecrawl Browser Sandbox provider that runs AgentBrowser tools against hosted browser sessions. Best for running automation on hosted browser sessions without managing local browser infrastructure.
12
+ - [**BrowserViewer**](https://mastra.ai/integrations/browsers/browser-viewer): A CLI provider that launches Chrome and injects CDP URLs into CLI tools like agent-browser, browser-use, and browse. Best for workspace agents that drive browsers through shell commands.
13
13
  - [**Browser recording (alpha)**](https://mastra.ai/docs/browser/recording): An opt-in tool layer that saves browser sessions as Motion-JPEG AVI videos with optional captions.
14
14
 
15
15
  ## When to use browser
@@ -178,10 +178,10 @@ const browser = new AgentBrowser({
178
178
 
179
179
  ## Next steps
180
180
 
181
- - [AgentBrowser](https://mastra.ai/docs/browser/agent-browser)
182
- - [Stagehand](https://mastra.ai/docs/browser/stagehand)
183
- - [Firecrawl](https://mastra.ai/docs/browser/firecrawl)
181
+ - [AgentBrowser](https://mastra.ai/integrations/browsers/agent-browser)
182
+ - [Stagehand](https://mastra.ai/integrations/browsers/stagehand)
183
+ - [Firecrawl](https://mastra.ai/integrations/browsers/firecrawl)
184
184
  - [Browser recording (alpha)](https://mastra.ai/docs/browser/recording)
185
- - [BrowserViewer](https://mastra.ai/docs/browser/browser-viewer)
185
+ - [BrowserViewer](https://mastra.ai/integrations/browsers/browser-viewer)
186
186
  - [MastraBrowser reference](https://mastra.ai/reference/browser/mastra-browser)
187
187
  - 📹 [Mastra browser capabilities workshop](https://www.youtube.com/watch?v=E9KFsZEnQO8\&t=5s)
@@ -115,6 +115,6 @@ Use shorter recordings when possible. Long browser sessions produce larger files
115
115
 
116
116
  ## Next steps
117
117
 
118
- - [AgentBrowser](https://mastra.ai/docs/browser/agent-browser)
119
- - [Stagehand](https://mastra.ai/docs/browser/stagehand)
118
+ - [AgentBrowser](https://mastra.ai/integrations/browsers/agent-browser)
119
+ - [Stagehand](https://mastra.ai/integrations/browsers/stagehand)
120
120
  - [Browser overview](https://mastra.ai/docs/browser/overview)
@@ -8,14 +8,15 @@ Channels connect agents to messaging and collaboration platforms like Slack, Mic
8
8
 
9
9
  Start with the page for your platform:
10
10
 
11
- - [Slack](https://mastra.ai/docs/capabilities/channels/slack)
12
- - [Microsoft Teams](https://mastra.ai/docs/capabilities/channels/teams)
13
- - [Discord](https://mastra.ai/docs/capabilities/channels/discord)
14
- - [Telegram](https://mastra.ai/docs/capabilities/channels/telegram)
15
- - [WhatsApp](https://mastra.ai/docs/capabilities/channels/whatsapp)
16
- - [iMessage](https://mastra.ai/docs/capabilities/channels/imessage)
11
+ - [Slack](https://mastra.ai/integrations/channels/slack)
12
+ - [Microsoft Teams](https://mastra.ai/integrations/channels/teams)
13
+ - [Discord](https://mastra.ai/integrations/channels/discord)
14
+ - [Telegram](https://mastra.ai/integrations/channels/telegram)
15
+ - [WhatsApp](https://mastra.ai/integrations/channels/whatsapp)
16
+ - [iMessage](https://mastra.ai/integrations/channels/imessage)
17
+ - [GitHub](https://mastra.ai/integrations/channels/github)
17
18
 
18
- [More](https://mastra.ai/docs/capabilities/channels/other-adapters) lists additional platforms. Mastra channels work with compatible [Chat SDK adapters](https://chat-sdk.dev/adapters) beyond the platforms listed here, and the same Mastra configuration pattern applies across adapters.
19
+ [Other adapters](#other-adapters) lists additional platforms. Mastra channels work with compatible [Chat SDK adapters](https://chat-sdk.dev/adapters) beyond the platforms listed here, and the same Mastra configuration pattern applies across adapters.
19
20
 
20
21
  ## When to use channels
21
22
 
@@ -274,6 +275,68 @@ export const mastra = new Mastra({
274
275
 
275
276
  Vercel's managed Redis integration and Upstash Redis both work well. For more on when a distributed pub/sub is needed, see the [PubSub guide](https://mastra.ai/docs/server/pubsub) and the [`RedisStreamsPubSub` reference](https://mastra.ai/reference/pubsub/redis-streams).
276
277
 
278
+ ## Other adapters
279
+
280
+ Mastra channels use Chat SDK adapters, so the platform guides aren't the full list of supported platforms. Use any Chat SDK platform adapter that exports an adapter factory compatible with `channels.adapters`.
281
+
282
+ ### Adapter catalog
283
+
284
+ The [Chat SDK adapter catalog](https://chat-sdk.dev/adapters) is the canonical source for available adapters. The list below is a snapshot and may not always be up to date.
285
+
286
+ At the time of writing, Chat SDK lists adapters for:
287
+
288
+ - AgentPhone
289
+ - Baileys WhatsApp
290
+ - Discord
291
+ - GitHub
292
+ - Google Chat
293
+ - iMessage
294
+ - Kapso
295
+ - Lark / Feishu
296
+ - Linear
297
+ - Liveblocks
298
+ - Matrix
299
+ - Mattermost
300
+ - Messenger
301
+ - Novu
302
+ - Resend
303
+ - Sendblue
304
+ - Telegram
305
+ - Twilio
306
+ - Velt
307
+ - Web
308
+ - Webex
309
+ - WeChat
310
+ - WhatsApp Business Cloud
311
+ - X
312
+ - Zalo
313
+ - Zernio
314
+
315
+ Check the adapter's docs for its package name, credential variables, webhook requirements, and platform-specific behavior.
316
+
317
+ ### Use the same Mastra wiring
318
+
319
+ The Mastra side of each Chat SDK adapter follows the same setup. Install the adapter package and add its factory to `channels.adapters`. Then configure the platform credentials and point its webhook to the generated Mastra route.
320
+
321
+ Use one of the platform guides as a reference for the Mastra wiring:
322
+
323
+ - [Discord](https://mastra.ai/integrations/channels/discord)
324
+ - [Microsoft Teams](https://mastra.ai/integrations/channels/teams)
325
+ - [Slack](https://mastra.ai/integrations/channels/slack)
326
+ - [Telegram](https://mastra.ai/integrations/channels/telegram)
327
+ - [WhatsApp](https://mastra.ai/integrations/channels/whatsapp)
328
+
329
+ ### Check the adapter docs
330
+
331
+ Before wiring a new adapter into Mastra, check the adapter docs for:
332
+
333
+ - Attachment, card, and rich message support.
334
+ - Credential environment variables.
335
+ - Required platform permissions or scopes.
336
+ - Whether regular messages require long-running listeners or polling.
337
+ - Whether the platform needs separate routes for setup, events, or interactions.
338
+ - Webhook verification behavior.
339
+
277
340
  ## Related
278
341
 
279
342
  - [Channels reference](https://mastra.ai/reference/agents/channels)
@@ -16,7 +16,7 @@ Common use cases:
16
16
  - Multi-step tasks that need different expertise at each stage
17
17
  - Tasks where you need fine-grained control over delegation behavior
18
18
 
19
- > **Note:** A parent agent that coordinates subagents is often called a supervisor. The supervisor pattern is one approach to building multi-agent systems in Mastra. For other patterns, read the [conceptual overview](https://mastra.ai/guides/concepts/multi-agent-systems).
19
+ > **Note:** A parent agent that coordinates subagents is often called a supervisor. The supervisor pattern is one approach to building multi-agent systems in Mastra. For other patterns, read the [conceptual overview](https://mastra.ai/docs/guides/multi-agent-systems).
20
20
 
21
21
  ## Quickstart
22
22
 
@@ -453,5 +453,5 @@ Version overrides propagate automatically through delegation. See [Subagent vers
453
453
  - [Agent.generate() reference](https://mastra.ai/reference/agents/generate)
454
454
  - [Agent approval](https://mastra.ai/docs/agents/agent-approval)
455
455
  - [Memory in multi-agent systems](https://mastra.ai/docs/memory/overview)
456
- - [Concept: Multi-agent systems](https://mastra.ai/guides/concepts/multi-agent-systems)
456
+ - [Concept: Multi-agent systems](https://mastra.ai/docs/guides/multi-agent-systems)
457
457
  - 📹 [Mastra supervisor agents workshop](https://www.youtube.com/watch?v=FNb2fL9WhQg\&t=1872s)
@@ -12,12 +12,12 @@ Mastra provides a platform to deploy your server to the cloud. Read the [Mastra
12
12
 
13
13
  The following guides show how to deploy Mastra to specific cloud providers:
14
14
 
15
- - [Amazon Bedrock AgentCore](https://mastra.ai/guides/deployment/aws-bedrock-agentcore)
16
- - [Amazon EC2](https://mastra.ai/guides/deployment/amazon-ec2)
17
- - [AWS Lambda](https://mastra.ai/guides/deployment/aws-lambda)
18
- - [Azure App Services](https://mastra.ai/guides/deployment/azure-app-services)
19
- - [Cloudflare](https://mastra.ai/guides/deployment/cloudflare)
20
- - [Digital Ocean](https://mastra.ai/guides/deployment/digital-ocean)
21
- - [Kubernetes](https://mastra.ai/guides/deployment/kubernetes)
22
- - [Netlify](https://mastra.ai/guides/deployment/netlify)
23
- - [Vercel](https://mastra.ai/guides/deployment/vercel)
15
+ - [Amazon Bedrock AgentCore](https://mastra.ai/integrations/deploy/aws-bedrock-agentcore)
16
+ - [Amazon EC2](https://mastra.ai/integrations/deploy/amazon-ec2)
17
+ - [AWS Lambda](https://mastra.ai/integrations/deploy/aws-lambda)
18
+ - [Azure App Services](https://mastra.ai/integrations/deploy/azure-app-services)
19
+ - [Cloudflare](https://mastra.ai/integrations/deploy/cloudflare)
20
+ - [Digital Ocean](https://mastra.ai/integrations/deploy/digital-ocean)
21
+ - [Kubernetes](https://mastra.ai/integrations/deploy/kubernetes)
22
+ - [Netlify](https://mastra.ai/integrations/deploy/netlify)
23
+ - [Vercel](https://mastra.ai/integrations/deploy/vercel)
@@ -43,14 +43,14 @@ Mastra applications can be deployed to cloud providers and serverless platforms.
43
43
 
44
44
  Use this option for auto-scaling, minimal infrastructure management, or when you're already using one of these platforms.
45
45
 
46
- - [Amazon EC2](https://mastra.ai/guides/deployment/amazon-ec2)
47
- - [AWS Lambda](https://mastra.ai/guides/deployment/aws-lambda)
48
- - [Azure App Services](https://mastra.ai/guides/deployment/azure-app-services)
49
- - [Cloudflare](https://mastra.ai/guides/deployment/cloudflare)
50
- - [Digital Ocean](https://mastra.ai/guides/deployment/digital-ocean)
51
- - [Kubernetes](https://mastra.ai/guides/deployment/kubernetes)
52
- - [Netlify](https://mastra.ai/guides/deployment/netlify)
53
- - [Vercel](https://mastra.ai/guides/deployment/vercel)
46
+ - [Amazon EC2](https://mastra.ai/integrations/deploy/amazon-ec2)
47
+ - [AWS Lambda](https://mastra.ai/integrations/deploy/aws-lambda)
48
+ - [Azure App Services](https://mastra.ai/integrations/deploy/azure-app-services)
49
+ - [Cloudflare](https://mastra.ai/integrations/deploy/cloudflare)
50
+ - [Digital Ocean](https://mastra.ai/integrations/deploy/digital-ocean)
51
+ - [Kubernetes](https://mastra.ai/integrations/deploy/kubernetes)
52
+ - [Netlify](https://mastra.ai/integrations/deploy/netlify)
53
+ - [Vercel](https://mastra.ai/integrations/deploy/vercel)
54
54
 
55
55
  ### Sandbox
56
56
 
@@ -72,7 +72,7 @@ Use these guides when adding Mastra to an existing Next.js or Astro application.
72
72
 
73
73
  Mastra workflows run using the built-in execution engine by default. For production workloads requiring managed infrastructure, workflows can also be deployed to specialized platforms like [Inngest](https://www.inngest.com) that provide step memoization, automatic retries, and real-time monitoring.
74
74
 
75
- Visit the [Workflow Runners guide](https://mastra.ai/docs/deployment/workflow-runners) for execution options and the [Inngest deployment guide](https://mastra.ai/guides/deployment/inngest) for setup instructions.
75
+ Visit the [Workflow Runners guide](https://mastra.ai/docs/deployment/workflow-runners) for execution options and the [Inngest deployment guide](https://mastra.ai/integrations/deploy/inngest) for setup instructions.
76
76
 
77
77
  ## Workers
78
78
 
@@ -17,9 +17,9 @@ Sandboxes have provider-enforced runtime caps and expire. For production hosting
17
17
 
18
18
  The deployer works with any workspace sandbox that supports networking (public port URLs):
19
19
 
20
- - [Vercel Sandbox](https://mastra.ai/reference/workspace/vercel-sandbox) (`@mastra/vercel`)
21
- - [E2B](https://mastra.ai/reference/workspace/e2b-sandbox) (`@mastra/e2b`)
22
- - [Daytona](https://mastra.ai/reference/workspace/daytona-sandbox) (`@mastra/daytona`)
20
+ - [Vercel Sandbox](https://mastra.ai/integrations/sandboxes/vercel) (`@mastra/vercel`)
21
+ - [E2B](https://mastra.ai/integrations/sandboxes/e2b) (`@mastra/e2b`)
22
+ - [Daytona](https://mastra.ai/integrations/sandboxes/daytona) (`@mastra/daytona`)
23
23
 
24
24
  Provider authors can add support by implementing the optional `networking` capability on [`WorkspaceSandbox`](https://mastra.ai/reference/workspace/sandbox).
25
25
 
@@ -4,16 +4,16 @@
4
4
 
5
5
  When Mastra is integrated with a web framework, it deploys alongside your application using the framework's standard deployment process. Follow the instructions below to ensure your Mastra integration deploys correctly.
6
6
 
7
- > **Warning:** If you're deploying to a cloud provider, remove any usage of [LibSQLStore](https://mastra.ai/reference/storage/libsql) from your Mastra configuration. LibSQLStore requires filesystem access and isn't compatible with serverless platforms.
7
+ > **Warning:** If you're deploying to a cloud provider, remove any usage of [LibSQLStore](https://mastra.ai/integrations/databases/libsql) from your Mastra configuration. LibSQLStore requires filesystem access and isn't compatible with serverless platforms.
8
8
 
9
9
  Integration guides:
10
10
 
11
- - [With Next.js](https://mastra.ai/guides/getting-started/next-js)
12
- - [With Astro](https://mastra.ai/guides/getting-started/astro)
11
+ - [With Next.js](https://mastra.ai/integrations/frameworks/next-js)
12
+ - [With Astro](https://mastra.ai/integrations/frameworks/astro)
13
13
 
14
14
  ## With Next.js on Vercel
15
15
 
16
- If you've integrated Mastra with Next.js [by following our guide](https://mastra.ai/guides/getting-started/next-js) and plan to deploy to Vercel, add `serverExternalPackages: ["@mastra/*"]` to your `next.config.ts`:
16
+ If you've integrated Mastra with Next.js [by following our guide](https://mastra.ai/integrations/frameworks/next-js) and plan to deploy to Vercel, add `serverExternalPackages: ["@mastra/*"]` to your `next.config.ts`:
17
17
 
18
18
  ```typescript
19
19
  import type { NextConfig } from 'next'
@@ -27,7 +27,7 @@ export default nextConfig
27
27
 
28
28
  ## With Astro on Vercel
29
29
 
30
- If you've integrated Mastra with Astro [by following our guide](https://mastra.ai/guides/getting-started/astro) and plan to deploy to Vercel, add the Vercel adapter and server output to your `astro.config.mjs`:
30
+ If you've integrated Mastra with Astro [by following our guide](https://mastra.ai/integrations/frameworks/astro) and plan to deploy to Vercel, add the Vercel adapter and server output to your `astro.config.mjs`:
31
31
 
32
32
  ```javascript
33
33
  import { defineConfig } from 'astro/config'
@@ -41,7 +41,7 @@ export default defineConfig({
41
41
 
42
42
  ## With Astro on Netlify
43
43
 
44
- If you've integrated Mastra with Astro [by following our guide](https://mastra.ai/guides/getting-started/astro) and plan to deploy to Netlify, add the Netlify adapter and server output to your `astro.config.mjs`:
44
+ If you've integrated Mastra with Astro [by following our guide](https://mastra.ai/integrations/frameworks/astro) and plan to deploy to Netlify, add the Netlify adapter and server output to your `astro.config.mjs`:
45
45
 
46
46
  ```javascript
47
47
  import { defineConfig } from 'astro/config'
@@ -8,10 +8,10 @@ Mastra [workflows](https://mastra.ai/docs/workflows/overview) can be executed us
8
8
 
9
9
  Inngest is a developer platform for running background workflows without managing infrastructure. Mastra workflows can be deployed to Inngest, which provides step memoization, automatic retries, real-time monitoring, and suspend/resume capabilities.
10
10
 
11
- Visit the [Inngest deployment guide](https://mastra.ai/guides/deployment/inngest) for setup instructions and the [Inngest workflow example](https://github.com/mastra-ai/mastra/tree/main/examples/inngest) for a complete implementation.
11
+ Visit the [Inngest deployment guide](https://mastra.ai/integrations/deploy/inngest) for setup instructions and the [Inngest workflow example](https://github.com/mastra-ai/mastra/tree/main/examples/inngest) for a complete implementation.
12
12
 
13
13
  ## Temporal
14
14
 
15
15
  Temporal is a durable execution platform for orchestrating long-running workflows. Mastra workflows can run on Temporal workers, with each `createStep` mapped to a Temporal activity for automatic retries and durable state.
16
16
 
17
- The `@mastra/temporal` package is experimental and not ready for production use. Visit the [Temporal deployment guide](https://mastra.ai/guides/deployment/temporal) for setup instructions.
17
+ The `@mastra/temporal` package is experimental and not ready for production use. Visit the [Temporal deployment guide](https://mastra.ai/integrations/deploy/temporal) for setup instructions.
@@ -388,7 +388,7 @@ channels: {
388
388
 
389
389
  Controller channel sessions and auto-approval state are held in memory, so use a long-lived server. Pending approvals and live Session state don't survive process restarts. Adapters that can't render approval controls automatically run tools without an approval prompt so the run doesn't remain suspended.
390
390
 
391
- See [Channels](https://mastra.ai/docs/capabilities/channels/overview) for adapter setup and platform-specific webhook configuration.
391
+ See [Channels](https://mastra.ai/docs/capabilities/channels) for adapter setup and platform-specific webhook configuration.
392
392
 
393
393
  ## Connect a UI
394
394
 
@@ -414,4 +414,4 @@ Subscriptions are isolated by Session. Events from another Session on the same c
414
414
  - [Agents](https://mastra.ai/docs/agents/overview)
415
415
  - [Workspace](https://mastra.ai/docs/workspace/overview)
416
416
  - [Observational memory](https://mastra.ai/docs/memory/observational-memory)
417
- - [Channels](https://mastra.ai/docs/capabilities/channels/overview)
417
+ - [Channels](https://mastra.ai/docs/capabilities/channels)
@@ -153,14 +153,14 @@ You can open [Studio](https://mastra.ai/docs/studio/overview) immediately, which
153
153
 
154
154
  Add Mastra to an existing project, or create a new app with your preferred framework:
155
155
 
156
- - [Next.js](https://mastra.ai/guides/getting-started/next-js)
157
- - [React](https://mastra.ai/guides/getting-started/vite-react)
158
- - [Astro](https://mastra.ai/guides/getting-started/astro)
159
- - [Express](https://mastra.ai/guides/getting-started/express)
160
- - [SvelteKit](https://mastra.ai/guides/getting-started/sveltekit)
161
- - [Hono](https://mastra.ai/guides/getting-started/hono)
162
-
163
- For other frameworks, see the [framework integration guides](https://mastra.ai/guides/getting-started/next-js).
156
+ - [Next.js](https://mastra.ai/integrations/frameworks/next-js)
157
+ - [React](https://mastra.ai/integrations/frameworks/vite-react)
158
+ - [Astro](https://mastra.ai/integrations/frameworks/astro)
159
+ - [Express](https://mastra.ai/integrations/frameworks/express)
160
+ - [SvelteKit](https://mastra.ai/integrations/frameworks/sveltekit)
161
+ - [Hono](https://mastra.ai/integrations/frameworks/hono)
162
+
163
+ For other frameworks, see the [framework integration guides](https://mastra.ai/integrations/frameworks/next-js).
164
164
 
165
165
  ## Templates
166
166
 
@@ -15,7 +15,7 @@ Use a durable agent when any of the following apply:
15
15
  - The client may drop and reconnect mid-stream (mobile, spotty networks, long-running calls).
16
16
  - The agentic loop may outlive a single HTTP request (background research, multi-step tool use).
17
17
  - You need an observe/reconnect API where a second client picks up a stream that a first client started.
18
- - You want [Inngest-powered execution](https://mastra.ai/guides/deployment/inngest) with step memoization, retries, and monitoring.
18
+ - You want [Inngest-powered execution](https://mastra.ai/integrations/deploy/inngest) with step memoization, retries, and monitoring.
19
19
 
20
20
  For short-lived, request-scoped calls where the client stays connected, a regular `Agent` with `stream()` or `generate()` is simpler.
21
21
 
@@ -268,6 +268,6 @@ Mastra doesn't provide a distributed lease or lock yet. In multi-replica deploym
268
268
  - [DurableAgent reference](https://mastra.ai/reference/agents/durable-agent)
269
269
  - [`createInngestAgent()` reference](https://mastra.ai/reference/agents/inngest-agent)
270
270
  - [Background tasks](https://mastra.ai/docs/long-running-agents/background-tasks)
271
- - [Inngest deployment guide](https://mastra.ai/guides/deployment/inngest)
271
+ - [Inngest deployment guide](https://mastra.ai/integrations/deploy/inngest)
272
272
  - [Agent overview](https://mastra.ai/docs/agents/overview)
273
273
  - [Worker overview](https://mastra.ai/docs/deployment/workers)
@@ -45,7 +45,7 @@ export const supportAgent = new Agent({
45
45
  })
46
46
  ```
47
47
 
48
- > **Note:** Notification delivery requires a storage adapter with notification support, such as [libSQL](https://mastra.ai/reference/storage/libsql), [PostgreSQL](https://mastra.ai/reference/storage/postgresql), or [MongoDB](https://mastra.ai/reference/storage/mongodb). Configure storage on the Mastra instance so `notify()` can store notification records.
48
+ > **Note:** Notification delivery requires a storage adapter with notification support, such as [libSQL](https://mastra.ai/integrations/databases/libsql), [PostgreSQL](https://mastra.ai/integrations/databases/postgresql), or [MongoDB](https://mastra.ai/integrations/databases/mongodb). Configure storage on the Mastra instance so `notify()` can store notification records.
49
49
 
50
50
  ## Quickstart
51
51
 
@@ -200,20 +200,7 @@ A provider can support more than event ingestion. Add only the capabilities your
200
200
  - **Lifecycle hooks:** Override [`start()`](https://mastra.ai/reference/signals/signal-provider) for async setup and [`stop()`](https://mastra.ai/reference/signals/signal-provider) for cleanup. Call `super.stop()` when overriding `stop()` so the base provider can stop polling and clear its registry.
201
201
  - **Processors and tools:** Return processors from [`getInputProcessors()`](https://mastra.ai/reference/signals/signal-provider) or [`getOutputProcessors()`](https://mastra.ai/reference/signals/signal-provider), and return agent-callable tools from [`getTools()`](https://mastra.ai/reference/signals/signal-provider).
202
202
 
203
- The `@mastra/github-signals` package is a production signal provider that watches GitHub pull requests and notifies threads about comments, review state, continuous integration status, and merges. Use it as a reference for polling, durable subscriptions, tools, processors, and lifecycle hooks.
204
-
205
- ```typescript
206
- import { Agent } from '@mastra/core/agent'
207
- import { GithubSignals } from '@mastra/github-signals'
208
-
209
- export const devAgent = new Agent({
210
- id: 'dev-agent',
211
- name: 'Dev Agent',
212
- instructions: 'Help triage pull request activity.',
213
- model: 'openai/gpt-5.6-sol',
214
- signals: [new GithubSignals()],
215
- })
216
- ```
203
+ For a production provider that watches GitHub pull requests, see the [GitHub Channels integration](https://mastra.ai/integrations/channels/github).
217
204
 
218
205
  ## Related
219
206
 
@@ -147,7 +147,7 @@ Use XML-safe `tagName` and attribute names. They can contain letters, numbers, s
147
147
 
148
148
  #### Storage support
149
149
 
150
- Notification inbox storage is available in the storage adapters that support richer memory and signal workflows: [libSQL](https://mastra.ai/reference/storage/libsql), [PostgreSQL](https://mastra.ai/reference/storage/postgresql), and [MongoDB](https://mastra.ai/reference/storage/mongodb). These adapters expose notification records through `getStore('notifications')`.
150
+ Notification inbox storage is available in the storage adapters that support richer memory and signal workflows: [libSQL](https://mastra.ai/integrations/databases/libsql), [PostgreSQL](https://mastra.ai/integrations/databases/postgresql), and [MongoDB](https://mastra.ai/integrations/databases/mongodb). These adapters expose notification records through `getStore('notifications')`.
151
151
 
152
152
  ### Send processor context
153
153
 
@@ -99,7 +99,7 @@ When a database is `ready`, the provider has finished provisioning and the platf
99
99
 
100
100
  ### Turso (LibSQL)
101
101
 
102
- Turso exposes two environment variables: `TURSO_DATABASE_URL` and `TURSO_AUTH_TOKEN`. The following example connects a [LibSQLStore](https://mastra.ai/reference/storage/libsql) using those variables.
102
+ Turso exposes two environment variables: `TURSO_DATABASE_URL` and `TURSO_AUTH_TOKEN`. The following example connects a [LibSQLStore](https://mastra.ai/integrations/databases/libsql) using those variables.
103
103
 
104
104
  ```ts
105
105
  import { LibSQLStore } from '@mastra/libsql'
@@ -139,7 +139,7 @@ bun add @mastra/libsql@latest
139
139
 
140
140
  ### PostgreSQL
141
141
 
142
- PostgreSQL exposes a single `DATABASE_URL` connection string. The following example connects a [PostgresStore](https://mastra.ai/reference/storage/postgresql) using that variable.
142
+ PostgreSQL exposes a single `DATABASE_URL` connection string. The following example connects a [PostgresStore](https://mastra.ai/integrations/databases/postgresql) using that variable.
143
143
 
144
144
  ```ts
145
145
  import { PostgresStore } from '@mastra/pg'
@@ -8,7 +8,7 @@ You get a stable API endpoint, environment variable management, custom domain su
8
8
 
9
9
  > **Note:** `mastra server deploy` is the earlier split deploy path. New projects should use the unified [`mastra deploy`](https://mastra.ai/docs/mastra-platform/deploy) command, which adds preflight validation, environments, and CLI-managed databases.
10
10
 
11
- > **Note:** Server deploy provisions hosted storage automatically. If you override storage with [LibSQLStore](https://mastra.ai/reference/storage/libsql) and a file URL, switch to a remotely hosted database because Mastra platform uses an ephemeral filesystem.
11
+ > **Note:** Server deploy provisions hosted storage automatically. If you override storage with [LibSQLStore](https://mastra.ai/integrations/databases/libsql) and a file URL, switch to a remotely hosted database because Mastra platform uses an ephemeral filesystem.
12
12
 
13
13
  ## Quickstart
14
14
 
@@ -202,6 +202,48 @@ export const mastra = new Mastra({
202
202
 
203
203
  Visit the [`MCPServer` reference](https://mastra.ai/reference/tools/mcp-server) for prompts, resources, transports, and other server options.
204
204
 
205
+ ### Publish a stdio server package
206
+
207
+ Package a server that uses the standard input/output (stdio) transport when you want clients to run it locally through a command such as `npx`. Create a separate executable entry point that starts the server:
208
+
209
+ ```typescript
210
+ #!/usr/bin/env node
211
+ import { mcpServer } from './server'
212
+
213
+ mcpServer.startStdio().catch(error => {
214
+ console.error('Failed to start MCP server:', error)
215
+ process.exit(1)
216
+ })
217
+ ```
218
+
219
+ Build the entry point as an executable Node.js file, then point the package's `bin` field to that output. Include the built file in the published package and keep the shebang as its first line:
220
+
221
+ ```json
222
+ {
223
+ "bin": {
224
+ "my-mcp-server": "dist/stdio.js"
225
+ },
226
+ "files": ["dist"]
227
+ }
228
+ ```
229
+
230
+ After publishing the package, configure clients to run it by package name:
231
+
232
+ ```typescript
233
+ import { MCPClient } from '@mastra/mcp'
234
+
235
+ const mcpClient = new MCPClient({
236
+ servers: {
237
+ myServer: {
238
+ command: 'npx',
239
+ args: ['-y', '@your-org/my-mcp-server@1.0.0'],
240
+ },
241
+ },
242
+ })
243
+ ```
244
+
245
+ Visit the [npm package publishing documentation](https://docs.npmjs.com/creating-and-publishing-scoped-public-packages) for package naming, authentication, and publication commands.
246
+
205
247
  ## Build MCP Apps
206
248
 
207
249
  The [MCP Apps extension](https://github.com/modelcontextprotocol/ext-apps) lets MCP tools serve interactive HTML interfaces through `ui://` resources. Mastra Studio renders these apps in sandboxed iframes on tool pages and in agent chat.
@@ -313,11 +313,11 @@ Both scenarios are safe - guardrails prevent inappropriate content from being pe
313
313
 
314
314
  Some storage providers enforce record size limits that base64-encoded file attachments can exceed:
315
315
 
316
- | Provider | Record size limit |
317
- | ------------------------------------------------------------------ | ----------------- |
318
- | [DynamoDB](https://mastra.ai/reference/storage/dynamodb) | 400 KB |
319
- | [Convex](https://mastra.ai/reference/storage/convex) | 1 MiB |
320
- | [Cloudflare D1](https://mastra.ai/reference/storage/cloudflare-d1) | 1 MiB |
316
+ | Provider | Record size limit |
317
+ | ----------------------------------------------------------------------- | ----------------- |
318
+ | [DynamoDB](https://mastra.ai/integrations/databases/dynamodb) | 400 KB |
319
+ | [Convex](https://mastra.ai/integrations/databases/convex) | 1 MiB |
320
+ | [Cloudflare D1](https://mastra.ai/integrations/databases/cloudflare-d1) | 1 MiB |
321
321
 
322
322
  PostgreSQL, MongoDB, and libSQL have higher limits and are usually unaffected.
323
323
 
@@ -12,7 +12,7 @@ You can also retrieve message history to display past conversations in your UI.
12
12
  >
13
13
  > Sending the full history is redundant because Mastra loads messages from storage, and it can cause message ordering bugs when client-side timestamps conflict with stored timestamps.
14
14
  >
15
- > For an AI SDK example, see [Using Mastra Memory](https://mastra.ai/guides/build-your-ui/ai-sdk-ui).
15
+ > For an AI SDK example, see [Using Mastra Memory](https://mastra.ai/integrations/agentic-ui/ai-sdk-ui).
16
16
 
17
17
  ## Threads and resources
18
18
 
@@ -92,7 +92,7 @@ See [configuration options](https://mastra.ai/reference/memory/observational-mem
92
92
  >
93
93
  > Observational memory still relies on stored conversation history. Sending the full history is redundant and can cause message ordering bugs when client-side timestamps conflict with stored timestamps.
94
94
  >
95
- > For an AI SDK example, see [Using Mastra Memory](https://mastra.ai/guides/build-your-ui/ai-sdk-ui).
95
+ > For an AI SDK example, see [Using Mastra Memory](https://mastra.ai/integrations/agentic-ui/ai-sdk-ui).
96
96
 
97
97
  > **Note:** OM currently only supports `@mastra/pg`, `@mastra/libsql`, `@mastra/mysql`, `@mastra/mongodb`, `@mastra/convex`, and `@mastra/oracledb` storage adapters. It uses background agents for managing memory. When no model is set, the default model is `google/gemini-2.5-flash`.
98
98