@mastra/mcp-docs-server 1.2.1-alpha.0 → 1.2.1-alpha.2
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/models/gateways/openrouter.md +1 -2
- package/.docs/models/gateways/vercel.md +2 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/baseten.md +1 -1
- package/.docs/models/providers/huggingface.md +27 -5
- package/.docs/models/providers/novita-ai.md +3 -2
- package/CHANGELOG.md +14 -0
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OpenRouter
|
|
2
2
|
|
|
3
|
-
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
3
|
+
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 337 models through Mastra's model router.
|
|
4
4
|
|
|
5
5
|
Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
|
|
6
6
|
|
|
@@ -190,7 +190,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
190
190
|
| `morph/morph-v3-fast` |
|
|
191
191
|
| `morph/morph-v3-large` |
|
|
192
192
|
| `nex-agi/nex-n2-pro` |
|
|
193
|
-
| `nex-agi/nex-n2-pro:free` |
|
|
194
193
|
| `nousresearch/hermes-3-llama-3.1-405b` |
|
|
195
194
|
| `nousresearch/hermes-3-llama-3.1-405b:free` |
|
|
196
195
|
| `nousresearch/hermes-3-llama-3.1-70b` |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Vercel
|
|
2
2
|
|
|
3
|
-
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
3
|
+
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 279 models through Mastra's model router.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
|
|
6
6
|
|
|
@@ -267,6 +267,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
267
267
|
| `recraft/recraft-v4.1-pro` |
|
|
268
268
|
| `recraft/recraft-v4.1-utility` |
|
|
269
269
|
| `recraft/recraft-v4.1-utility-pro` |
|
|
270
|
+
| `sakana/fugu-ultra` |
|
|
270
271
|
| `stepfun/step-3.5-flash` |
|
|
271
272
|
| `stepfun/step-3.7-flash` |
|
|
272
273
|
| `voyage/rerank-2.5` |
|
package/.docs/models/index.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Model Providers
|
|
2
2
|
|
|
3
|
-
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to
|
|
3
|
+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 4562 models from 133 providers through a single API.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
@@ -44,7 +44,7 @@ for await (const chunk of stream) {
|
|
|
44
44
|
| `baseten/zai-org/GLM-4.7` | 200K | | | | | | $0.60 | $2 |
|
|
45
45
|
| `baseten/zai-org/GLM-5` | 203K | | | | | | $0.95 | $3 |
|
|
46
46
|
| `baseten/zai-org/GLM-5.1` | 203K | | | | | | $1 | $4 |
|
|
47
|
-
| `baseten/zai-org/GLM-5.2` | 131K | | | | | | $
|
|
47
|
+
| `baseten/zai-org/GLM-5.2` | 131K | | | | | | $1 | $4 |
|
|
48
48
|
|
|
49
49
|
## Advanced configuration
|
|
50
50
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Hugging Face
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 46 Hugging Face models through Mastra's model router. Authentication is handled automatically using the `HF_TOKEN` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Hugging Face documentation](https://huggingface.co).
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ const agent = new Agent({
|
|
|
15
15
|
id: "my-agent",
|
|
16
16
|
name: "My Agent",
|
|
17
17
|
instructions: "You are a helpful assistant",
|
|
18
|
-
model: "huggingface/MiniMaxAI/MiniMax-M2
|
|
18
|
+
model: "huggingface/MiniMaxAI/MiniMax-M2"
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Generate a response
|
|
@@ -34,30 +34,52 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
36
|
| ------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `huggingface/deepseek-ai/DeepSeek-R1` | 64K | | | | | | $0.70 | $3 |
|
|
37
38
|
| `huggingface/deepseek-ai/DeepSeek-R1-0528` | 164K | | | | | | $3 | $5 |
|
|
38
39
|
| `huggingface/deepseek-ai/DeepSeek-V3.2` | 164K | | | | | | $0.28 | $0.40 |
|
|
40
|
+
| `huggingface/deepseek-ai/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
39
41
|
| `huggingface/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
42
|
+
| `huggingface/google/gemma-4-26B-A4B-it` | 262K | | | | | | $0.13 | $0.40 |
|
|
43
|
+
| `huggingface/google/gemma-4-31B-it` | 262K | | | | | | $0.14 | $0.40 |
|
|
44
|
+
| `huggingface/meta-llama/Llama-3.3-70B-Instruct` | 131K | | | | | | $0.59 | $0.79 |
|
|
45
|
+
| `huggingface/MiniMaxAI/MiniMax-M2` | 205K | | | | | | $0.30 | $1 |
|
|
40
46
|
| `huggingface/MiniMaxAI/MiniMax-M2.1` | 205K | | | | | | $0.30 | $1 |
|
|
41
47
|
| `huggingface/MiniMaxAI/MiniMax-M2.5` | 205K | | | | | | $0.30 | $1 |
|
|
42
48
|
| `huggingface/MiniMaxAI/MiniMax-M2.7` | 205K | | | | | | $0.30 | $1 |
|
|
49
|
+
| `huggingface/MiniMaxAI/MiniMax-M3` | 524K | | | | | | $0.30 | $1 |
|
|
43
50
|
| `huggingface/moonshotai/Kimi-K2-Instruct` | 131K | | | | | | $1 | $3 |
|
|
44
51
|
| `huggingface/moonshotai/Kimi-K2-Instruct-0905` | 262K | | | | | | $1 | $3 |
|
|
45
52
|
| `huggingface/moonshotai/Kimi-K2-Thinking` | 262K | | | | | | $0.60 | $3 |
|
|
46
53
|
| `huggingface/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.60 | $3 |
|
|
47
54
|
| `huggingface/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.95 | $4 |
|
|
55
|
+
| `huggingface/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.95 | $4 |
|
|
56
|
+
| `huggingface/Qwen/Qwen3-235B-A22B` | 41K | | | | | | $0.20 | $0.80 |
|
|
48
57
|
| `huggingface/Qwen/Qwen3-235B-A22B-Thinking-2507` | 262K | | | | | | $0.30 | $3 |
|
|
58
|
+
| `huggingface/Qwen/Qwen3-32B` | 131K | | | | | | $0.29 | $0.59 |
|
|
59
|
+
| `huggingface/Qwen/Qwen3-Coder-30B-A3B-Instruct` | 262K | | | | | | $0.07 | $0.26 |
|
|
49
60
|
| `huggingface/Qwen/Qwen3-Coder-480B-A35B-Instruct` | 262K | | | | | | $2 | $2 |
|
|
50
61
|
| `huggingface/Qwen/Qwen3-Coder-Next` | 262K | | | | | | $0.20 | $2 |
|
|
51
62
|
| `huggingface/Qwen/Qwen3-Embedding-4B` | 32K | | | | | | $0.01 | — |
|
|
52
63
|
| `huggingface/Qwen/Qwen3-Embedding-8B` | 32K | | | | | | $0.01 | — |
|
|
53
64
|
| `huggingface/Qwen/Qwen3-Next-80B-A3B-Instruct` | 262K | | | | | | $0.25 | $1 |
|
|
54
65
|
| `huggingface/Qwen/Qwen3-Next-80B-A3B-Thinking` | 262K | | | | | | $0.30 | $2 |
|
|
66
|
+
| `huggingface/Qwen/Qwen3.5-122B-A10B` | 262K | | | | | | $0.40 | $3 |
|
|
67
|
+
| `huggingface/Qwen/Qwen3.5-27B` | 262K | | | | | | $0.30 | $2 |
|
|
68
|
+
| `huggingface/Qwen/Qwen3.5-35B-A3B` | 262K | | | | | | $0.25 | $2 |
|
|
55
69
|
| `huggingface/Qwen/Qwen3.5-397B-A17B` | 262K | | | | | | $0.60 | $4 |
|
|
70
|
+
| `huggingface/Qwen/Qwen3.5-9B` | 262K | | | | | | $0.17 | $0.25 |
|
|
71
|
+
| `huggingface/Qwen/Qwen3.6-35B-A3B` | 262K | | | | | | $0.15 | $0.95 |
|
|
72
|
+
| `huggingface/stepfun-ai/Step-3.5-Flash` | 262K | | | | | | $0.10 | $0.30 |
|
|
56
73
|
| `huggingface/XiaomiMiMo/MiMo-V2-Flash` | 262K | | | | | | $0.10 | $0.30 |
|
|
74
|
+
| `huggingface/zai-org/GLM-4.5` | 131K | | | | | | $0.60 | $2 |
|
|
75
|
+
| `huggingface/zai-org/GLM-4.5-Air` | 131K | | | | | | $0.13 | $0.85 |
|
|
76
|
+
| `huggingface/zai-org/GLM-4.5V` | 66K | | | | | | $0.60 | $2 |
|
|
77
|
+
| `huggingface/zai-org/GLM-4.6` | 205K | | | | | | $0.55 | $2 |
|
|
57
78
|
| `huggingface/zai-org/GLM-4.7` | 205K | | | | | | $0.60 | $2 |
|
|
58
79
|
| `huggingface/zai-org/GLM-4.7-Flash` | 200K | | | | | | — | — |
|
|
59
80
|
| `huggingface/zai-org/GLM-5` | 203K | | | | | | $1 | $3 |
|
|
60
81
|
| `huggingface/zai-org/GLM-5.1` | 203K | | | | | | $1 | $3 |
|
|
82
|
+
| `huggingface/zai-org/GLM-5.2` | 262K | | | | | | $1 | $4 |
|
|
61
83
|
|
|
62
84
|
## Advanced configuration
|
|
63
85
|
|
|
@@ -69,7 +91,7 @@ const agent = new Agent({
|
|
|
69
91
|
name: "custom-agent",
|
|
70
92
|
model: {
|
|
71
93
|
url: "https://router.huggingface.co/v1",
|
|
72
|
-
id: "huggingface/MiniMaxAI/MiniMax-M2
|
|
94
|
+
id: "huggingface/MiniMaxAI/MiniMax-M2",
|
|
73
95
|
apiKey: process.env.HF_TOKEN,
|
|
74
96
|
headers: {
|
|
75
97
|
"X-Custom-Header": "value"
|
|
@@ -87,8 +109,8 @@ const agent = new Agent({
|
|
|
87
109
|
model: ({ requestContext }) => {
|
|
88
110
|
const useAdvanced = requestContext.task === "complex";
|
|
89
111
|
return useAdvanced
|
|
90
|
-
? "huggingface/zai-org/GLM-5.
|
|
91
|
-
: "huggingface/MiniMaxAI/MiniMax-M2
|
|
112
|
+
? "huggingface/zai-org/GLM-5.2"
|
|
113
|
+
: "huggingface/MiniMaxAI/MiniMax-M2";
|
|
92
114
|
}
|
|
93
115
|
});
|
|
94
116
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# NovitaAI
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 105 NovitaAI models through Mastra's model router. Authentication is handled automatically using the `NOVITA_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [NovitaAI documentation](https://novita.ai/docs/guides/introduction).
|
|
6
6
|
|
|
@@ -138,6 +138,7 @@ for await (const chunk of stream) {
|
|
|
138
138
|
| `novita-ai/zai-org/glm-4.7-flash` | 200K | | | | | | $0.07 | $0.40 |
|
|
139
139
|
| `novita-ai/zai-org/glm-5` | 203K | | | | | | $1 | $3 |
|
|
140
140
|
| `novita-ai/zai-org/glm-5.1` | 205K | | | | | | $1 | $4 |
|
|
141
|
+
| `novita-ai/zai-org/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
141
142
|
|
|
142
143
|
## Advanced configuration
|
|
143
144
|
|
|
@@ -167,7 +168,7 @@ const agent = new Agent({
|
|
|
167
168
|
model: ({ requestContext }) => {
|
|
168
169
|
const useAdvanced = requestContext.task === "complex";
|
|
169
170
|
return useAdvanced
|
|
170
|
-
? "novita-ai/zai-org/glm-5.
|
|
171
|
+
? "novita-ai/zai-org/glm-5.2"
|
|
171
172
|
: "novita-ai/baichuan/baichuan-m2-32b";
|
|
172
173
|
}
|
|
173
174
|
});
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.2.1-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`6a1428a`](https://github.com/mastra-ai/mastra/commit/6a1428a23133fc070fc6c1caa08d28f3ba4fe5ff), [`7f51548`](https://github.com/mastra-ai/mastra/commit/7f515481213780be7047cef00640b9d35f3d545c)]:
|
|
8
|
+
- @mastra/core@1.46.0-alpha.2
|
|
9
|
+
|
|
10
|
+
## 1.2.1-alpha.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`7794d71`](https://github.com/mastra-ai/mastra/commit/7794d71872c68733a30e028dfb7b1705daf6c5d2)]:
|
|
15
|
+
- @mastra/core@1.46.0-alpha.1
|
|
16
|
+
|
|
3
17
|
## 1.2.1-alpha.0
|
|
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.1-alpha.
|
|
3
|
+
"version": "1.2.1-alpha.2",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"jsdom": "^26.1.0",
|
|
29
29
|
"local-pkg": "^1.1.2",
|
|
30
30
|
"zod": "^4.4.3",
|
|
31
|
-
"@mastra/core": "1.46.0-alpha.
|
|
31
|
+
"@mastra/core": "1.46.0-alpha.2",
|
|
32
32
|
"@mastra/mcp": "^1.12.0-alpha.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"tsx": "^4.22.4",
|
|
46
46
|
"typescript": "^6.0.3",
|
|
47
47
|
"vitest": "4.1.8",
|
|
48
|
-
"@internal/lint": "0.0.107",
|
|
49
48
|
"@internal/types-builder": "0.0.82",
|
|
50
|
-
"@
|
|
49
|
+
"@internal/lint": "0.0.107",
|
|
50
|
+
"@mastra/core": "1.46.0-alpha.2"
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://mastra.ai",
|
|
53
53
|
"repository": {
|