@mastra/mcp-docs-server 1.2.7-alpha.12 → 1.2.7-alpha.4

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 (158) hide show
  1. package/.docs/docs/agent-builder/integrations.md +2 -44
  2. package/.docs/docs/agent-builder/overview.md +3 -4
  3. package/.docs/docs/agent-builder/skill-registries.md +3 -1
  4. package/.docs/docs/agent-controller/overview.md +2 -3
  5. package/.docs/docs/agent-controller/session.md +3 -1
  6. package/.docs/docs/agents/a2a.md +1 -2
  7. package/.docs/docs/agents/channels.md +225 -0
  8. package/.docs/docs/agents/code-mode.md +1 -1
  9. package/.docs/docs/agents/file-based-agents.md +297 -0
  10. package/.docs/docs/agents/guardrails.md +9 -10
  11. package/.docs/docs/agents/overview.md +4 -4
  12. package/.docs/docs/agents/skills.md +5 -3
  13. package/.docs/docs/agents/structured-output.md +1 -1
  14. package/.docs/docs/agents/supervisor-agents.md +4 -3
  15. package/.docs/docs/agents/using-tools.md +4 -2
  16. package/.docs/docs/browser/agent-browser.md +3 -1
  17. package/.docs/docs/browser/browser-viewer.md +3 -1
  18. package/.docs/docs/browser/overview.md +1 -2
  19. package/.docs/docs/browser/stagehand.md +1 -1
  20. package/.docs/docs/deployment/mastra-server.md +4 -2
  21. package/.docs/docs/editor/overview.md +6 -2
  22. package/.docs/docs/editor/prompts.md +1 -1
  23. package/.docs/docs/editor/tools.md +5 -3
  24. package/.docs/docs/evals/custom-scorers.md +3 -1
  25. package/.docs/docs/evals/datasets/overview.md +5 -4
  26. package/.docs/docs/evals/datasets/running-experiments.md +2 -4
  27. package/.docs/docs/evals/evals-with-memory.md +3 -1
  28. package/.docs/docs/evals/gates-and-verdicts.md +3 -1
  29. package/.docs/docs/evals/overview.md +1 -4
  30. package/.docs/docs/evals/quick-checks.md +3 -1
  31. package/.docs/docs/long-running-agents/background-tasks.md +1 -1
  32. package/.docs/docs/long-running-agents/durable-agents.md +5 -3
  33. package/.docs/docs/long-running-agents/goals.md +3 -1
  34. package/.docs/docs/long-running-agents/signal-providers.md +3 -1
  35. package/.docs/docs/long-running-agents/signals.md +22 -11
  36. package/.docs/docs/mastra-platform/observability.md +1 -5
  37. package/.docs/docs/mcp/mcp-apps.md +3 -3
  38. package/.docs/docs/mcp/overview.md +10 -6
  39. package/.docs/docs/memory/observational-memory.md +1 -2
  40. package/.docs/docs/memory/overview.md +4 -6
  41. package/.docs/docs/memory/semantic-recall.md +1 -1
  42. package/.docs/docs/memory/working-memory.md +3 -3
  43. package/.docs/docs/observability/integrations/exporters/mastra-platform.md +3 -1
  44. package/.docs/docs/observability/logging.md +1 -1
  45. package/.docs/docs/observability/tracing/overview.md +1 -1
  46. package/.docs/docs/server/auth/auth0.md +1 -1
  47. package/.docs/docs/server/auth/better-auth.md +2 -2
  48. package/.docs/docs/server/auth/clerk.md +1 -1
  49. package/.docs/docs/server/auth/firebase.md +1 -1
  50. package/.docs/docs/server/auth/google.md +2 -2
  51. package/.docs/docs/server/auth/jwt.md +2 -2
  52. package/.docs/docs/server/auth/okta.md +2 -2
  53. package/.docs/docs/server/auth/workos.md +1 -1
  54. package/.docs/docs/server/mastra-client.md +1 -1
  55. package/.docs/docs/server/mastra-server.md +1 -1
  56. package/.docs/docs/server/pubsub.md +1 -1
  57. package/.docs/docs/server/request-context.md +4 -4
  58. package/.docs/docs/server/server-adapters.md +8 -8
  59. package/.docs/docs/studio/auth.md +3 -1
  60. package/.docs/docs/studio/overview.md +1 -1
  61. package/.docs/docs/workflows/agents-and-tools.md +5 -3
  62. package/.docs/docs/workflows/control-flow.md +3 -1
  63. package/.docs/docs/workflows/overview.md +7 -6
  64. package/.docs/docs/workspace/overview.md +1 -2
  65. package/.docs/docs/workspace/sandbox.md +0 -2
  66. package/.docs/guides/build-your-ui/assistant-ui.md +1 -1
  67. package/.docs/guides/build-your-ui/copilotkit/overview.md +1 -1
  68. package/.docs/guides/concepts/streaming.md +3 -3
  69. package/.docs/guides/getting-started/quickstart.md +1 -3
  70. package/.docs/guides/guide/chef-michel.md +2 -0
  71. package/.docs/guides/guide/slack-assistant.md +2 -2
  72. package/.docs/guides/guide/stock-agent.md +2 -0
  73. package/.docs/models/environment-variables.md +0 -6
  74. package/.docs/models/gateways/netlify.md +1 -4
  75. package/.docs/models/gateways/openrouter.md +7 -8
  76. package/.docs/models/gateways/vercel.md +1 -6
  77. package/.docs/models/index.md +1 -1
  78. package/.docs/models/providers/abacus.md +14 -44
  79. package/.docs/models/providers/llmgateway.md +181 -185
  80. package/.docs/models/providers/nano-gpt.md +2 -2
  81. package/.docs/models/providers/neon.md +29 -40
  82. package/.docs/models/providers/nvidia.md +3 -1
  83. package/.docs/models/providers/openai.md +1 -6
  84. package/.docs/models/providers/opencode.md +2 -5
  85. package/.docs/models/providers/poolside.md +5 -6
  86. package/.docs/models/providers/routing-run.md +34 -23
  87. package/.docs/models/providers/the-grid-ai.md +3 -3
  88. package/.docs/models/providers.md +0 -6
  89. package/.docs/reference/agents/channels.md +2 -2
  90. package/.docs/reference/channels/channel-provider.md +1 -1
  91. package/.docs/reference/channels/slack-provider.md +2 -2
  92. package/.docs/reference/cli/mastra.md +10 -117
  93. package/.docs/reference/evals/create-scorer.md +0 -8
  94. package/.docs/reference/index.md +0 -15
  95. package/.docs/reference/memory/memory-class.md +1 -1
  96. package/.docs/reference/memory/serialized-memory-config.md +1 -1
  97. package/.docs/reference/project-structure.md +1 -1
  98. package/.docs/reference/pubsub/lease-provider.md +1 -1
  99. package/.docs/reference/server/express-adapter.md +3 -1
  100. package/.docs/reference/server/fastify-adapter.md +3 -1
  101. package/.docs/reference/server/hono-adapter.md +3 -1
  102. package/.docs/reference/server/koa-adapter.md +3 -1
  103. package/.docs/reference/server/nestjs-adapter.md +3 -1
  104. package/.docs/reference/storage/clickhouse.md +0 -32
  105. package/.docs/reference/storage/composite.md +1 -27
  106. package/.docs/reference/storage/retention.md +0 -11
  107. package/.docs/reference/tools/mcp-client.md +0 -22
  108. package/.docs/reference/tools/mcp-server.md +4 -161
  109. package/.docs/reference/workspace/agentcore-runtime-sandbox.md +3 -1
  110. package/.docs/reference/workspace/agentfs-filesystem.md +3 -1
  111. package/.docs/reference/workspace/apple-container-sandbox.md +3 -1
  112. package/.docs/reference/workspace/archil-filesystem.md +3 -1
  113. package/.docs/reference/workspace/azure-blob-filesystem.md +3 -1
  114. package/.docs/reference/workspace/blaxel-sandbox.md +3 -1
  115. package/.docs/reference/workspace/daytona-sandbox.md +3 -1
  116. package/.docs/reference/workspace/docker-sandbox.md +3 -1
  117. package/.docs/reference/workspace/e2b-sandbox.md +3 -1
  118. package/.docs/reference/workspace/files-sdk-filesystem.md +3 -1
  119. package/.docs/reference/workspace/gcs-filesystem.md +3 -1
  120. package/.docs/reference/workspace/google-drive-filesystem.md +3 -1
  121. package/.docs/reference/workspace/local-filesystem.md +3 -1
  122. package/.docs/reference/workspace/local-sandbox.md +3 -1
  123. package/.docs/reference/workspace/modal-sandbox.md +3 -1
  124. package/.docs/reference/workspace/railway-sandbox.md +3 -1
  125. package/.docs/reference/workspace/s3-filesystem.md +3 -1
  126. package/.docs/reference/workspace/vercel-sandbox.md +7 -5
  127. package/.docs/reference/workspace/vercel-serverless.md +3 -1
  128. package/CHANGELOG.md +0 -29
  129. package/package.json +4 -4
  130. package/.docs/docs/capabilities/channels/discord.md +0 -98
  131. package/.docs/docs/capabilities/channels/other-adapters.md +0 -68
  132. package/.docs/docs/capabilities/channels/overview.md +0 -255
  133. package/.docs/docs/capabilities/channels/slack.md +0 -225
  134. package/.docs/docs/capabilities/channels/teams.md +0 -100
  135. package/.docs/docs/capabilities/channels/telegram.md +0 -98
  136. package/.docs/docs/capabilities/channels/whatsapp.md +0 -99
  137. package/.docs/docs/getting-started/file-based-agents.md +0 -116
  138. package/.docs/models/providers/crossmodel.md +0 -109
  139. package/.docs/models/providers/empiriolabs.md +0 -106
  140. package/.docs/models/providers/meta.md +0 -101
  141. package/.docs/models/providers/model-oracle-ai.md +0 -87
  142. package/.docs/models/providers/pioneer.md +0 -148
  143. package/.docs/models/providers/unorouter.md +0 -95
  144. package/.docs/reference/file-based-agents/config.md +0 -97
  145. package/.docs/reference/file-based-agents/instructions.md +0 -54
  146. package/.docs/reference/file-based-agents/logger.md +0 -26
  147. package/.docs/reference/file-based-agents/memory.md +0 -58
  148. package/.docs/reference/file-based-agents/observability.md +0 -32
  149. package/.docs/reference/file-based-agents/processors.md +0 -56
  150. package/.docs/reference/file-based-agents/scorers.md +0 -54
  151. package/.docs/reference/file-based-agents/server.md +0 -37
  152. package/.docs/reference/file-based-agents/skills.md +0 -56
  153. package/.docs/reference/file-based-agents/storage.md +0 -30
  154. package/.docs/reference/file-based-agents/studio.md +0 -56
  155. package/.docs/reference/file-based-agents/subagents.md +0 -123
  156. package/.docs/reference/file-based-agents/tools.md +0 -63
  157. package/.docs/reference/file-based-agents/workflows.md +0 -52
  158. package/.docs/reference/file-based-agents/workspace.md +0 -74
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Abacus logo](https://models.dev/logos/abacus.svg)Abacus
4
4
 
5
- Access 95 Abacus models through Mastra's model router. Authentication is handled automatically using the `ABACUS_API_KEY` environment variable.
5
+ Access 65 Abacus models through Mastra's model router. Authentication is handled automatically using the `ABACUS_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [Abacus documentation](https://abacus.ai).
8
8
 
@@ -17,7 +17,7 @@ const agent = new Agent({
17
17
  id: "my-agent",
18
18
  name: "My Agent",
19
19
  instructions: "You are a helpful assistant",
20
- model: "abacus/MiniMaxAI/MiniMax-M2.7"
20
+ model: "abacus/Qwen/QwQ-32B"
21
21
  });
22
22
 
23
23
  // Generate a response
@@ -37,39 +37,26 @@ for await (const chunk of stream) {
37
37
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
38
  | ---------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
39
  | `abacus/claude-3-7-sonnet-20250219` | 200K | | | | | | $3 | $15 |
40
- | `abacus/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
41
40
  | `abacus/claude-haiku-4-5-20251001` | 200K | | | | | | $1 | $5 |
42
41
  | `abacus/claude-opus-4-1-20250805` | 200K | | | | | | $15 | $75 |
43
42
  | `abacus/claude-opus-4-20250514` | 200K | | | | | | $15 | $75 |
44
43
  | `abacus/claude-opus-4-5-20251101` | 200K | | | | | | $5 | $25 |
45
- | `abacus/claude-opus-4-6` | 1.0M | | | | | | $5 | $25 |
46
- | `abacus/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
47
- | `abacus/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
44
+ | `abacus/claude-opus-4-6` | 200K | | | | | | $5 | $25 |
48
45
  | `abacus/claude-sonnet-4-20250514` | 200K | | | | | | $3 | $15 |
49
46
  | `abacus/claude-sonnet-4-5-20250929` | 200K | | | | | | $3 | $15 |
50
- | `abacus/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
51
- | `abacus/claude-sonnet-5` | 1.0M | | | | | | $3 | $15 |
47
+ | `abacus/claude-sonnet-4-6` | 200K | | | | | | $3 | $15 |
52
48
  | `abacus/deepseek-ai/DeepSeek-R1` | 128K | | | | | | $3 | $7 |
53
49
  | `abacus/deepseek-ai/DeepSeek-V3.1-Terminus` | 128K | | | | | | $0.27 | $1 |
54
50
  | `abacus/deepseek-ai/DeepSeek-V3.2` | 128K | | | | | | $0.27 | $0.40 |
55
- | `abacus/deepseek-ai/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.14 | $0.28 |
56
- | `abacus/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $2 | $3 |
57
51
  | `abacus/deepseek/deepseek-v3.1` | 128K | | | | | | $0.55 | $2 |
58
52
  | `abacus/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
59
- | `abacus/gemini-2.5-flash-image` | 33K | | | | | | $0.30 | $30 |
60
53
  | `abacus/gemini-2.5-pro` | 1.0M | | | | | | $1 | $10 |
61
54
  | `abacus/gemini-3-flash-preview` | 1.0M | | | | | | $0.50 | $3 |
62
- | `abacus/gemini-3-pro-image-preview` | 66K | | | | | | $2 | $12 |
63
- | `abacus/gemini-3.1-flash-image-preview` | 1.0M | | | | | | $0.50 | $3 |
64
- | `abacus/gemini-3.1-flash-lite` | 1.0M | | | | | | $0.25 | $2 |
65
55
  | `abacus/gemini-3.1-flash-lite-preview` | 1.0M | | | | | | $0.25 | $2 |
66
56
  | `abacus/gemini-3.1-pro-preview` | 1.0M | | | | | | $2 | $12 |
67
- | `abacus/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
68
- | `abacus/google/gemma-4-31b-it` | 262K | | | | | | $0.14 | $0.40 |
69
57
  | `abacus/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
70
58
  | `abacus/gpt-4.1-mini` | 1.0M | | | | | | $0.40 | $2 |
71
59
  | `abacus/gpt-4.1-nano` | 1.0M | | | | | | $0.10 | $0.40 |
72
- | `abacus/gpt-4o` | 128K | | | | | | $3 | $10 |
73
60
  | `abacus/gpt-4o-2024-11-20` | 128K | | | | | | $3 | $10 |
74
61
  | `abacus/gpt-4o-mini` | 128K | | | | | | $0.15 | $0.60 |
75
62
  | `abacus/gpt-5` | 400K | | | | | | $1 | $10 |
@@ -86,18 +73,10 @@ for await (const chunk of stream) {
86
73
  | `abacus/gpt-5.3-chat-latest` | 400K | | | | | | $2 | $14 |
87
74
  | `abacus/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
88
75
  | `abacus/gpt-5.3-codex-xhigh` | 400K | | | | | | $2 | $14 |
89
- | `abacus/gpt-5.4` | 400K | | | | | | $3 | $15 |
90
- | `abacus/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
91
- | `abacus/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
92
- | `abacus/gpt-5.5` | 1.0M | | | | | | $5 | $30 |
93
- | `abacus/gpt-5.6-luna` | 1.0M | | | | | | $1 | $6 |
94
- | `abacus/gpt-5.6-sol` | 1.0M | | | | | | $5 | $30 |
95
- | `abacus/gpt-5.6-terra` | 1.0M | | | | | | $3 | $15 |
76
+ | `abacus/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
96
77
  | `abacus/grok-4-0709` | 256K | | | | | | $3 | $15 |
97
78
  | `abacus/grok-4-1-fast-non-reasoning` | 2.0M | | | | | | $0.20 | $0.50 |
98
79
  | `abacus/grok-4-fast-non-reasoning` | 2.0M | | | | | | $0.20 | $0.50 |
99
- | `abacus/grok-4.3` | 1.0M | | | | | | $1 | $3 |
100
- | `abacus/grok-4.5` | 500K | | | | | | $2 | $6 |
101
80
  | `abacus/grok-code-fast-1` | 256K | | | | | | $0.20 | $2 |
102
81
  | `abacus/kimi-k2-turbo-preview` | 256K | | | | | | $0.15 | $8 |
103
82
  | `abacus/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
@@ -105,12 +84,6 @@ for await (const chunk of stream) {
105
84
  | `abacus/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8` | 1.0M | | | | | | $0.14 | $0.59 |
106
85
  | `abacus/meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo` | 128K | | | | | | $4 | $4 |
107
86
  | `abacus/meta-llama/Meta-Llama-3.1-8B-Instruct` | 128K | | | | | | $0.02 | $0.05 |
108
- | `abacus/meta-llama/Meta-Llama-3.3-70B-Instruct` | 131K | | | | | | $0.59 | $0.79 |
109
- | `abacus/mimo-v2-pro` | 1.0M | | | | | | $1 | $3 |
110
- | `abacus/MiniMaxAI/MiniMax-M2.7` | 205K | | | | | | $0.30 | $1 |
111
- | `abacus/MiniMaxAI/MiniMax-M3` | 1.0M | | | | | | $0.30 | $1 |
112
- | `abacus/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.95 | $4 |
113
- | `abacus/muse-spark-1.1` | 1.0M | | | | | | $1 | $4 |
114
87
  | `abacus/o3` | 200K | | | | | | $2 | $8 |
115
88
  | `abacus/o3-mini` | 200K | | | | | | $1 | $4 |
116
89
  | `abacus/o3-pro` | 200K | | | | | | $20 | $40 |
@@ -119,18 +92,15 @@ for await (const chunk of stream) {
119
92
  | `abacus/qwen-2.5-coder-32b` | 128K | | | | | | $0.79 | $0.79 |
120
93
  | `abacus/Qwen/Qwen2.5-72B-Instruct` | 128K | | | | | | $0.11 | $0.38 |
121
94
  | `abacus/Qwen/Qwen3-235B-A22B-Instruct-2507` | 262K | | | | | | $0.13 | $0.60 |
122
- | `abacus/Qwen/Qwen3-32B` | 131K | | | | | | $0.09 | $0.29 |
123
- | `abacus/Qwen/Qwen3-Coder-480B-A35B-Instruct` | 262K | | | | | | $0.29 | $1 |
124
- | `abacus/Qwen/Qwen3.6-27B` | 262K | | | | | | $0.32 | $3 |
95
+ | `abacus/Qwen/Qwen3-32B` | 128K | | | | | | $0.09 | $0.29 |
96
+ | `abacus/Qwen/qwen3-coder-480b-a35b-instruct` | 262K | | | | | | $0.29 | $1 |
125
97
  | `abacus/Qwen/QwQ-32B` | 33K | | | | | | $0.40 | $0.40 |
126
98
  | `abacus/qwen3-max` | 131K | | | | | | $1 | $6 |
127
99
  | `abacus/route-llm` | 128K | | | | | | $3 | $15 |
128
- | `abacus/zai-org/GLM-4.5` | 131K | | | | | | $0.60 | $2 |
129
- | `abacus/zai-org/GLM-4.6` | 203K | | | | | | $0.60 | $2 |
130
- | `abacus/zai-org/GLM-4.7` | 205K | | | | | | $0.60 | $2 |
131
- | `abacus/zai-org/GLM-5` | 205K | | | | | | $1 | $3 |
132
- | `abacus/zai-org/GLM-5.1` | 205K | | | | | | $1 | $4 |
133
- | `abacus/zai-org/GLM-5.2` | 1.0M | | | | | | $1 | $4 |
100
+ | `abacus/zai-org/glm-4.5` | 128K | | | | | | $0.60 | $2 |
101
+ | `abacus/zai-org/glm-4.6` | 128K | | | | | | $0.60 | $2 |
102
+ | `abacus/zai-org/glm-4.7` | 128K | | | | | | $0.60 | $2 |
103
+ | `abacus/zai-org/glm-5` | 205K | | | | | | $1 | $3 |
134
104
 
135
105
  ## Advanced configuration
136
106
 
@@ -142,7 +112,7 @@ const agent = new Agent({
142
112
  name: "custom-agent",
143
113
  model: {
144
114
  url: "https://routellm.abacus.ai/v1",
145
- id: "abacus/MiniMaxAI/MiniMax-M2.7",
115
+ id: "abacus/Qwen/QwQ-32B",
146
116
  apiKey: process.env.ABACUS_API_KEY,
147
117
  headers: {
148
118
  "X-Custom-Header": "value"
@@ -160,8 +130,8 @@ const agent = new Agent({
160
130
  model: ({ requestContext }) => {
161
131
  const useAdvanced = requestContext.task === "complex";
162
132
  return useAdvanced
163
- ? "abacus/zai-org/GLM-5.2"
164
- : "abacus/MiniMaxAI/MiniMax-M2.7";
133
+ ? "abacus/zai-org/glm-5"
134
+ : "abacus/Qwen/QwQ-32B";
165
135
  }
166
136
  });
167
137
  ```