@mastra/mcp-docs-server 1.2.15-alpha.21 → 1.2.15-alpha.23
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.
- package/.docs/integrations/channels/imessage.md +6 -0
- package/.docs/models/gateways/openrouter.md +2 -1
- package/.docs/models/gateways/vercel.md +3 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/ambient.md +1 -1
- package/.docs/models/providers/cortecs.md +2 -3
- package/.docs/models/providers/hetzner.md +7 -4
- package/.docs/models/providers/kilo.md +5 -4
- package/.docs/models/providers/llmgateway.md +1 -3
- package/.docs/models/providers/nano-gpt.md +4 -1
- package/.docs/models/providers/nvidia.md +2 -1
- package/.docs/models/providers/opencode.md +63 -62
- package/.docs/models/providers/privatemode-ai.md +7 -6
- package/.docs/reference/core/addDynamicWorkflow.md +1 -1
- package/.docs/reference/core/addDynamicWorkflows.md +1 -1
- package/.docs/reference/workflows/dynamic-workflow-definition.md +2 -0
- package/CHANGELOG.md +14 -0
- package/package.json +4 -4
|
@@ -161,6 +161,12 @@ channels: {
|
|
|
161
161
|
|
|
162
162
|
This matters most for tools with side effects, where handling the same message twice is visible to the user.
|
|
163
163
|
|
|
164
|
+
## Read receipts
|
|
165
|
+
|
|
166
|
+
iPhone Messages sends a read receipt for every message the agent posts, and the adapter delivers those receipts as inbound messages with no text and no attachments. Mastra skips them, so the agent doesn't answer its own reply in a loop. Their message IDs carry a `:read:` suffix, and they show up as skipped messages at `debug` log level.
|
|
167
|
+
|
|
168
|
+
The same rule applies to every adapter: an inbound message with neither text nor attachments never starts an agent run. A custom `onDirectMessage`, `onMention`, or `onSubscribedMessage` handler still receives it and can act on it before calling `defaultHandler`.
|
|
169
|
+
|
|
164
170
|
## Gateway listener
|
|
165
171
|
|
|
166
172
|
The adapter can hold an open connection and stream messages in real time instead of receiving webhooks. This works in both hosted and self-hosted modes.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# OpenRouter
|
|
4
4
|
|
|
5
|
-
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
5
|
+
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 342 models through Mastra's model router.
|
|
6
6
|
|
|
7
7
|
Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
|
|
8
8
|
|
|
@@ -209,6 +209,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
209
209
|
| `nvidia/nemotron-3-ultra-550b-a55b` |
|
|
210
210
|
| `nvidia/nemotron-3-ultra-550b-a55b:free` |
|
|
211
211
|
| `nvidia/nemotron-3.5-content-safety:free` |
|
|
212
|
+
| `nvidia/nemotron-3.5-lightning:free` |
|
|
212
213
|
| `nvidia/nemotron-nano-12b-v2-vl:free` |
|
|
213
214
|
| `nvidia/nemotron-nano-9b-v2:free` |
|
|
214
215
|
| `openai/gpt-3.5-turbo` |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Vercel
|
|
4
4
|
|
|
5
|
-
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
5
|
+
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 325 models through Mastra's model router.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
|
|
8
8
|
|
|
@@ -305,6 +305,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
305
305
|
| `recraft/recraft-v4.1-utility` |
|
|
306
306
|
| `recraft/recraft-v4.1-utility-pro` |
|
|
307
307
|
| `sakana/fugu-ultra` |
|
|
308
|
+
| `sakana/namazu` |
|
|
308
309
|
| `stepfun/step-3.5-flash` |
|
|
309
310
|
| `stepfun/step-3.7-flash` |
|
|
310
311
|
| `tencent/hy3` |
|
|
@@ -334,6 +335,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
334
335
|
| `xai/grok-4.5` |
|
|
335
336
|
| `xai/grok-build-0.1` |
|
|
336
337
|
| `xai/grok-imagine-image` |
|
|
338
|
+
| `xai/grok-imagine-image-2.0` |
|
|
337
339
|
| `xai/grok-imagine-image-2.0-preview` |
|
|
338
340
|
| `xai/grok-imagine-video` |
|
|
339
341
|
| `xai/grok-imagine-video-1.5` |
|
package/.docs/models/index.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Model Providers
|
|
4
4
|
|
|
5
|
-
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to
|
|
5
|
+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 5476 models from 169 providers through a single API.
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
@@ -40,7 +40,7 @@ for await (const chunk of stream) {
|
|
|
40
40
|
| `ambient/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
41
41
|
| `ambient/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
42
42
|
| `ambient/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
43
|
-
| `ambient/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.
|
|
43
|
+
| `ambient/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.69 | $3 |
|
|
44
44
|
| `ambient/stepfun/step-3.7-flash` | 262K | | | | | | $0.19 | $1 |
|
|
45
45
|
| `ambient/xiaomi/mimo-v2.5` | 1.0M | | | | | | $0.40 | $2 |
|
|
46
46
|
| `ambient/z-ai/glm-5.2` | 203K | | | | | | $1 | $4 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Cortecs
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 104 Cortecs models through Mastra's model router. Authentication is handled automatically using the `CORTECS_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Cortecs documentation](https://cortecs.ai).
|
|
8
8
|
|
|
@@ -51,7 +51,7 @@ for await (const chunk of stream) {
|
|
|
51
51
|
| `cortecs/cosmos3-super-reasoner` | 256K | | | | | | $0.10 | $0.30 |
|
|
52
52
|
| `cortecs/deepseek-r1-0528` | 164K | | | | | | $0.65 | $3 |
|
|
53
53
|
| `cortecs/deepseek-v3.2` | 164K | | | | | | $0.30 | $0.49 |
|
|
54
|
-
| `cortecs/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.
|
|
54
|
+
| `cortecs/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.13 | $0.28 |
|
|
55
55
|
| `cortecs/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
|
|
56
56
|
| `cortecs/devstral-2512` | 262K | | | | | | $0.45 | $2 |
|
|
57
57
|
| `cortecs/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $2 |
|
|
@@ -87,7 +87,6 @@ for await (const chunk of stream) {
|
|
|
87
87
|
| `cortecs/gpt-oss-safeguard-120b` | 128K | | | | | | $0.18 | $0.70 |
|
|
88
88
|
| `cortecs/hermes-4-405b` | 128K | | | | | | $1.00 | $3 |
|
|
89
89
|
| `cortecs/hermes-4-70b` | 128K | | | | | | $0.13 | $0.40 |
|
|
90
|
-
| `cortecs/holo2-30b-a3b` | 22K | | | | | | $0.33 | $0.78 |
|
|
91
90
|
| `cortecs/kimi-k2.5` | 262K | | | | | | $0.49 | $3 |
|
|
92
91
|
| `cortecs/kimi-k2.6` | 262K | | | | | | $0.77 | $3 |
|
|
93
92
|
| `cortecs/kimi-k2.7-code` | 262K | | | | | | $0.75 | $4 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Hetzner
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 4 Hetzner models through Mastra's model router. Authentication is handled automatically using the `HETZNER_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Hetzner documentation](https://experiments.hetzner.com).
|
|
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: "hetzner/
|
|
20
|
+
model: "hetzner/DeepSeek-V4-Flash-0731"
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
// Generate a response
|
|
@@ -36,6 +36,9 @@ for await (const chunk of stream) {
|
|
|
36
36
|
|
|
37
37
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
38
|
| ---------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `hetzner/DeepSeek-V4-Flash-0731` | 512K | | | | | | — | — |
|
|
40
|
+
| `hetzner/GLM-5.2-NVFP4` | 512K | | | | | | — | — |
|
|
41
|
+
| `hetzner/Kimi-K2.7-Code` | 262K | | | | | | — | — |
|
|
39
42
|
| `hetzner/Qwen/Qwen3.6-35B-A3B-FP8` | 262K | | | | | | — | — |
|
|
40
43
|
|
|
41
44
|
## Advanced configuration
|
|
@@ -48,7 +51,7 @@ const agent = new Agent({
|
|
|
48
51
|
name: "custom-agent",
|
|
49
52
|
model: {
|
|
50
53
|
url: "https://inference.hetzner.com/api/v1",
|
|
51
|
-
id: "hetzner/
|
|
54
|
+
id: "hetzner/DeepSeek-V4-Flash-0731",
|
|
52
55
|
apiKey: process.env.HETZNER_API_KEY,
|
|
53
56
|
headers: {
|
|
54
57
|
"X-Custom-Header": "value"
|
|
@@ -67,7 +70,7 @@ const agent = new Agent({
|
|
|
67
70
|
const useAdvanced = requestContext.task === "complex";
|
|
68
71
|
return useAdvanced
|
|
69
72
|
? "hetzner/Qwen/Qwen3.6-35B-A3B-FP8"
|
|
70
|
-
: "hetzner/
|
|
73
|
+
: "hetzner/DeepSeek-V4-Flash-0731";
|
|
71
74
|
}
|
|
72
75
|
});
|
|
73
76
|
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Kilo Gateway
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 350 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Kilo Gateway documentation](https://kilo.ai).
|
|
8
8
|
|
|
@@ -40,7 +40,7 @@ for await (const chunk of stream) {
|
|
|
40
40
|
| `kilo/~anthropic/claude-haiku-latest` | 200K | | | | | | $1 | $5 |
|
|
41
41
|
| `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $5 | $25 |
|
|
42
42
|
| `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
|
|
43
|
-
| `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.08 | $0.
|
|
43
|
+
| `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.08 | $0.16 |
|
|
44
44
|
| `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $2 | $8 |
|
|
45
45
|
| `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
|
|
46
46
|
| `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $3 | $14 |
|
|
@@ -213,6 +213,7 @@ for await (const chunk of stream) {
|
|
|
213
213
|
| `kilo/nvidia/nemotron-3-ultra-550b-a55b` | 512K | | | | | | $0.50 | $2 |
|
|
214
214
|
| `kilo/nvidia/nemotron-3-ultra-550b-a55b:free` | 1.0M | | | | | | — | — |
|
|
215
215
|
| `kilo/nvidia/nemotron-3.5-content-safety:free` | 128K | | | | | | — | — |
|
|
216
|
+
| `kilo/nvidia/nemotron-3.5-lightning:free` | 1.0M | | | | | | — | — |
|
|
216
217
|
| `kilo/openai/gpt-3.5-turbo` | 16K | | | | | | $0.50 | $2 |
|
|
217
218
|
| `kilo/openai/gpt-3.5-turbo-0613` | 4K | | | | | | $1 | $2 |
|
|
218
219
|
| `kilo/openai/gpt-3.5-turbo-16k` | 16K | | | | | | $3 | $4 |
|
|
@@ -376,14 +377,14 @@ for await (const chunk of stream) {
|
|
|
376
377
|
| `kilo/z-ai/glm-4.5` | 131K | | | | | | $0.60 | $2 |
|
|
377
378
|
| `kilo/z-ai/glm-4.5-air` | 131K | | | | | | $0.13 | $0.85 |
|
|
378
379
|
| `kilo/z-ai/glm-4.5v` | 66K | | | | | | $0.60 | $2 |
|
|
379
|
-
| `kilo/z-ai/glm-4.6` |
|
|
380
|
+
| `kilo/z-ai/glm-4.6` | 203K | | | | | | $0.55 | $2 |
|
|
380
381
|
| `kilo/z-ai/glm-4.6v` | 131K | | | | | | $0.30 | $0.90 |
|
|
381
382
|
| `kilo/z-ai/glm-4.7` | 203K | | | | | | $0.60 | $2 |
|
|
382
383
|
| `kilo/z-ai/glm-4.7-flash` | 203K | | | | | | $0.07 | $0.40 |
|
|
383
384
|
| `kilo/z-ai/glm-5` | 205K | | | | | | $1 | $3 |
|
|
384
385
|
| `kilo/z-ai/glm-5-turbo` | 203K | | | | | | $1 | $4 |
|
|
385
386
|
| `kilo/z-ai/glm-5.1` | 203K | | | | | | $1 | $4 |
|
|
386
|
-
| `kilo/z-ai/glm-5.2` |
|
|
387
|
+
| `kilo/z-ai/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
387
388
|
| `kilo/z-ai/glm-5v-turbo` | 203K | | | | | | $1 | $4 |
|
|
388
389
|
|
|
389
390
|
## Advanced configuration
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# LLM Gateway
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 184 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [LLM Gateway documentation](https://llmgateway.io/docs).
|
|
8
8
|
|
|
@@ -180,11 +180,9 @@ for await (const chunk of stream) {
|
|
|
180
180
|
| `llmgateway/qwen-coder-plus` | 131K | | | | | | $0.50 | $1 |
|
|
181
181
|
| `llmgateway/qwen-flash` | 1.0M | | | | | | $0.05 | $0.40 |
|
|
182
182
|
| `llmgateway/qwen-max` | 33K | | | | | | $2 | $6 |
|
|
183
|
-
| `llmgateway/qwen-max-latest` | 33K | | | | | | $2 | $6 |
|
|
184
183
|
| `llmgateway/qwen-omni-turbo` | 33K | | | | | | $0.20 | $0.80 |
|
|
185
184
|
| `llmgateway/qwen-plus` | 131K | | | | | | $0.40 | $1 |
|
|
186
185
|
| `llmgateway/qwen-plus-latest` | 1.0M | | | | | | $0.40 | $1 |
|
|
187
|
-
| `llmgateway/qwen2-5-vl-32b-instruct` | 131K | | | | | | $1 | $4 |
|
|
188
186
|
| `llmgateway/qwen2-5-vl-72b-instruct` | 32K | | | | | | $0.25 | $0.75 |
|
|
189
187
|
| `llmgateway/qwen3-235b-a22b-fp8` | 41K | | | | | | $0.20 | $0.80 |
|
|
190
188
|
| `llmgateway/qwen3-235b-a22b-instruct-2507` | 262K | | | | | | $0.09 | $0.58 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# NanoGPT
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 621 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [NanoGPT documentation](https://docs.nano-gpt.com).
|
|
8
8
|
|
|
@@ -297,6 +297,7 @@ for await (const chunk of stream) {
|
|
|
297
297
|
| `nano-gpt/meta-llama/llama-3.3-70b-instruct` | 131K | | | | | | $0.05 | $0.23 |
|
|
298
298
|
| `nano-gpt/meta-llama/llama-4-maverick` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
299
299
|
| `nano-gpt/meta-llama/llama-4-scout` | 328K | | | | | | $0.09 | $0.46 |
|
|
300
|
+
| `nano-gpt/meta/muse-glimmer-30b` | 131K | | | | | | $0.35 | $2 |
|
|
300
301
|
| `nano-gpt/meta/muse-spark-1.1` | 1.0M | | | | | | $1 | $4 |
|
|
301
302
|
| `nano-gpt/meta/muse-spark-1.2` | 1.0M | | | | | | $1 | $4 |
|
|
302
303
|
| `nano-gpt/meta/muse-spark-1.2-contributor` | 1.0M | | | | | | $0.10 | $0.20 |
|
|
@@ -603,6 +604,8 @@ for await (const chunk of stream) {
|
|
|
603
604
|
| `nano-gpt/unsloth/gemma-3-27b-it` | 128K | | | | | | $0.30 | $0.30 |
|
|
604
605
|
| `nano-gpt/unsloth/gemma-3-4b-it` | 128K | | | | | | $0.20 | $0.20 |
|
|
605
606
|
| `nano-gpt/upstage/solar-pro-3` | 128K | | | | | | $0.15 | $0.60 |
|
|
607
|
+
| `nano-gpt/upstage/solar-pro4` | 524K | | | | | | $0.03 | $0.12 |
|
|
608
|
+
| `nano-gpt/upstage/solar-pro4:thinking` | 524K | | | | | | $0.03 | $0.12 |
|
|
606
609
|
| `nano-gpt/venice-uncensored` | 128K | | | | | | $0.40 | $0.40 |
|
|
607
610
|
| `nano-gpt/VongolaChouko/Starcannon-Unleashed-12B-v1.0` | 16K | | | | | | $0.49 | $0.49 |
|
|
608
611
|
| `nano-gpt/x-ai/grok-4.20` | 2.0M | | | | | | $2 | $6 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Nvidia
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 99 Nvidia models through Mastra's model router. Authentication is handled automatically using the `NVIDIA_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Nvidia documentation](https://docs.api.nvidia.com/nim/).
|
|
8
8
|
|
|
@@ -100,6 +100,7 @@ for await (const chunk of stream) {
|
|
|
100
100
|
| `nvidia/nvidia/nemotron-3-nano-omni-30b-a3b-reasoning` | 256K | | | | | | — | — |
|
|
101
101
|
| `nvidia/nvidia/nemotron-3-super-120b-a12b` | 262K | | | | | | $0.20 | $0.80 |
|
|
102
102
|
| `nvidia/nvidia/nemotron-3-ultra-550b-a55b` | 1.0M | | | | | | $0.50 | $3 |
|
|
103
|
+
| `nvidia/nvidia/nemotron-3.5-lightning-30b-a3b` | 262K | | | | | | — | — |
|
|
103
104
|
| `nvidia/nvidia/nemotron-content-safety-reasoning-4b` | 128K | | | | | | — | — |
|
|
104
105
|
| `nvidia/nvidia/nemotron-mini-4b-instruct` | 128K | | | | | | — | — |
|
|
105
106
|
| `nvidia/nvidia/nemotron-nano-12b-v2-vl` | 128K | | | | | | — | — |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# OpenCode Zen
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 88 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [OpenCode Zen documentation](https://opencode.ai/docs/zen).
|
|
8
8
|
|
|
@@ -34,67 +34,68 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `opencode/big-pickle`
|
|
40
|
-
| `opencode/claude-fable-5`
|
|
41
|
-
| `opencode/claude-haiku-4-5`
|
|
42
|
-
| `opencode/claude-opus-4-5`
|
|
43
|
-
| `opencode/claude-opus-4-6`
|
|
44
|
-
| `opencode/claude-opus-4-7`
|
|
45
|
-
| `opencode/claude-opus-4-8`
|
|
46
|
-
| `opencode/claude-opus-5`
|
|
47
|
-
| `opencode/claude-sonnet-4`
|
|
48
|
-
| `opencode/claude-sonnet-4-5`
|
|
49
|
-
| `opencode/claude-sonnet-4-6`
|
|
50
|
-
| `opencode/claude-sonnet-5`
|
|
51
|
-
| `opencode/deepseek-v4-flash`
|
|
52
|
-
| `opencode/deepseek-v4-flash-free`
|
|
53
|
-
| `opencode/deepseek-v4-pro`
|
|
54
|
-
| `opencode/gemini-3-flash`
|
|
55
|
-
| `opencode/gemini-3.1-pro`
|
|
56
|
-
| `opencode/gemini-3.5-flash`
|
|
57
|
-
| `opencode/gemini-3.5-flash-lite`
|
|
58
|
-
| `opencode/gemini-3.6-flash`
|
|
59
|
-
| `opencode/glm-5`
|
|
60
|
-
| `opencode/glm-5.1`
|
|
61
|
-
| `opencode/glm-5.2`
|
|
62
|
-
| `opencode/gpt-5`
|
|
63
|
-
| `opencode/gpt-5-codex`
|
|
64
|
-
| `opencode/gpt-5-nano`
|
|
65
|
-
| `opencode/gpt-5.1`
|
|
66
|
-
| `opencode/gpt-5.1-codex`
|
|
67
|
-
| `opencode/gpt-5.1-codex-max`
|
|
68
|
-
| `opencode/gpt-5.1-codex-mini`
|
|
69
|
-
| `opencode/gpt-5.2`
|
|
70
|
-
| `opencode/gpt-5.2-codex`
|
|
71
|
-
| `opencode/gpt-5.3-codex`
|
|
72
|
-
| `opencode/gpt-5.3-codex-spark`
|
|
73
|
-
| `opencode/gpt-5.4`
|
|
74
|
-
| `opencode/gpt-5.4-mini`
|
|
75
|
-
| `opencode/gpt-5.4-nano`
|
|
76
|
-
| `opencode/gpt-5.4-pro`
|
|
77
|
-
| `opencode/gpt-5.5`
|
|
78
|
-
| `opencode/gpt-5.5-pro`
|
|
79
|
-
| `opencode/gpt-5.6-luna`
|
|
80
|
-
| `opencode/gpt-5.6-sol`
|
|
81
|
-
| `opencode/gpt-5.6-terra`
|
|
82
|
-
| `opencode/grok-4.5`
|
|
83
|
-
| `opencode/grok-build-0.1`
|
|
84
|
-
| `opencode/kimi-k2.5`
|
|
85
|
-
| `opencode/kimi-k2.6`
|
|
86
|
-
| `opencode/kimi-k2.7-code`
|
|
87
|
-
| `opencode/kimi-k3`
|
|
88
|
-
| `opencode/laguna-s-2.1-free`
|
|
89
|
-
| `opencode/ling-3.0-tiny-free`
|
|
90
|
-
| `opencode/longcat-2.0-free`
|
|
91
|
-
| `opencode/mimo-v2.5-free`
|
|
92
|
-
| `opencode/minimax-m2.5`
|
|
93
|
-
| `opencode/minimax-m2.7`
|
|
94
|
-
| `opencode/minimax-m3`
|
|
95
|
-
| `opencode/nemotron-3-ultra-free`
|
|
96
|
-
| `opencode/
|
|
97
|
-
| `opencode/qwen3.
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| -------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `opencode/big-pickle` | 200K | | | | | | — | — |
|
|
40
|
+
| `opencode/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
41
|
+
| `opencode/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
|
|
42
|
+
| `opencode/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
|
|
43
|
+
| `opencode/claude-opus-4-6` | 1.0M | | | | | | $5 | $25 |
|
|
44
|
+
| `opencode/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
|
|
45
|
+
| `opencode/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
|
|
46
|
+
| `opencode/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
47
|
+
| `opencode/claude-sonnet-4` | 1.0M | | | | | | $3 | $15 |
|
|
48
|
+
| `opencode/claude-sonnet-4-5` | 1.0M | | | | | | $3 | $15 |
|
|
49
|
+
| `opencode/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
|
|
50
|
+
| `opencode/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
51
|
+
| `opencode/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
52
|
+
| `opencode/deepseek-v4-flash-free` | 200K | | | | | | — | — |
|
|
53
|
+
| `opencode/deepseek-v4-pro` | 1.0M | | | | | | $2 | $4 |
|
|
54
|
+
| `opencode/gemini-3-flash` | 1.0M | | | | | | $0.50 | $3 |
|
|
55
|
+
| `opencode/gemini-3.1-pro` | 1.0M | | | | | | $2 | $12 |
|
|
56
|
+
| `opencode/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
57
|
+
| `opencode/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
58
|
+
| `opencode/gemini-3.6-flash` | 1.0M | | | | | | $2 | $8 |
|
|
59
|
+
| `opencode/glm-5` | 205K | | | | | | $1 | $3 |
|
|
60
|
+
| `opencode/glm-5.1` | 205K | | | | | | $1 | $4 |
|
|
61
|
+
| `opencode/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
62
|
+
| `opencode/gpt-5` | 400K | | | | | | $1 | $9 |
|
|
63
|
+
| `opencode/gpt-5-codex` | 400K | | | | | | $1 | $9 |
|
|
64
|
+
| `opencode/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
|
|
65
|
+
| `opencode/gpt-5.1` | 400K | | | | | | $1 | $9 |
|
|
66
|
+
| `opencode/gpt-5.1-codex` | 400K | | | | | | $1 | $9 |
|
|
67
|
+
| `opencode/gpt-5.1-codex-max` | 400K | | | | | | $1 | $10 |
|
|
68
|
+
| `opencode/gpt-5.1-codex-mini` | 400K | | | | | | $0.25 | $2 |
|
|
69
|
+
| `opencode/gpt-5.2` | 400K | | | | | | $2 | $14 |
|
|
70
|
+
| `opencode/gpt-5.2-codex` | 400K | | | | | | $2 | $14 |
|
|
71
|
+
| `opencode/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
|
|
72
|
+
| `opencode/gpt-5.3-codex-spark` | 128K | | | | | | $2 | $14 |
|
|
73
|
+
| `opencode/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
74
|
+
| `opencode/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
75
|
+
| `opencode/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
|
|
76
|
+
| `opencode/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
77
|
+
| `opencode/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
78
|
+
| `opencode/gpt-5.5-pro` | 1.1M | | | | | | $30 | $180 |
|
|
79
|
+
| `opencode/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
80
|
+
| `opencode/gpt-5.6-sol` | 1.1M | | | | | | $5 | $30 |
|
|
81
|
+
| `opencode/gpt-5.6-terra` | 1.1M | | | | | | $3 | $15 |
|
|
82
|
+
| `opencode/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
83
|
+
| `opencode/grok-build-0.1` | 256K | | | | | | $1 | $2 |
|
|
84
|
+
| `opencode/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
85
|
+
| `opencode/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
86
|
+
| `opencode/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
87
|
+
| `opencode/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
88
|
+
| `opencode/laguna-s-2.1-free` | 256K | | | | | | — | — |
|
|
89
|
+
| `opencode/ling-3.0-tiny-free` | 262K | | | | | | — | — |
|
|
90
|
+
| `opencode/longcat-2.0-free` | 1.0M | | | | | | — | — |
|
|
91
|
+
| `opencode/mimo-v2.5-free` | 200K | | | | | | — | — |
|
|
92
|
+
| `opencode/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
93
|
+
| `opencode/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
94
|
+
| `opencode/minimax-m3` | 512K | | | | | | $0.30 | $1 |
|
|
95
|
+
| `opencode/nemotron-3-ultra-free` | 1.0M | | | | | | — | — |
|
|
96
|
+
| `opencode/nemotron-3.5-lightning-free` | 262K | | | | | | — | — |
|
|
97
|
+
| `opencode/qwen3.5-plus` | 262K | | | | | | $0.20 | $1 |
|
|
98
|
+
| `opencode/qwen3.6-plus` | 262K | | | | | | $0.50 | $3 |
|
|
98
99
|
|
|
99
100
|
## Advanced configuration
|
|
100
101
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Privatemode AI
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 7 Privatemode AI models through Mastra's model router. Authentication is handled automatically using the `PRIVATEMODE_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Privatemode AI documentation](https://docs.privatemode.ai).
|
|
8
8
|
|
|
@@ -37,11 +37,12 @@ for await (const chunk of stream) {
|
|
|
37
37
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
38
|
| ----------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
39
|
| `privatemode-ai/deepseek-ocr-2` | 8K | | | | | | $0.89 | $1 |
|
|
40
|
-
| `privatemode-ai/gpt-oss-120b` | 128K | | | | | |
|
|
41
|
-
| `privatemode-ai/kimi-k2.6` |
|
|
42
|
-
| `privatemode-ai/
|
|
43
|
-
| `privatemode-ai/
|
|
44
|
-
| `privatemode-ai/
|
|
40
|
+
| `privatemode-ai/gpt-oss-120b` | 128K | | | | | | $0.50 | $2 |
|
|
41
|
+
| `privatemode-ai/kimi-k2.6` | 256K | | | | | | $2 | $9 |
|
|
42
|
+
| `privatemode-ai/kimi-latest` | 256K | | | | | | $2 | $9 |
|
|
43
|
+
| `privatemode-ai/qwen3-embedding-4b` | 32K | | | | | | $0.15 | — |
|
|
44
|
+
| `privatemode-ai/voxtral-mini-3b` | 32K | | | | | | $0.00 | — |
|
|
45
|
+
| `privatemode-ai/whisper-large-v3` | 448 | | | | | | $0.02 | — |
|
|
45
46
|
|
|
46
47
|
## Advanced configuration
|
|
47
48
|
|
|
@@ -41,7 +41,7 @@ const result = await run.start({ inputData: { name: 'Ada' } })
|
|
|
41
41
|
|
|
42
42
|
## Parameters
|
|
43
43
|
|
|
44
|
-
**def** (`DynamicWorkflowGraph`): The workflow definition: id, optional description and metadata, JSON Schema input/output schemas, optional state and request-context schemas, and the step graph.
|
|
44
|
+
**def** (`DynamicWorkflowGraph | WorkflowBuilderDefinitionInput`): The workflow definition: id, optional description and metadata, JSON Schema input/output schemas, optional state and request-context schemas, and the step graph.
|
|
45
45
|
|
|
46
46
|
## Returns
|
|
47
47
|
|
|
@@ -21,7 +21,7 @@ await mastra.addDynamicWorkflows([
|
|
|
21
21
|
|
|
22
22
|
## Parameters
|
|
23
23
|
|
|
24
|
-
**defs** (`readonly DynamicWorkflowGraph[]`): The workflow definitions to add. Nested-workflow references may resolve against the live registries or against other members of the same bundle.
|
|
24
|
+
**defs** (`readonly (DynamicWorkflowGraph | WorkflowBuilderDefinitionInput)[]`): The workflow definitions to add. Nested-workflow references may resolve against the live registries or against other members of the same bundle.
|
|
25
25
|
|
|
26
26
|
## Returns
|
|
27
27
|
|
|
@@ -132,6 +132,8 @@ Tool entries accept the same optional `description` and `options` fields as agen
|
|
|
132
132
|
|
|
133
133
|
A `mapping` entry reshapes data. Its `mapConfig` is a JSON string that encodes an object. Each key becomes a key in the step output, and each descriptor defines one source.
|
|
134
134
|
|
|
135
|
+
When you call [`Mastra.addDynamicWorkflow()`](https://mastra.ai/reference/core/addDynamicWorkflow) directly, `mapConfig` also accepts the object itself. Mastra encodes it to a JSON string before registering and storing the definition, so the persisted row is the same either way. A stored definition always carries the JSON string form.
|
|
136
|
+
|
|
135
137
|
| Descriptor | Description |
|
|
136
138
|
| -------------------------------------- | ----------------------------------------- |
|
|
137
139
|
| `{ "value": ... }` | A constant JSON value |
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.2.15-alpha.23
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`296dc9a`](https://github.com/mastra-ai/mastra/commit/296dc9af29f3616e786c7825ec32e0df92d754c5), [`4a09a9c`](https://github.com/mastra-ai/mastra/commit/4a09a9c0474ef643558fcb5f0edc542b82f1cab0), [`1e83a47`](https://github.com/mastra-ai/mastra/commit/1e83a4734ab61ba5926af6793e3569a78b72ed37), [`ff28284`](https://github.com/mastra-ai/mastra/commit/ff2828416f14daff9d956e6a352fdaa23c950979), [`1670533`](https://github.com/mastra-ai/mastra/commit/1670533986f6bacf567746245348125e3a106448)]:
|
|
8
|
+
- @mastra/core@1.58.0-alpha.16
|
|
9
|
+
|
|
10
|
+
## 1.2.15-alpha.22
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`dc4a25d`](https://github.com/mastra-ai/mastra/commit/dc4a25d41af4e2fe97a816070eaec6aa963ab53b), [`dc4a25d`](https://github.com/mastra-ai/mastra/commit/dc4a25d41af4e2fe97a816070eaec6aa963ab53b)]:
|
|
15
|
+
- @mastra/core@1.58.0-alpha.15
|
|
16
|
+
|
|
3
17
|
## 1.2.15-alpha.21
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.2.15-alpha.
|
|
3
|
+
"version": "1.2.15-alpha.23",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"local-pkg": "^1.1.2",
|
|
30
30
|
"zod": "^4.4.3",
|
|
31
31
|
"@mastra/mcp": "^1.16.0-alpha.2",
|
|
32
|
-
"@mastra/core": "1.58.0-alpha.
|
|
32
|
+
"@mastra/core": "1.58.0-alpha.16"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@hono/node-server": "^2.0.0",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"tsx": "^4.23.1",
|
|
46
46
|
"typescript": "^6.0.3",
|
|
47
47
|
"vitest": "4.1.10",
|
|
48
|
+
"@mastra/core": "1.58.0-alpha.16",
|
|
48
49
|
"@internal/lint": "0.0.121",
|
|
49
|
-
"@internal/types-builder": "0.0.96"
|
|
50
|
-
"@mastra/core": "1.58.0-alpha.14"
|
|
50
|
+
"@internal/types-builder": "0.0.96"
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://mastra.ai",
|
|
53
53
|
"repository": {
|