@mastra/mcp-docs-server 1.2.11-alpha.6 → 1.2.11
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/aiand.md +1 -3
- package/.docs/models/providers/berget.md +2 -1
- package/.docs/models/providers/hyper.md +7 -7
- package/.docs/models/providers/xpersona.md +12 -2
- package/.docs/reference/evals/mastra-scorer.md +7 -1
- package/CHANGELOG.md +7 -0
- package/package.json +5 -5
|
@@ -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 306 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
|
|
|
@@ -134,7 +134,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
134
134
|
| `google/gemini-2.5-pro` |
|
|
135
135
|
| `google/gemini-3-flash` |
|
|
136
136
|
| `google/gemini-3-pro-image` |
|
|
137
|
-
| `google/gemini-3-pro-preview` |
|
|
138
137
|
| `google/gemini-3.1-flash-image` |
|
|
139
138
|
| `google/gemini-3.1-flash-image-preview` |
|
|
140
139
|
| `google/gemini-3.1-flash-lite` |
|
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 5115 models from 162 providers through a single API.
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# ai&
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 8 ai& models through Mastra's model router. Authentication is handled automatically using the `AIAND_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [ai& documentation](https://docs.aiand.com/).
|
|
8
8
|
|
|
@@ -39,12 +39,10 @@ for await (const chunk of stream) {
|
|
|
39
39
|
| `aiand/deepseek-ai/deepseek-v4-flash` | 1.0M | | | | | | $0.15 | $0.25 |
|
|
40
40
|
| `aiand/deepseek-ai/deepseek-v4-pro` | 1.0M | | | | | | $1 | $3 |
|
|
41
41
|
| `aiand/google/gemma-4-31b-it` | 262K | | | | | | $0.20 | $0.50 |
|
|
42
|
-
| `aiand/moonshotai/kimi-k2.6` | 262K | | | | | | $0.85 | $4 |
|
|
43
42
|
| `aiand/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.75 | $4 |
|
|
44
43
|
| `aiand/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $13 |
|
|
45
44
|
| `aiand/openai/gpt-oss-120b` | 131K | | | | | | $0.15 | $0.60 |
|
|
46
45
|
| `aiand/qwen/qwen3.6-27b` | 262K | | | | | | — | — |
|
|
47
|
-
| `aiand/zai-org/glm-5.1` | 200K | | | | | | $1 | $4 |
|
|
48
46
|
| `aiand/zai-org/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
49
47
|
|
|
50
48
|
## Advanced configuration
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Berget.AI
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 9 Berget.AI models through Mastra's model router. Authentication is handled automatically using the `BERGET_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Berget.AI documentation](https://api.berget.ai).
|
|
8
8
|
|
|
@@ -41,6 +41,7 @@ for await (const chunk of stream) {
|
|
|
41
41
|
| `berget/mistralai/Mistral-Medium-3.5-128B` | 262K | | | | | | $2 | $6 |
|
|
42
42
|
| `berget/mistralai/Mistral-Small-3.2-24B-Instruct-2506` | 32K | | | | | | $0.33 | $0.33 |
|
|
43
43
|
| `berget/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.83 | $4 |
|
|
44
|
+
| `berget/moonshotai/Kimi-K3` | 328K | | | | | | $3 | $15 |
|
|
44
45
|
| `berget/openai/gpt-oss-120b` | 128K | | | | | | $0.22 | $0.83 |
|
|
45
46
|
| `berget/zai-org/GLM-4.7` | 128K | | | | | | $0.77 | $3 |
|
|
46
47
|
| `berget/zai-org/GLM-5.2` | 524K | | | | | | $2 | $5 |
|
|
@@ -38,18 +38,18 @@ for await (const chunk of stream) {
|
|
|
38
38
|
| ---------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
39
|
| `hyper/deepseek-v4-flash` | 1.0M | | | | | | $0.20 | $0.40 |
|
|
40
40
|
| `hyper/deepseek-v4-pro` | 1.0M | | | | | | $2 | $5 |
|
|
41
|
-
| `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.
|
|
42
|
-
| `hyper/glm-5` | 203K | | | | | | $0.
|
|
41
|
+
| `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.13 | $0.42 |
|
|
42
|
+
| `hyper/glm-5` | 203K | | | | | | $0.81 | $3 |
|
|
43
43
|
| `hyper/glm-5.1` | 203K | | | | | | $2 | $5 |
|
|
44
44
|
| `hyper/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
45
|
-
| `hyper/gpt-oss-120b` | 131K | | | | | | $0.18 | $0.
|
|
45
|
+
| `hyper/gpt-oss-120b` | 131K | | | | | | $0.18 | $0.65 |
|
|
46
46
|
| `hyper/kimi-k2.5` | 262K | | | | | | $0.53 | $3 |
|
|
47
47
|
| `hyper/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
48
|
-
| `hyper/kimi-k2.7-code` |
|
|
48
|
+
| `hyper/kimi-k2.7-code` | 256K | | | | | | $0.95 | $4 |
|
|
49
49
|
| `hyper/llama-3.3-70b-instruct` | 128K | | | | | | $0.61 | $1 |
|
|
50
|
-
| `hyper/llama-4-maverick-17b-128e-instruct-fp8` | 430K | | | | | | $0.
|
|
51
|
-
| `hyper/minimax-m2.7` | 205K | | | | | | $0.
|
|
52
|
-
| `hyper/qwen3-coder-480b-a35b-instruct-int4-mixed-ar` | 106K | | | | | | $0.
|
|
50
|
+
| `hyper/llama-4-maverick-17b-128e-instruct-fp8` | 430K | | | | | | $0.28 | $0.93 |
|
|
51
|
+
| `hyper/minimax-m2.7` | 205K | | | | | | $0.35 | $1 |
|
|
52
|
+
| `hyper/qwen3-coder-480b-a35b-instruct-int4-mixed-ar` | 106K | | | | | | $0.57 | $2 |
|
|
53
53
|
| `hyper/qwen3-next-80b-a3b-instruct` | 262K | | | | | | $0.12 | $1 |
|
|
54
54
|
| `hyper/qwen3.6-flash` | 1.0M | | | | | | $1 | $4 |
|
|
55
55
|
| `hyper/qwen3.6-max` | 256K | | | | | | $2 | $12 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Xpersona
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 13 Xpersona models through Mastra's model router. Authentication is handled automatically using the `XPERSONA_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Xpersona documentation](https://www.xpersona.co/docs).
|
|
8
8
|
|
|
@@ -36,7 +36,17 @@ for await (const chunk of stream) {
|
|
|
36
36
|
|
|
37
37
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
38
|
| --------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
-
| `xpersona/claude-fable-5` | 1.0M | | | | | | $3 | $
|
|
39
|
+
| `xpersona/claude-fable-5` | 1.0M | | | | | | $3 | $19 |
|
|
40
|
+
| `xpersona/claude-haiku-4-5` | 200K | | | | | | $0.60 | $4 |
|
|
41
|
+
| `xpersona/claude-opus-4-8` | 200K | | | | | | $2 | $9 |
|
|
42
|
+
| `xpersona/claude-sonnet-4-6` | 200K | | | | | | $0.90 | $6 |
|
|
43
|
+
| `xpersona/gemini-3.5-flash` | 1.0M | | | | | | $2 | $12 |
|
|
44
|
+
| `xpersona/gpt-5.4` | 1.1M | | | | | | $0.75 | $6 |
|
|
45
|
+
| `xpersona/gpt-5.4-mini` | 272K | | | | | | $0.38 | $4 |
|
|
46
|
+
| `xpersona/gpt-5.5` | 1.1M | | | | | | $2 | $12 |
|
|
47
|
+
| `xpersona/gpt-5.6` | 372K | | | | | | $2 | $12 |
|
|
48
|
+
| `xpersona/gpt-5.6-sol` | 372K | | | | | | $2 | $12 |
|
|
49
|
+
| `xpersona/gpt-5.6-terra` | 372K | | | | | | $2 | $2 |
|
|
40
50
|
| `xpersona/xpersona-frieren-coder` | 1.0M | | | | | | $2 | $6 |
|
|
41
51
|
| `xpersona/xpersona-gpt-5.5` | 1.0M | | | | | | $3 | $18 |
|
|
42
52
|
|
|
@@ -76,7 +76,8 @@ const result = await scorer.run({
|
|
|
76
76
|
The optional `judge` record contains details about the judge model calls made by prompt-based scorer steps. Its known keys are `preprocess`, `analyze`, `generateScore`, and `generateReason`. Each key contains an ordered `executions` array.
|
|
77
77
|
|
|
78
78
|
```typescript
|
|
79
|
-
interface
|
|
79
|
+
interface ScorerJudgeExecutionSuccess {
|
|
80
|
+
status: 'success'
|
|
80
81
|
prompt: string
|
|
81
82
|
output: JSONValue
|
|
82
83
|
judgeModelId: string
|
|
@@ -92,6 +93,8 @@ interface ScorerJudgeExecution {
|
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
|
|
96
|
+
type ScorerJudgeExecution = ScorerJudgeExecutionSuccess
|
|
97
|
+
|
|
95
98
|
interface ScorerJudgeUsage {
|
|
96
99
|
inputTokens?: number
|
|
97
100
|
outputTokens?: number
|
|
@@ -114,11 +117,14 @@ Use the step key to access its judge execution details:
|
|
|
114
117
|
```typescript
|
|
115
118
|
const execution = result.judge?.generateScore?.executions[0]
|
|
116
119
|
|
|
120
|
+
console.log(execution?.status)
|
|
117
121
|
console.log(execution?.judgeModelId)
|
|
118
122
|
console.log(execution?.usage.totalTokens)
|
|
119
123
|
console.log(execution?.durationMs)
|
|
120
124
|
```
|
|
121
125
|
|
|
126
|
+
The `status` value describes the outcome of the logical prompt-step execution, not the quality of the evaluated response. A structured-output fallback that eventually succeeds creates one `success` execution with an `attemptCount` greater than one.
|
|
127
|
+
|
|
122
128
|
`attemptCount` counts judge invocations, including a structured-output fallback. `modelCallCount` counts the completed model steps across those attempts. `durationMs` covers the full prompt-step execution.
|
|
123
129
|
|
|
124
130
|
Function steps don't create `judge` entries. Usage in this record belongs to the scorer's judge model, not the agent or workflow being evaluated. The optional `cost` field is present only when the execution directly reports an authoritative cost, source, and unit.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.2.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`ce93a3c`](https://github.com/mastra-ai/mastra/commit/ce93a3c114ea1cbfbd576f3db41d7c26c9844f5b), [`5718a22`](https://github.com/mastra-ai/mastra/commit/5718a229281dcfd36bcd1f42a242e3717e510a33), [`a211d09`](https://github.com/mastra-ai/mastra/commit/a211d09185dc65a746534914cf38b67f21ee9bac), [`0dca9d0`](https://github.com/mastra-ai/mastra/commit/0dca9d0b1356024a53b72ea6f040db528b126caa), [`6218217`](https://github.com/mastra-ai/mastra/commit/62182171b6cfca0b099f1c6a77a2e65e7639ab86), [`5807d3a`](https://github.com/mastra-ai/mastra/commit/5807d3ae1d259b8b7d6df7e5bf2b485c694af9c8), [`57661af`](https://github.com/mastra-ai/mastra/commit/57661afeca52ff9af4e72675ede2134fa503d5a5), [`05db566`](https://github.com/mastra-ai/mastra/commit/05db566fcbdcbf33d0bffca0c72ec30129e2e3ca), [`57661af`](https://github.com/mastra-ai/mastra/commit/57661afeca52ff9af4e72675ede2134fa503d5a5), [`57661af`](https://github.com/mastra-ai/mastra/commit/57661afeca52ff9af4e72675ede2134fa503d5a5), [`5718a22`](https://github.com/mastra-ai/mastra/commit/5718a229281dcfd36bcd1f42a242e3717e510a33), [`57661af`](https://github.com/mastra-ai/mastra/commit/57661afeca52ff9af4e72675ede2134fa503d5a5), [`d1b7e3a`](https://github.com/mastra-ai/mastra/commit/d1b7e3a978a309a5653eeaa490d2d6c7c53bd093), [`29c584a`](https://github.com/mastra-ai/mastra/commit/29c584a13a88831e5ed1fdeb0ff8e82eae180433), [`c093146`](https://github.com/mastra-ai/mastra/commit/c0931466404d3c521308ea119cb165bb7e695155), [`8124754`](https://github.com/mastra-ai/mastra/commit/8124754ae89fbc69f8136d1df4a91904d0f84c4e), [`d12b2e4`](https://github.com/mastra-ai/mastra/commit/d12b2e4023fd9e3d3e93a9169f5088bcee2a849c)]:
|
|
8
|
+
- @mastra/core@1.54.0
|
|
9
|
+
|
|
3
10
|
## 1.2.11-alpha.6
|
|
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.2.11
|
|
3
|
+
"version": "1.2.11",
|
|
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.54.0
|
|
31
|
+
"@mastra/core": "1.54.0",
|
|
32
32
|
"@mastra/mcp": "^1.15.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"tsx": "^4.23.1",
|
|
46
46
|
"typescript": "^6.0.3",
|
|
47
47
|
"vitest": "4.1.10",
|
|
48
|
-
"@internal/lint": "0.0.
|
|
49
|
-
"@internal/types-builder": "0.0.
|
|
50
|
-
"@mastra/core": "1.54.0
|
|
48
|
+
"@internal/lint": "0.0.118",
|
|
49
|
+
"@internal/types-builder": "0.0.93",
|
|
50
|
+
"@mastra/core": "1.54.0"
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://mastra.ai",
|
|
53
53
|
"repository": {
|