@mastra/mcp-docs-server 1.1.39 → 1.1.40-alpha.1
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/vercel.md +1 -2
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/cloudflare-workers-ai.md +33 -14
- package/.docs/models/providers/llmgateway.md +2 -2
- package/.docs/models/providers/opencode.md +2 -1
- package/.docs/models/providers/scaleway.md +2 -1
- package/.docs/models/providers/xai.md +10 -18
- package/CHANGELOG.md +7 -0
- package/package.json +4 -4
|
@@ -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 239 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
|
|
|
@@ -244,7 +244,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
244
244
|
| `voyage/voyage-code-3` |
|
|
245
245
|
| `voyage/voyage-finance-2` |
|
|
246
246
|
| `voyage/voyage-law-2` |
|
|
247
|
-
| `xai/grok-2-vision` |
|
|
248
247
|
| `xai/grok-4-fast-reasoning` |
|
|
249
248
|
| `xai/grok-4.1-fast-non-reasoning` |
|
|
250
249
|
| `xai/grok-4.1-fast-reasoning` |
|
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 4207 models from 121 providers through a single API.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Cloudflare Workers AI
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 27 Cloudflare Workers AI models through Mastra's model router. Authentication is handled automatically using the `CLOUDFLARE_API_KEY` environment variable. Configure `CLOUDFLARE_ACCOUNT_ID` as well.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Cloudflare Workers AI documentation](https://developers.cloudflare.com/workers-ai/models/).
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ const agent = new Agent({
|
|
|
16
16
|
id: "my-agent",
|
|
17
17
|
name: "My Agent",
|
|
18
18
|
instructions: "You are a helpful assistant",
|
|
19
|
-
model: "cloudflare-workers-ai/@cf/
|
|
19
|
+
model: "cloudflare-workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it"
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
// Generate a response
|
|
@@ -33,16 +33,35 @@ for await (const chunk of stream) {
|
|
|
33
33
|
|
|
34
34
|
## Models
|
|
35
35
|
|
|
36
|
-
| Model
|
|
37
|
-
|
|
|
38
|
-
| `cloudflare-workers-ai/@cf/
|
|
39
|
-
| `cloudflare-workers-ai/@cf/
|
|
40
|
-
| `cloudflare-workers-ai/@cf/
|
|
41
|
-
| `cloudflare-workers-ai/@cf/
|
|
42
|
-
| `cloudflare-workers-ai/@cf/
|
|
43
|
-
| `cloudflare-workers-ai/@cf/
|
|
44
|
-
| `cloudflare-workers-ai/@cf/
|
|
45
|
-
| `cloudflare-workers-ai/@cf/
|
|
36
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
37
|
+
| -------------------------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
38
|
+
| `cloudflare-workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it` | 128K | | | | | | $0.35 | $0.56 |
|
|
39
|
+
| `cloudflare-workers-ai/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b` | 80K | | | | | | $0.50 | $5 |
|
|
40
|
+
| `cloudflare-workers-ai/@cf/google/gemma-3-12b-it` | 80K | | | | | | $0.34 | $0.56 |
|
|
41
|
+
| `cloudflare-workers-ai/@cf/google/gemma-4-26b-a4b-it` | 256K | | | | | | $0.10 | $0.30 |
|
|
42
|
+
| `cloudflare-workers-ai/@cf/ibm-granite/granite-4.0-h-micro` | 131K | | | | | | $0.02 | $0.11 |
|
|
43
|
+
| `cloudflare-workers-ai/@cf/meta/llama-2-7b-chat-fp16` | 4K | | | | | | $0.56 | $7 |
|
|
44
|
+
| `cloudflare-workers-ai/@cf/meta/llama-3-8b-instruct` | 8K | | | | | | $0.28 | $0.83 |
|
|
45
|
+
| `cloudflare-workers-ai/@cf/meta/llama-3-8b-instruct-awq` | 8K | | | | | | $0.12 | $0.27 |
|
|
46
|
+
| `cloudflare-workers-ai/@cf/meta/llama-3.1-8b-instruct-awq` | 8K | | | | | | $0.12 | $0.27 |
|
|
47
|
+
| `cloudflare-workers-ai/@cf/meta/llama-3.1-8b-instruct-fp8` | 32K | | | | | | $0.15 | $0.29 |
|
|
48
|
+
| `cloudflare-workers-ai/@cf/meta/llama-3.2-11b-vision-instruct` | 128K | | | | | | $0.05 | $0.68 |
|
|
49
|
+
| `cloudflare-workers-ai/@cf/meta/llama-3.2-1b-instruct` | 60K | | | | | | $0.03 | $0.20 |
|
|
50
|
+
| `cloudflare-workers-ai/@cf/meta/llama-3.2-3b-instruct` | 80K | | | | | | $0.05 | $0.34 |
|
|
51
|
+
| `cloudflare-workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast` | 24K | | | | | | $0.29 | $2 |
|
|
52
|
+
| `cloudflare-workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct` | 131K | | | | | | $0.27 | $0.85 |
|
|
53
|
+
| `cloudflare-workers-ai/@cf/meta/llama-guard-3-8b` | 131K | | | | | | $0.48 | $0.03 |
|
|
54
|
+
| `cloudflare-workers-ai/@cf/mistral/mistral-7b-instruct-v0.1` | 3K | | | | | | $0.11 | $0.19 |
|
|
55
|
+
| `cloudflare-workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct` | 128K | | | | | | $0.35 | $0.56 |
|
|
56
|
+
| `cloudflare-workers-ai/@cf/moonshotai/kimi-k2.5` | 256K | | | | | | $0.60 | $3 |
|
|
57
|
+
| `cloudflare-workers-ai/@cf/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
58
|
+
| `cloudflare-workers-ai/@cf/nvidia/nemotron-3-120b-a12b` | 256K | | | | | | $0.50 | $2 |
|
|
59
|
+
| `cloudflare-workers-ai/@cf/openai/gpt-oss-120b` | 128K | | | | | | $0.35 | $0.75 |
|
|
60
|
+
| `cloudflare-workers-ai/@cf/openai/gpt-oss-20b` | 128K | | | | | | $0.20 | $0.30 |
|
|
61
|
+
| `cloudflare-workers-ai/@cf/qwen/qwen2.5-coder-32b-instruct` | 33K | | | | | | $0.66 | $1 |
|
|
62
|
+
| `cloudflare-workers-ai/@cf/qwen/qwen3-30b-a3b-fp8` | 33K | | | | | | $0.05 | $0.34 |
|
|
63
|
+
| `cloudflare-workers-ai/@cf/qwen/qwq-32b` | 24K | | | | | | $0.66 | $1 |
|
|
64
|
+
| `cloudflare-workers-ai/@cf/zai-org/glm-4.7-flash` | 131K | | | | | | $0.06 | $0.40 |
|
|
46
65
|
|
|
47
66
|
## Advanced configuration
|
|
48
67
|
|
|
@@ -54,7 +73,7 @@ const agent = new Agent({
|
|
|
54
73
|
name: "custom-agent",
|
|
55
74
|
model: {
|
|
56
75
|
url: "https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/ai/v1",
|
|
57
|
-
id: "cloudflare-workers-ai/@cf/
|
|
76
|
+
id: "cloudflare-workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it",
|
|
58
77
|
apiKey: process.env.CLOUDFLARE_API_KEY,
|
|
59
78
|
headers: {
|
|
60
79
|
"X-Custom-Header": "value"
|
|
@@ -73,7 +92,7 @@ const agent = new Agent({
|
|
|
73
92
|
const useAdvanced = requestContext.task === "complex";
|
|
74
93
|
return useAdvanced
|
|
75
94
|
? "cloudflare-workers-ai/@cf/zai-org/glm-4.7-flash"
|
|
76
|
-
: "cloudflare-workers-ai/@cf/
|
|
95
|
+
: "cloudflare-workers-ai/@cf/aisingapore/gemma-sea-lion-v4-27b-it";
|
|
77
96
|
}
|
|
78
97
|
});
|
|
79
98
|
```
|
|
@@ -122,8 +122,8 @@ for await (const chunk of stream) {
|
|
|
122
122
|
| `llmgateway/gpt-oss-20b` | 131K | | | | | | $0.10 | $0.50 |
|
|
123
123
|
| `llmgateway/grok-4-0709` | 256K | | | | | | $3 | $15 |
|
|
124
124
|
| `llmgateway/grok-4-1-fast-reasoning` | 2.0M | | | | | | $0.20 | $0.50 |
|
|
125
|
-
| `llmgateway/grok-4-20-beta-0309-non-reasoning` | 2.0M | | | | | | $
|
|
126
|
-
| `llmgateway/grok-4-20-beta-0309-reasoning` | 2.0M | | | | | | $
|
|
125
|
+
| `llmgateway/grok-4-20-beta-0309-non-reasoning` | 2.0M | | | | | | $1 | $3 |
|
|
126
|
+
| `llmgateway/grok-4-20-beta-0309-reasoning` | 2.0M | | | | | | $1 | $3 |
|
|
127
127
|
| `llmgateway/grok-4-3` | 1.0M | | | | | | $1 | $3 |
|
|
128
128
|
| `llmgateway/grok-4-fast-reasoning` | 2.0M | | | | | | $0.20 | $0.50 |
|
|
129
129
|
| `llmgateway/hermes-2-pro-llama-3-8b` | 8K | | | | | | $0.14 | $0.14 |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OpenCode Zen
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 41 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [OpenCode Zen documentation](https://opencode.ai/docs/zen).
|
|
6
6
|
|
|
@@ -66,6 +66,7 @@ for await (const chunk of stream) {
|
|
|
66
66
|
| `opencode/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
67
67
|
| `opencode/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
68
68
|
| `opencode/gpt-5.5-pro` | 1.1M | | | | | | $30 | $180 |
|
|
69
|
+
| `opencode/grok-build-0.1` | 256K | | | | | | $1 | $2 |
|
|
69
70
|
| `opencode/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
70
71
|
| `opencode/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
71
72
|
| `opencode/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Scaleway
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 17 Scaleway models through Mastra's model router. Authentication is handled automatically using the `SCALEWAY_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Scaleway documentation](https://www.scaleway.com/en/docs/generative-apis/).
|
|
6
6
|
|
|
@@ -41,6 +41,7 @@ for await (const chunk of stream) {
|
|
|
41
41
|
| `scaleway/gpt-oss-120b` | 128K | | | | | | $0.15 | $0.60 |
|
|
42
42
|
| `scaleway/llama-3.1-8b-instruct` | 128K | | | | | | $0.20 | $0.20 |
|
|
43
43
|
| `scaleway/llama-3.3-70b-instruct` | 100K | | | | | | $0.90 | $0.90 |
|
|
44
|
+
| `scaleway/mistral-medium-3.5-128b` | 256K | | | | | | $2 | $8 |
|
|
44
45
|
| `scaleway/mistral-nemo-instruct-2407` | 128K | | | | | | $0.20 | $0.20 |
|
|
45
46
|
| `scaleway/mistral-small-3.2-24b-instruct-2506` | 128K | | | | | | $0.15 | $0.35 |
|
|
46
47
|
| `scaleway/pixtral-12b-2409` | 128K | | | | | | $0.20 | $0.20 |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# xAI
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 8 xAI models through Mastra's model router. Authentication is handled automatically using the `XAI_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [xAI documentation](https://docs.x.ai/docs/models).
|
|
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: "xai/grok-
|
|
18
|
+
model: "xai/grok-4.20-0309-non-reasoning"
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Generate a response
|
|
@@ -32,22 +32,14 @@ for await (const chunk of stream) {
|
|
|
32
32
|
|
|
33
33
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
34
34
|
| ---------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
35
|
-
| `xai/grok-
|
|
36
|
-
| `xai/grok-
|
|
37
|
-
| `xai/grok-
|
|
38
|
-
| `xai/grok-2-vision` | 8K | | | | | | $2 | $10 |
|
|
39
|
-
| `xai/grok-2-vision-1212` | 8K | | | | | | $2 | $10 |
|
|
40
|
-
| `xai/grok-2-vision-latest` | 8K | | | | | | $2 | $10 |
|
|
41
|
-
| `xai/grok-4.20-0309-non-reasoning` | 2.0M | | | | | | $2 | $6 |
|
|
42
|
-
| `xai/grok-4.20-0309-reasoning` | 2.0M | | | | | | $2 | $6 |
|
|
43
|
-
| `xai/grok-4.20-multi-agent-0309` | 2.0M | | | | | | $2 | $6 |
|
|
35
|
+
| `xai/grok-4.20-0309-non-reasoning` | 2.0M | | | | | | $1 | $3 |
|
|
36
|
+
| `xai/grok-4.20-0309-reasoning` | 2.0M | | | | | | $1 | $3 |
|
|
37
|
+
| `xai/grok-4.20-multi-agent-0309` | 2.0M | | | | | | $1 | $3 |
|
|
44
38
|
| `xai/grok-4.3` | 1.0M | | | | | | $1 | $3 |
|
|
45
|
-
| `xai/grok-beta` | 131K | | | | | | $5 | $15 |
|
|
46
39
|
| `xai/grok-build-0.1` | 256K | | | | | | $1 | $2 |
|
|
47
|
-
| `xai/grok-imagine-image` |
|
|
48
|
-
| `xai/grok-imagine-image-quality` |
|
|
40
|
+
| `xai/grok-imagine-image` | 8K | | | | | | — | — |
|
|
41
|
+
| `xai/grok-imagine-image-quality` | 8K | | | | | | — | — |
|
|
49
42
|
| `xai/grok-imagine-video` | 1K | | | | | | — | — |
|
|
50
|
-
| `xai/grok-vision-beta` | 8K | | | | | | $5 | $15 |
|
|
51
43
|
|
|
52
44
|
## Advanced configuration
|
|
53
45
|
|
|
@@ -58,7 +50,7 @@ const agent = new Agent({
|
|
|
58
50
|
id: "custom-agent",
|
|
59
51
|
name: "custom-agent",
|
|
60
52
|
model: {
|
|
61
|
-
id: "xai/grok-
|
|
53
|
+
id: "xai/grok-4.20-0309-non-reasoning",
|
|
62
54
|
apiKey: process.env.XAI_API_KEY,
|
|
63
55
|
headers: {
|
|
64
56
|
"X-Custom-Header": "value"
|
|
@@ -76,8 +68,8 @@ const agent = new Agent({
|
|
|
76
68
|
model: ({ requestContext }) => {
|
|
77
69
|
const useAdvanced = requestContext.task === "complex";
|
|
78
70
|
return useAdvanced
|
|
79
|
-
? "xai/grok-
|
|
80
|
-
: "xai/grok-
|
|
71
|
+
? "xai/grok-imagine-video"
|
|
72
|
+
: "xai/grok-4.20-0309-non-reasoning";
|
|
81
73
|
}
|
|
82
74
|
});
|
|
83
75
|
```
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.1.40-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`cfa2e3a`](https://github.com/mastra-ai/mastra/commit/cfa2e3a5292322f48bb28b4d257d631da7f9d3cc)]:
|
|
8
|
+
- @mastra/core@1.36.1-alpha.0
|
|
9
|
+
|
|
3
10
|
## 1.1.39
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.40-alpha.1",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"jsdom": "^26.1.0",
|
|
30
30
|
"local-pkg": "^1.1.2",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@mastra/
|
|
33
|
-
"@mastra/
|
|
32
|
+
"@mastra/mcp": "^1.8.0",
|
|
33
|
+
"@mastra/core": "1.36.1-alpha.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@hono/node-server": "^1.19.11",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"vitest": "4.1.5",
|
|
49
49
|
"@internal/lint": "0.0.97",
|
|
50
50
|
"@internal/types-builder": "0.0.72",
|
|
51
|
-
"@mastra/core": "1.36.0"
|
|
51
|
+
"@mastra/core": "1.36.1-alpha.0"
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://mastra.ai",
|
|
54
54
|
"repository": {
|