@mastra/mcp-docs-server 1.3.6-alpha.10 → 1.3.6-alpha.14
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/docs/harness/signals.md +12 -0
- package/.docs/docs/subagents.md +1 -0
- package/.docs/models/environment-variables.md +2 -1
- package/.docs/models/gateways/merge-gateway.md +3 -1
- package/.docs/models/gateways/openrouter.md +1 -12
- package/.docs/models/gateways/vercel.md +2 -1
- package/.docs/models/index.md +3 -2
- package/.docs/models/providers/ambient.md +17 -15
- package/.docs/models/providers/cloudflare-workers-ai.md +2 -1
- package/.docs/models/providers/deepinfra.md +2 -2
- package/.docs/models/providers/digitalocean.md +2 -1
- package/.docs/models/providers/edenai.md +10 -2
- package/.docs/models/providers/empiriolabs.md +4 -8
- package/.docs/models/providers/huggingface.md +7 -4
- package/.docs/models/providers/kilo.md +24 -35
- package/.docs/models/providers/llmgateway-providers.md +6 -6
- package/.docs/models/providers/llmgateway.md +3 -7
- package/.docs/models/providers/lowrouter.md +84 -0
- package/.docs/models/providers/nano-gpt.md +12 -12
- package/.docs/models/providers/novita-ai.md +43 -66
- package/.docs/models/providers/ofox.md +2 -1
- package/.docs/models/providers/tinfoil.md +1 -2
- package/.docs/models/providers.md +2 -1
- package/.docs/reference/agents/inngest-agent.md +26 -0
- package/.docs/reference/tools/mcp-client.md +5 -0
- package/package.json +5 -5
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
4
4
|
|
|
5
|
-
# Novita AI
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 84 Novita AI models through Mastra's model router. Authentication is handled automatically using the `NOVITA_API_KEY` environment variable.
|
|
8
8
|
|
|
9
|
-
Learn more in the [
|
|
9
|
+
Learn more in the [Novita AI documentation](https://novita.ai/docs/guides/introduction).
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
NOVITA_API_KEY=your-api-key
|
|
@@ -19,7 +19,7 @@ const agent = new Agent({
|
|
|
19
19
|
id: "my-agent",
|
|
20
20
|
name: "My Agent",
|
|
21
21
|
instructions: "You are a helpful assistant",
|
|
22
|
-
model: "novita-ai/
|
|
22
|
+
model: "novita-ai/apodex/apodex-1.1-mini"
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
// Generate a response
|
|
@@ -32,61 +32,50 @@ for await (const chunk of stream) {
|
|
|
32
32
|
}
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
> **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [
|
|
35
|
+
> **Note:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Novita AI documentation](https://novita.ai/docs/guides/introduction) for details.
|
|
36
36
|
|
|
37
37
|
## Models
|
|
38
38
|
|
|
39
39
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
40
|
| ------------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
|
+
| `novita-ai/apodex/apodex-1.1-mini` | 262K | | | | | | — | — |
|
|
42
|
+
| `novita-ai/baai/bge-m3` | 8K | | | | | | $0.01 | — |
|
|
43
|
+
| `novita-ai/baai/bge-reranker-v2-m3` | 8K | | | | | | $0.01 | — |
|
|
41
44
|
| `novita-ai/baichuan/baichuan-m2-32b` | 131K | | | | | | $0.07 | $0.07 |
|
|
45
|
+
| `novita-ai/baidu/cobuddy` | 131K | | | | | | $0.28 | $1 |
|
|
42
46
|
| `novita-ai/baidu/ernie-4.5-21B-a3b` | 120K | | | | | | $0.07 | $0.28 |
|
|
43
|
-
| `novita-ai/
|
|
44
|
-
| `novita-ai/baidu/ernie-4.5-300b-a47b-paddle` | 123K | | | | | | $0.28 | $1 |
|
|
45
|
-
| `novita-ai/baidu/ernie-4.5-vl-28b-a3b` | 30K | | | | | | $0.14 | $0.56 |
|
|
46
|
-
| `novita-ai/baidu/ernie-4.5-vl-28b-a3b-thinking` | 131K | | | | | | $0.39 | $0.39 |
|
|
47
|
-
| `novita-ai/baidu/ernie-4.5-vl-424b-a47b` | 123K | | | | | | $0.42 | $1 |
|
|
48
|
-
| `novita-ai/deepseek/deepseek-ocr` | 8K | | | | | | $0.03 | $0.03 |
|
|
47
|
+
| `novita-ai/deepseek/deepseek_v3` | 64K | | | | | | $0.89 | $0.89 |
|
|
49
48
|
| `novita-ai/deepseek/deepseek-ocr-2` | 8K | | | | | | $0.03 | $0.03 |
|
|
50
|
-
| `novita-ai/deepseek/deepseek-prover-v2-671b` | 160K | | | | | | $0.70 | $3 |
|
|
51
49
|
| `novita-ai/deepseek/deepseek-r1-0528` | 164K | | | | | | $0.70 | $3 |
|
|
52
50
|
| `novita-ai/deepseek/deepseek-r1-0528-qwen3-8b` | 128K | | | | | | $0.06 | $0.09 |
|
|
53
|
-
| `novita-ai/deepseek/deepseek-r1-distill-llama-70b` | 8K | | | | | | $0.80 | $0.80 |
|
|
54
|
-
| `novita-ai/deepseek/deepseek-r1-distill-qwen-14b` | 33K | | | | | | $0.15 | $0.15 |
|
|
55
|
-
| `novita-ai/deepseek/deepseek-r1-distill-qwen-32b` | 64K | | | | | | $0.30 | $0.30 |
|
|
56
51
|
| `novita-ai/deepseek/deepseek-r1-turbo` | 64K | | | | | | $0.70 | $3 |
|
|
57
|
-
| `novita-ai/deepseek/deepseek-
|
|
58
|
-
| `novita-ai/deepseek/deepseek-v3-turbo` | 64K | | | | | | $0.40 | $1 |
|
|
59
|
-
| `novita-ai/deepseek/deepseek-v3.1` | 131K | | | | | | $0.27 | $1 |
|
|
60
|
-
| `novita-ai/deepseek/deepseek-v3.1-terminus` | 131K | | | | | | $0.27 | $1 |
|
|
61
|
-
| `novita-ai/deepseek/deepseek-v3.2` | 164K | | | | | | $0.27 | $0.40 |
|
|
62
|
-
| `novita-ai/deepseek/deepseek-v3.2-exp` | 164K | | | | | | $0.27 | $0.41 |
|
|
63
|
-
| `novita-ai/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
52
|
+
| `novita-ai/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
|
|
64
53
|
| `novita-ai/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
|
|
54
|
+
| `novita-ai/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
55
|
+
| `novita-ai/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
|
|
65
56
|
| `novita-ai/google/gemma-3-12b-it` | 131K | | | | | | $0.05 | $0.10 |
|
|
66
57
|
| `novita-ai/google/gemma-3-27b-it` | 98K | | | | | | $0.12 | $0.20 |
|
|
67
58
|
| `novita-ai/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.13 | $0.40 |
|
|
68
59
|
| `novita-ai/google/gemma-4-31b-it` | 262K | | | | | | $0.14 | $0.40 |
|
|
69
60
|
| `novita-ai/gryphe/mythomax-l2-13b` | 4K | | | | | | $0.09 | $0.09 |
|
|
70
|
-
| `novita-ai/inclusionai/ling-
|
|
71
|
-
| `novita-ai/inclusionai/ling-
|
|
72
|
-
| `novita-ai/inclusionai/
|
|
73
|
-
| `novita-ai/
|
|
74
|
-
| `novita-ai/
|
|
75
|
-
| `novita-ai/meta-llama/llama-3-8b-instruct` | 8K | | | | | | $0.04 | $0.04 |
|
|
61
|
+
| `novita-ai/inclusionai/ling-3.0-flash` | 262K | | | | | | $0.06 | $0.18 |
|
|
62
|
+
| `novita-ai/inclusionai/ling-3.0-flash-fin` | 262K | | | | | | $0.07 | $0.22 |
|
|
63
|
+
| `novita-ai/inclusionai/ling-3.0-flash-sante` | 262K | | | | | | $0.07 | $0.22 |
|
|
64
|
+
| `novita-ai/inclusionai/ling-3.0-flash-vl` | 262K | | | | | | $0.07 | $0.22 |
|
|
65
|
+
| `novita-ai/inclusionai/ling-3.1-flash` | 262K | | | | | | — | — |
|
|
76
66
|
| `novita-ai/meta-llama/llama-3.1-8b-instruct` | 16K | | | | | | $0.02 | $0.05 |
|
|
77
|
-
| `novita-ai/meta-llama/llama-3.2-
|
|
78
|
-
| `novita-ai/meta-llama/llama-3.3-70b-instruct` |
|
|
67
|
+
| `novita-ai/meta-llama/llama-3.2-1b-instruct` | 131K | | | | | | $0.02 | $0.02 |
|
|
68
|
+
| `novita-ai/meta-llama/llama-3.3-70b-instruct` | 12K | | | | | | $0.14 | $0.40 |
|
|
79
69
|
| `novita-ai/meta-llama/llama-4-maverick-17b-128e-instruct-fp8` | 1.0M | | | | | | $0.27 | $0.85 |
|
|
80
70
|
| `novita-ai/meta-llama/llama-4-scout-17b-16e-instruct` | 131K | | | | | | $0.18 | $0.59 |
|
|
81
71
|
| `novita-ai/microsoft/wizardlm-2-8x22b` | 66K | | | | | | $0.62 | $0.62 |
|
|
82
|
-
| `novita-ai/
|
|
83
|
-
| `novita-ai/
|
|
72
|
+
| `novita-ai/mindai/macaron-v1-tall` | 262K | | | | | | $0.25 | $1 |
|
|
73
|
+
| `novita-ai/mindai/macaron-v1-venti` | 1.0M | | | | | | $0.82 | $2 |
|
|
84
74
|
| `novita-ai/minimax/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
85
|
-
| `novita-ai/minimax/minimax-m2.5-highspeed` | 205K | | | | | | $0.60 | $2 |
|
|
86
75
|
| `novita-ai/minimax/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
87
76
|
| `novita-ai/minimax/minimax-m2.7-highspeed` | 205K | | | | | | $0.60 | $2 |
|
|
77
|
+
| `novita-ai/minimax/minimax-m3` | 1.0M | | | | | | $0.30 | $1 |
|
|
88
78
|
| `novita-ai/minimaxai/minimax-m1-80k` | 1.0M | | | | | | $0.55 | $2 |
|
|
89
|
-
| `novita-ai/mistralai/mistral-nemo` | 60K | | | | | | $0.04 | $0.17 |
|
|
90
79
|
| `novita-ai/moonshotai/kimi-k2-0905` | 262K | | | | | | $0.60 | $3 |
|
|
91
80
|
| `novita-ai/moonshotai/kimi-k2-instruct` | 131K | | | | | | $0.57 | $2 |
|
|
92
81
|
| `novita-ai/moonshotai/kimi-k2-thinking` | 262K | | | | | | $0.60 | $3 |
|
|
@@ -95,47 +84,33 @@ for await (const chunk of stream) {
|
|
|
95
84
|
| `novita-ai/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
96
85
|
| `novita-ai/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
97
86
|
| `novita-ai/nousresearch/hermes-2-pro-llama-3-8b` | 8K | | | | | | $0.14 | $0.14 |
|
|
87
|
+
| `novita-ai/nvidia/nemotron-3-nano-30b-a3b` | 262K | | | | | | $0.05 | $0.20 |
|
|
98
88
|
| `novita-ai/openai/gpt-oss-120b` | 131K | | | | | | $0.05 | $0.25 |
|
|
99
|
-
| `novita-ai/openai/gpt-oss-20b` | 131K | | | | | | $0.04 | $0.15 |
|
|
100
89
|
| `novita-ai/paddlepaddle/paddleocr-vl` | 16K | | | | | | $0.02 | $0.02 |
|
|
101
|
-
| `novita-ai/qwen/qwen-2.5-72b-instruct` | 32K | | | | | | $0.38 | $0.40 |
|
|
102
90
|
| `novita-ai/qwen/qwen-mt-plus` | 16K | | | | | | $0.25 | $0.75 |
|
|
103
|
-
| `novita-ai/qwen/
|
|
104
|
-
| `novita-ai/qwen/qwen2.5-vl-72b-instruct` | 33K | | | | | | $0.80 | $0.80 |
|
|
105
|
-
| `novita-ai/qwen/qwen3-235b-a22b-fp8` | 41K | | | | | | $0.20 | $0.80 |
|
|
106
|
-
| `novita-ai/qwen/qwen3-235b-a22b-instruct-2507` | 131K | | | | | | $0.09 | $0.58 |
|
|
107
|
-
| `novita-ai/qwen/qwen3-235b-a22b-thinking-2507` | 131K | | | | | | $0.30 | $3 |
|
|
108
|
-
| `novita-ai/qwen/qwen3-30b-a3b-fp8` | 41K | | | | | | $0.09 | $0.45 |
|
|
109
|
-
| `novita-ai/qwen/qwen3-32b-fp8` | 41K | | | | | | $0.10 | $0.45 |
|
|
110
|
-
| `novita-ai/qwen/qwen3-4b-fp8` | 128K | | | | | | $0.03 | $0.03 |
|
|
111
|
-
| `novita-ai/qwen/qwen3-8b-fp8` | 128K | | | | | | $0.04 | $0.14 |
|
|
112
|
-
| `novita-ai/qwen/qwen3-coder-30b-a3b-instruct` | 160K | | | | | | $0.07 | $0.27 |
|
|
113
|
-
| `novita-ai/qwen/qwen3-coder-480b-a35b-instruct` | 262K | | | | | | $0.38 | $2 |
|
|
114
|
-
| `novita-ai/qwen/qwen3-coder-next` | 262K | | | | | | $0.20 | $2 |
|
|
115
|
-
| `novita-ai/qwen/qwen3-max` | 262K | | | | | | $2 | $8 |
|
|
116
|
-
| `novita-ai/qwen/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.15 | $2 |
|
|
117
|
-
| `novita-ai/qwen/qwen3-next-80b-a3b-thinking` | 131K | | | | | | $0.15 | $2 |
|
|
118
|
-
| `novita-ai/qwen/qwen3-omni-30b-a3b-instruct` | 66K | | | | | | $0.25 | $0.97 |
|
|
91
|
+
| `novita-ai/qwen/qwen3-embedding-8b` | 33K | | | | | | $0.07 | — |
|
|
119
92
|
| `novita-ai/qwen/qwen3-omni-30b-a3b-thinking` | 66K | | | | | | $0.25 | $0.97 |
|
|
120
|
-
| `novita-ai/qwen/qwen3-
|
|
121
|
-
| `novita-ai/qwen/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.98 | $4 |
|
|
93
|
+
| `novita-ai/qwen/qwen3-reranker-8b` | 33K | | | | | | $0.05 | — |
|
|
122
94
|
| `novita-ai/qwen/qwen3-vl-30b-a3b-instruct` | 131K | | | | | | $0.20 | $0.70 |
|
|
123
|
-
| `novita-ai/qwen/qwen3-vl-30b-a3b-thinking` | 131K | | | | | | $0.20 | $1 |
|
|
124
|
-
| `novita-ai/qwen/qwen3-vl-8b-instruct` | 131K | | | | | | $0.08 | $0.50 |
|
|
125
95
|
| `novita-ai/qwen/qwen3.5-122b-a10b` | 262K | | | | | | $0.40 | $3 |
|
|
126
96
|
| `novita-ai/qwen/qwen3.5-27b` | 262K | | | | | | $0.30 | $2 |
|
|
127
97
|
| `novita-ai/qwen/qwen3.5-35b-a3b` | 262K | | | | | | $0.25 | $2 |
|
|
128
98
|
| `novita-ai/qwen/qwen3.5-397b-a17b` | 262K | | | | | | $0.60 | $4 |
|
|
99
|
+
| `novita-ai/qwen/qwen3.6-27b` | 262K | | | | | | $0.60 | $4 |
|
|
100
|
+
| `novita-ai/qwen/qwen3.6-35b-a3b` | 262K | | | | | | $0.25 | $1 |
|
|
129
101
|
| `novita-ai/qwen/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
|
|
130
|
-
| `novita-ai/
|
|
131
|
-
| `novita-ai/
|
|
132
|
-
| `novita-ai/
|
|
133
|
-
| `novita-ai/
|
|
134
|
-
| `novita-ai/
|
|
135
|
-
| `novita-ai/
|
|
102
|
+
| `novita-ai/qwen/qwen3.8-2.4t-a95b` | 1.0M | | | | | | $2 | $6 |
|
|
103
|
+
| `novita-ai/qwen/qwen3.8-27b` | 1.0M | | | | | | $0.42 | $3 |
|
|
104
|
+
| `novita-ai/qwen/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
105
|
+
| `novita-ai/qwen/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
106
|
+
| `novita-ai/stepfun/step-3.7-flash` | 262K | | | | | | $0.20 | $1 |
|
|
107
|
+
| `novita-ai/tencent/hy3` | 262K | | | | | | $0.14 | $0.58 |
|
|
108
|
+
| `novita-ai/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
|
|
109
|
+
| `novita-ai/xiaomimimo/mimo-v2.5` | 1.0M | | | | | | $0.17 | $0.34 |
|
|
136
110
|
| `novita-ai/xiaomimimo/mimo-v2.5-pro` | 1.0M | | | | | | $0.52 | $1 |
|
|
111
|
+
| `novita-ai/xiaomimimo/mimo-v2.6-flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
112
|
+
| `novita-ai/xiaomimimo/mimo-v2.6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
137
113
|
| `novita-ai/zai-org/autoglm-phone-9b-multilingual` | 66K | | | | | | $0.04 | $0.14 |
|
|
138
|
-
| `novita-ai/zai-org/glm-4.5` | 131K | | | | | | $0.60 | $2 |
|
|
139
114
|
| `novita-ai/zai-org/glm-4.5-air` | 131K | | | | | | $0.13 | $0.85 |
|
|
140
115
|
| `novita-ai/zai-org/glm-4.5v` | 66K | | | | | | $0.60 | $2 |
|
|
141
116
|
| `novita-ai/zai-org/glm-4.6` | 205K | | | | | | $0.55 | $2 |
|
|
@@ -145,6 +120,8 @@ for await (const chunk of stream) {
|
|
|
145
120
|
| `novita-ai/zai-org/glm-5` | 203K | | | | | | $1 | $3 |
|
|
146
121
|
| `novita-ai/zai-org/glm-5.1` | 205K | | | | | | $1 | $4 |
|
|
147
122
|
| `novita-ai/zai-org/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
123
|
+
| `novita-ai/zai-org/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
124
|
+
| `novita-ai/zai-org/glm-5.3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
148
125
|
|
|
149
126
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
150
127
|
|
|
@@ -158,7 +135,7 @@ const agent = new Agent({
|
|
|
158
135
|
name: "custom-agent",
|
|
159
136
|
model: {
|
|
160
137
|
url: "https://api.novita.ai/openai",
|
|
161
|
-
id: "novita-ai/
|
|
138
|
+
id: "novita-ai/apodex/apodex-1.1-mini",
|
|
162
139
|
apiKey: process.env.NOVITA_API_KEY,
|
|
163
140
|
headers: {
|
|
164
141
|
"X-Custom-Header": "value"
|
|
@@ -176,8 +153,8 @@ const agent = new Agent({
|
|
|
176
153
|
model: ({ requestContext }) => {
|
|
177
154
|
const useAdvanced = requestContext.task === "complex";
|
|
178
155
|
return useAdvanced
|
|
179
|
-
? "novita-ai/zai-org/glm-5.
|
|
180
|
-
: "novita-ai/
|
|
156
|
+
? "novita-ai/zai-org/glm-5.3-flash"
|
|
157
|
+
: "novita-ai/apodex/apodex-1.1-mini";
|
|
181
158
|
}
|
|
182
159
|
});
|
|
183
160
|
```
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Ofox
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 152 Ofox models through Mastra's model router. Authentication is handled automatically using the `OFOX_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Ofox documentation](https://ofox.ai/docs).
|
|
10
10
|
|
|
@@ -41,6 +41,7 @@ for await (const chunk of stream) {
|
|
|
41
41
|
| `ofox/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
42
42
|
| `ofox/anthropic/claude-fable-5.1` | 1.0M | | | | | | $10 | $50 |
|
|
43
43
|
| `ofox/anthropic/claude-haiku-4.5` | 200K | | | | | | $1 | $5 |
|
|
44
|
+
| `ofox/anthropic/claude-haiku-5.5` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
44
45
|
| `ofox/anthropic/claude-opus-4.5` | 200K | | | | | | $5 | $25 |
|
|
45
46
|
| `ofox/anthropic/claude-opus-4.6` | 1.0M | | | | | | $5 | $25 |
|
|
46
47
|
| `ofox/anthropic/claude-opus-4.7` | 1.0M | | | | | | $5 | $25 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Tinfoil
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 8 Tinfoil models through Mastra's model router. Authentication is handled automatically using the `TINFOIL_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Tinfoil documentation](https://docs.tinfoil.sh).
|
|
10
10
|
|
|
@@ -41,7 +41,6 @@ for await (const chunk of stream) {
|
|
|
41
41
|
| `tinfoil/deepseek-v4-1-flash` | 1.0M | | | | | | $0.65 | $1 |
|
|
42
42
|
| `tinfoil/gemma4-31b` | 262K | | | | | | $0.40 | $1 |
|
|
43
43
|
| `tinfoil/glm-5-3` | 1.0M | | | | | | $2 | $6 |
|
|
44
|
-
| `tinfoil/glm-5-3-flash` | 1.0M | | | | | | $0.40 | $1 |
|
|
45
44
|
| `tinfoil/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
|
|
46
45
|
| `tinfoil/gpt-oss-safeguard-120b` | 131K | | | | | | $0.15 | $0.60 |
|
|
47
46
|
| `tinfoil/kimi-k3` | 262K | | | | | | $4 | $20 |
|
|
@@ -108,6 +108,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
108
108
|
- [LLMTR](https://mastra.ai/models/providers/llmtr)
|
|
109
109
|
- [LMStudio](https://mastra.ai/models/providers/lmstudio)
|
|
110
110
|
- [LongCat](https://mastra.ai/models/providers/longcat)
|
|
111
|
+
- [LowRouter](https://mastra.ai/models/providers/lowrouter)
|
|
111
112
|
- [LucidQuery](https://mastra.ai/models/providers/lucidquery)
|
|
112
113
|
- [Lynkr](https://mastra.ai/models/providers/lynkr)
|
|
113
114
|
- [Meganova](https://mastra.ai/models/providers/meganova)
|
|
@@ -133,7 +134,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
133
134
|
- [NeoSmith](https://mastra.ai/models/providers/neosmith)
|
|
134
135
|
- [Neuralwatt](https://mastra.ai/models/providers/neuralwatt)
|
|
135
136
|
- [Nova](https://mastra.ai/models/providers/nova)
|
|
136
|
-
- [
|
|
137
|
+
- [Novita AI](https://mastra.ai/models/providers/novita-ai)
|
|
137
138
|
- [Nvidia](https://mastra.ai/models/providers/nvidia)
|
|
138
139
|
- [OCI Generative AI](https://mastra.ai/models/providers/oci)
|
|
139
140
|
- [Ofox](https://mastra.ai/models/providers/ofox)
|
|
@@ -324,6 +324,32 @@ interface InngestAgentStreamResult<OUTPUT = undefined> {
|
|
|
324
324
|
|
|
325
325
|
**cleanup** (`() => void`): Unsubscribes from PubSub and clears registry entries for the run. Call it when done with the run.
|
|
326
326
|
|
|
327
|
+
## Event size limit
|
|
328
|
+
|
|
329
|
+
Inngest Realtime caps each message at about 512 KB. The default `InngestPubSub` keeps every stream event under 480 KB:
|
|
330
|
+
|
|
331
|
+
- An oversized `finish` event is sent without `output.steps`. The final text, usage, and finish reason still arrive, but `steps`, `toolCalls`, and `toolResults` on the stream result are empty for that run.
|
|
332
|
+
- Any other oversized event, such as a `tool-result` chunk carrying a large tool result, is replaced with a `data-oversized-event` chunk. Its `data` holds the original `eventType`, `chunkType`, `bytes`, and `limit`. The chunk is transient, so it isn't saved to memory.
|
|
333
|
+
|
|
334
|
+
Both cases log a warning. Only the live stream is reduced: messages saved to memory and the run's workflow snapshot keep the full data.
|
|
335
|
+
|
|
336
|
+
To avoid the limit:
|
|
337
|
+
|
|
338
|
+
- Return small tool results, such as an ID or summary, and fetch large data separately.
|
|
339
|
+
- Read full results from memory or the workflow run after the stream finishes.
|
|
340
|
+
- Pass a `pubsub` without the limit, such as [`RedisStreamsPubSub`](https://mastra.ai/reference/pubsub/redis-streams):
|
|
341
|
+
|
|
342
|
+
```typescript
|
|
343
|
+
import { createInngestAgent } from '@mastra/inngest'
|
|
344
|
+
import { RedisStreamsPubSub } from '@mastra/redis-streams'
|
|
345
|
+
|
|
346
|
+
const durableAgent = createInngestAgent({
|
|
347
|
+
agent,
|
|
348
|
+
inngest,
|
|
349
|
+
pubsub: new RedisStreamsPubSub({ url: 'redis://localhost:6379' }),
|
|
350
|
+
})
|
|
351
|
+
```
|
|
352
|
+
|
|
327
353
|
## Serving Inngest functions
|
|
328
354
|
|
|
329
355
|
The `@mastra/inngest` package provides `serve()` and `createServe()` to register Inngest workflow functions with your HTTP framework.
|
|
@@ -17,6 +17,7 @@ constructor({
|
|
|
17
17
|
id?: string;
|
|
18
18
|
servers: Record<string, MastraMCPServerDefinition>;
|
|
19
19
|
timeout?: number;
|
|
20
|
+
clientInfo?: { name?: string; version?: string };
|
|
20
21
|
}: MCPClientOptions)
|
|
21
22
|
```
|
|
22
23
|
|
|
@@ -28,6 +29,8 @@ constructor({
|
|
|
28
29
|
|
|
29
30
|
**timeout** (`number`): Global timeout value in milliseconds for all servers unless overridden in individual server configs. (Default: `60000`)
|
|
30
31
|
|
|
32
|
+
**clientInfo** (`{ name?: string; version?: string }`): Client name and version every server receives on connect and with each request, so servers can attribute traffic to your application. Defaults to the server key as name and '1.0.0' as version. Individual server configs can override either field with their own clientInfo. Doesn't change tool name prefixes, which always use the server key.
|
|
33
|
+
|
|
31
34
|
### `MastraMCPServerDefinition`
|
|
32
35
|
|
|
33
36
|
Each server in the `servers` map is configured using the `MastraMCPServerDefinition` type. The transport type is detected based on the provided parameters:
|
|
@@ -59,6 +62,8 @@ The client speaks the MCP `2026-07-28` revision. On connect it asks the server w
|
|
|
59
62
|
|
|
60
63
|
**timeout** (`number`): Server-specific timeout in milliseconds. Falls back to the client-level timeout when omitted.
|
|
61
64
|
|
|
65
|
+
**clientInfo** (`{ name?: string; version?: string }`): Overrides the top-level clientInfo for this server. Fields you set replace the top-level values; fields you omit keep them.
|
|
66
|
+
|
|
62
67
|
**capabilities** (`MCPClientCapabilities`): Client capabilities to advertise: elicitation and extensions. elicitation is only accepted together with an inputRequests handler and defaults to form support when a handler is configured. Roots and sampling are not supported.
|
|
63
68
|
|
|
64
69
|
**inputRequests** (`MCPInputRequestHandler`): Answers input requests from this server. When a tool, resource or prompt call ends as input\_required, the handler is called with each embedded request and the client retries the call with the answers. Without a handler an input\_required result surfaces as an error. See Answering input requests below.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.3.6-alpha.
|
|
3
|
+
"version": "1.3.6-alpha.14",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"@mastra/mcp-legacy": "npm:@mastra/mcp@^1.18.0",
|
|
27
27
|
"local-pkg": "^1.1.2",
|
|
28
28
|
"zod": "^4.6.4",
|
|
29
|
-
"@mastra/core": "1.76.0-alpha.
|
|
30
|
-
"@mastra/mcp": "^2.
|
|
29
|
+
"@mastra/core": "1.76.0-alpha.7",
|
|
30
|
+
"@mastra/mcp": "^2.3.0-alpha.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@hono/node-server": "^2.0.0",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"typescript": "^7.0.2",
|
|
45
45
|
"vitest": "4.1.11",
|
|
46
46
|
"@internal/lint": "0.0.141",
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
47
|
+
"@mastra/core": "1.76.0-alpha.7",
|
|
48
|
+
"@internal/types-builder": "0.0.116"
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://mastra.ai",
|
|
51
51
|
"repository": {
|