@mastra/mcp-docs-server 1.2.28-alpha.3 → 1.2.28-alpha.5
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/agents/human-in-the-loop.md +38 -1
- package/.docs/docs/skills.md +17 -0
- package/.docs/integrations/deploy/inngest.md +19 -0
- package/.docs/models/gateways/merge-gateway.md +3 -1
- package/.docs/models/gateways/netlify.md +4 -1
- package/.docs/models/gateways/openrouter.md +7 -1
- package/.docs/models/gateways/vercel.md +7 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/deepseek.md +4 -6
- package/.docs/models/providers/kilo.md +16 -10
- package/.docs/models/providers/llmgateway-providers.md +4 -1
- package/.docs/models/providers/llmgateway.md +4 -1
- package/.docs/models/providers/nano-gpt.md +7 -1
- package/.docs/models/providers/ofox.md +2 -1
- package/.docs/models/providers/openai.md +3 -1
- package/.docs/models/providers/opencode.md +5 -1
- package/.docs/models/providers/requesty.md +3 -1
- package/.docs/models/providers/wandb.md +2 -1
- package/package.json +3 -3
|
@@ -116,7 +116,44 @@ const stream = await agent.stream('Clean up old records', {
|
|
|
116
116
|
})
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
The function can be asynchronous. For decisions that depend on the tool name and arguments, use a [classifier](https://mastra.ai/reference/classifier/classifier) to estimate whether the call needs human review:
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
import { Classifier } from '@mastra/core/classifier'
|
|
123
|
+
import { model } from '../models/evaluation-model'
|
|
124
|
+
import { agent } from './agent'
|
|
125
|
+
|
|
126
|
+
const approvalClassifier = new Classifier({
|
|
127
|
+
id: 'tool-approval-classifier',
|
|
128
|
+
model,
|
|
129
|
+
questions: {
|
|
130
|
+
requiresApproval: {
|
|
131
|
+
type: 'boolean',
|
|
132
|
+
instructions:
|
|
133
|
+
'Does this tool call need human approval because it is destructive, irreversible, expensive, or handles sensitive data?',
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
})
|
|
137
|
+
|
|
138
|
+
const stream = await agent.stream('Clean up old records', {
|
|
139
|
+
requireToolApproval: async ({ toolName, args }) => {
|
|
140
|
+
const result = await approvalClassifier.evaluate({
|
|
141
|
+
state: {
|
|
142
|
+
toolName,
|
|
143
|
+
argumentNames: Object.keys(args),
|
|
144
|
+
},
|
|
145
|
+
})
|
|
146
|
+
|
|
147
|
+
return result.answers.requiresApproval.probability >= 0.7
|
|
148
|
+
},
|
|
149
|
+
})
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
The example sends argument names rather than values because the classifier forwards its state to the configured evaluation model. If the decision requires argument values, redact sensitive data first or use an evaluation model and provider that meet the protected tool's data-handling requirements.
|
|
153
|
+
|
|
154
|
+
Returning `true` pauses the tool call for human approval. It doesn't approve or decline the call automatically. Choose a threshold that matches the risk of the tools available to the agent. If this `requireToolApproval` function throws, it defaults to requiring approval.
|
|
155
|
+
|
|
156
|
+
The runtime then combines that result with the tool's `requireApproval` setting. A boolean `true` requires approval, while `false` doesn't disable approval required by `requireToolApproval`. A tool-level `requireApproval` function is authoritative and replaces the combined result for that tool.
|
|
120
157
|
|
|
121
158
|
> **Note:** Function-based `requireToolApproval` is only available on regular `stream()` / `generate()` calls. Durable agents and stored agents persist their options, and a function can't be serialized, so they accept only a boolean. If you pass a function in those contexts it falls back to requiring approval for every tool call.
|
|
122
159
|
|
package/.docs/docs/skills.md
CHANGED
|
@@ -193,6 +193,23 @@ for (const meta of allSkills) {
|
|
|
193
193
|
|
|
194
194
|
Visit [`.getSkill()` reference](https://mastra.ai/reference/agents/getSkill) and [`.listSkills()` reference](https://mastra.ai/reference/agents/listSkills) for the full API.
|
|
195
195
|
|
|
196
|
+
## Validating skills before saving
|
|
197
|
+
|
|
198
|
+
If your app writes `SKILL.md` files (from a tool, an upload, or a shell command), validate the content first with `validateSkillContent()`. It applies the same rules used when skills are loaded, including the check that `name` matches the directory name, and returns structured results instead of throwing:
|
|
199
|
+
|
|
200
|
+
```typescript
|
|
201
|
+
import { validateSkillContent } from '@mastra/core/skills'
|
|
202
|
+
|
|
203
|
+
const result = validateSkillContent({ content: skillMarkdown, directoryName: 'code-review' })
|
|
204
|
+
|
|
205
|
+
if (!result.valid) {
|
|
206
|
+
throw new Error(`Invalid skill:\n${result.errors.join('\n')}`)
|
|
207
|
+
}
|
|
208
|
+
// result.warnings lists non-blocking issues, such as very long instructions
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
To validate an already-parsed frontmatter object, use `validateSkillMetadata({ metadata, directoryName })`.
|
|
212
|
+
|
|
196
213
|
## Related
|
|
197
214
|
|
|
198
215
|
- [Workspace skills](https://mastra.ai/docs/sandbox/skills)
|
|
@@ -628,6 +628,25 @@ const workflow = createWorkflow({
|
|
|
628
628
|
})
|
|
629
629
|
```
|
|
630
630
|
|
|
631
|
+
### Retries
|
|
632
|
+
|
|
633
|
+
Set `retries` to let a run survive a failed request to your app, such as a process restart, redeploy, or out-of-memory crash. Inngest calls the function again, skips the steps that already finished, and continues from the step that was interrupted:
|
|
634
|
+
|
|
635
|
+
```ts
|
|
636
|
+
const workflow = createWorkflow({
|
|
637
|
+
id: 'long-running-workflow',
|
|
638
|
+
inputSchema: z.object({ jobId: z.string() }),
|
|
639
|
+
outputSchema: z.object({ done: z.boolean() }),
|
|
640
|
+
steps: [longRunningStep],
|
|
641
|
+
// Re-invoke up to 3 times after a failed request
|
|
642
|
+
retries: 3,
|
|
643
|
+
})
|
|
644
|
+
```
|
|
645
|
+
|
|
646
|
+
`retries` defaults to `0`. Errors thrown by your step code are retried per step with `retryConfig` or the step's `retries` option, not at the function level. `createInngestAgent()` accepts the same `retries` option and applies it to every Inngest function the durable agent creates.
|
|
647
|
+
|
|
648
|
+
A nested workflow runs as its own Inngest function and uses its own `retries` setting. It doesn't inherit the parent's value, so set `retries` on each nested workflow that should recover from a failed request.
|
|
649
|
+
|
|
631
650
|
### Combining flow control options
|
|
632
651
|
|
|
633
652
|
Multiple flow control options can be combined in a single workflow:
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Merge Gateway
|
|
6
6
|
|
|
7
|
-
Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 191 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Merge Gateway documentation](https://docs.merge.dev/merge-gateway).
|
|
10
10
|
|
|
@@ -162,6 +162,8 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
162
162
|
| `openai/gpt-5.6-sol` |
|
|
163
163
|
| `openai/gpt-5.6-terra` |
|
|
164
164
|
| `openai/gpt-6-astra` |
|
|
165
|
+
| `openai/gpt-6-luna` |
|
|
166
|
+
| `openai/gpt-6-sol` |
|
|
165
167
|
| `openai/gpt-oss-120b` |
|
|
166
168
|
| `openai/gpt-oss-20b` |
|
|
167
169
|
| `openai/gpt-oss-safeguard-120b` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Netlify
|
|
6
6
|
|
|
7
|
-
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access
|
|
7
|
+
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 267 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Netlify documentation](https://docs.netlify.com/build/ai-gateway/overview/).
|
|
10
10
|
|
|
@@ -137,6 +137,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
137
137
|
| `openrouter/bytedance-seed/seed-2.0-mini` |
|
|
138
138
|
| `openrouter/bytedance/ui-tars-1.5-7b` |
|
|
139
139
|
| `openrouter/cognitivecomputations/dolphin-mistral-24b-venice-edition` |
|
|
140
|
+
| `openrouter/cohere/command-a-plus` |
|
|
140
141
|
| `openrouter/deepseek/deepseek-chat` |
|
|
141
142
|
| `openrouter/deepseek/deepseek-chat-v3-0324` |
|
|
142
143
|
| `openrouter/deepseek/deepseek-chat-v3.1` |
|
|
@@ -288,6 +289,8 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
288
289
|
| `openrouter/x-ai/grok-build-0.1` |
|
|
289
290
|
| `openrouter/xiaomi/mimo-v2.5` |
|
|
290
291
|
| `openrouter/xiaomi/mimo-v2.5-pro` |
|
|
292
|
+
| `openrouter/xiaomi/mimo-v2.6-flash` |
|
|
293
|
+
| `openrouter/xiaomi/mimo-v2.6-pro` |
|
|
291
294
|
| `openrouter/z-ai/glm-4.5-air` |
|
|
292
295
|
| `openrouter/z-ai/glm-4.5v` |
|
|
293
296
|
| `openrouter/z-ai/glm-4.6` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenRouter
|
|
6
6
|
|
|
7
|
-
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 382 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
|
|
10
10
|
|
|
@@ -92,6 +92,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
92
92
|
| `bytedance/ui-tars-1.5-7b` |
|
|
93
93
|
| `cognitivecomputations/dolphin-mistral-24b-venice-edition` |
|
|
94
94
|
| `cohere/command-a` |
|
|
95
|
+
| `cohere/command-a-plus` |
|
|
95
96
|
| `cohere/command-r-08-2024` |
|
|
96
97
|
| `cohere/command-r-plus-08-2024` |
|
|
97
98
|
| `cohere/command-r7b-12-2024` |
|
|
@@ -272,6 +273,10 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
272
273
|
| `openai/gpt-5.6-terra-pro` |
|
|
273
274
|
| `openai/gpt-6-astra` |
|
|
274
275
|
| `openai/gpt-6-astra-pro` |
|
|
276
|
+
| `openai/gpt-6-luna` |
|
|
277
|
+
| `openai/gpt-6-luna-pro` |
|
|
278
|
+
| `openai/gpt-6-sol` |
|
|
279
|
+
| `openai/gpt-6-sol-pro` |
|
|
275
280
|
| `openai/gpt-audio` |
|
|
276
281
|
| `openai/gpt-audio-mini` |
|
|
277
282
|
| `openai/gpt-chat-latest` |
|
|
@@ -354,6 +359,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
354
359
|
| `qwen/qwen3.8-27b:free` |
|
|
355
360
|
| `qwen/qwen3.8-flash` |
|
|
356
361
|
| `qwen/qwen3.8-max-0902` |
|
|
362
|
+
| `qwen/qwen3.8-omni-flash` |
|
|
357
363
|
| `rekaai/reka-edge` |
|
|
358
364
|
| `rekaai/reka-flash-3` |
|
|
359
365
|
| `relace/relace-apply-3` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Vercel
|
|
6
6
|
|
|
7
|
-
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 385 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
|
|
10
10
|
|
|
@@ -99,6 +99,8 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
99
99
|
| `anthropic/claude-opus-4.8-fast` |
|
|
100
100
|
| `anthropic/claude-opus-5` |
|
|
101
101
|
| `anthropic/claude-opus-5-fast` |
|
|
102
|
+
| `anthropic/claude-opus-5.5` |
|
|
103
|
+
| `anthropic/claude-opus-5.5-fast` |
|
|
102
104
|
| `anthropic/claude-sonnet-4` |
|
|
103
105
|
| `anthropic/claude-sonnet-4.5` |
|
|
104
106
|
| `anthropic/claude-sonnet-4.6` |
|
|
@@ -300,6 +302,10 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
300
302
|
| `openai/gpt-5.6-terra-fast` |
|
|
301
303
|
| `openai/gpt-6-astra` |
|
|
302
304
|
| `openai/gpt-6-astra-fast` |
|
|
305
|
+
| `openai/gpt-6-luna` |
|
|
306
|
+
| `openai/gpt-6-luna-fast` |
|
|
307
|
+
| `openai/gpt-6-sol` |
|
|
308
|
+
| `openai/gpt-6-sol-fast` |
|
|
303
309
|
| `openai/gpt-image-1` |
|
|
304
310
|
| `openai/gpt-image-1-mini` |
|
|
305
311
|
| `openai/gpt-image-1.5` |
|
package/.docs/models/index.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Model Providers
|
|
6
6
|
|
|
7
|
-
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to
|
|
7
|
+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7552 models from 210 providers through a single API.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -34,12 +34,10 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
## Models
|
|
36
36
|
|
|
37
|
-
| Model
|
|
38
|
-
|
|
|
39
|
-
| `deepseek/deepseek-flash`
|
|
40
|
-
| `deepseek/deepseek-v4-
|
|
41
|
-
| `deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
42
|
-
| `deepseek/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| -------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `deepseek/deepseek-flash` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
40
|
+
| `deepseek/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
43
41
|
|
|
44
42
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
45
43
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Kilo Gateway
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 389 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Kilo Gateway documentation](https://kilo.ai).
|
|
10
10
|
|
|
@@ -42,23 +42,23 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `kilo/~anthropic/claude-haiku-latest` | 200K | | | | | | $1 | $5 |
|
|
43
43
|
| `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $4 | $20 |
|
|
44
44
|
| `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
|
|
45
|
-
| `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.
|
|
46
|
-
| `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.
|
|
47
|
-
| `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.03 | $
|
|
45
|
+
| `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.10 | $0.50 |
|
|
46
|
+
| `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.40 | $1 |
|
|
47
|
+
| `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.03 | $0.80 |
|
|
48
48
|
| `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
|
|
49
49
|
| `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
|
|
50
|
-
| `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $
|
|
50
|
+
| `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $1 | $14 |
|
|
51
51
|
| `kilo/~openai/gpt-astra-latest` | 1.1M | | | | | | $10 | $50 |
|
|
52
|
-
| `kilo/~openai/gpt-luna-latest` | 1.1M | | | | | | $0.
|
|
52
|
+
| `kilo/~openai/gpt-luna-latest` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
53
53
|
| `kilo/~openai/gpt-mini-latest` | 400K | | | | | | $0.75 | $5 |
|
|
54
54
|
| `kilo/~openai/gpt-sol-latest` | 1.1M | | | | | | $2 | $10 |
|
|
55
55
|
| `kilo/~openai/gpt-terra-latest` | 1.1M | | | | | | $2 | $12 |
|
|
56
56
|
| `kilo/~x-ai/grok-latest` | 500K | | | | | | $2 | $5 |
|
|
57
57
|
| `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.07 | $0.25 |
|
|
58
|
-
| `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.
|
|
59
|
-
| `kilo/aion-labs/aion-2.0` |
|
|
60
|
-
| `kilo/aion-labs/aion-3.0` |
|
|
61
|
-
| `kilo/aion-labs/aion-3.0-mini` |
|
|
58
|
+
| `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.56 | $2 |
|
|
59
|
+
| `kilo/aion-labs/aion-2.0` | 131K | | | | | | $0.80 | $2 |
|
|
60
|
+
| `kilo/aion-labs/aion-3.0` | 131K | | | | | | $3 | $6 |
|
|
61
|
+
| `kilo/aion-labs/aion-3.0-mini` | 131K | | | | | | $0.70 | $1 |
|
|
62
62
|
| `kilo/aion-labs/aion-rp-llama-3.1-8b` | 33K | | | | | | $0.80 | $2 |
|
|
63
63
|
| `kilo/amazon/nova-2-lite-v1` | 1.0M | | | | | | $0.30 | $3 |
|
|
64
64
|
| `kilo/amazon/nova-lite-v1` | 300K | | | | | | $0.06 | $0.24 |
|
|
@@ -92,6 +92,7 @@ for await (const chunk of stream) {
|
|
|
92
92
|
| `kilo/bytedance/ui-tars-1.5-7b` | 128K | | | | | | $0.10 | $0.20 |
|
|
93
93
|
| `kilo/cognitivecomputations/dolphin-mistral-24b-venice-edition` | 128K | | | | | | $0.20 | $0.90 |
|
|
94
94
|
| `kilo/cohere/command-a` | 256K | | | | | | $3 | $10 |
|
|
95
|
+
| `kilo/cohere/command-a-plus` | 192K | | | | | | $0.30 | $2 |
|
|
95
96
|
| `kilo/cohere/command-r-08-2024` | 128K | | | | | | $0.15 | $0.60 |
|
|
96
97
|
| `kilo/cohere/command-r-plus-08-2024` | 128K | | | | | | $3 | $10 |
|
|
97
98
|
| `kilo/cohere/command-r7b-12-2024` | 128K | | | | | | $0.04 | $0.15 |
|
|
@@ -275,6 +276,10 @@ for await (const chunk of stream) {
|
|
|
275
276
|
| `kilo/openai/gpt-5.6-terra-pro` | 1.1M | | | | | | $2 | $12 |
|
|
276
277
|
| `kilo/openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
|
|
277
278
|
| `kilo/openai/gpt-6-astra-pro` | 1.1M | | | | | | $10 | $50 |
|
|
279
|
+
| `kilo/openai/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
280
|
+
| `kilo/openai/gpt-6-luna-pro` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
281
|
+
| `kilo/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
282
|
+
| `kilo/openai/gpt-6-sol-pro` | 1.1M | | | | | | $2 | $10 |
|
|
278
283
|
| `kilo/openai/gpt-audio` | 128K | | | | | | $3 | $10 |
|
|
279
284
|
| `kilo/openai/gpt-audio-mini` | 128K | | | | | | $0.60 | $2 |
|
|
280
285
|
| `kilo/openai/gpt-chat-latest` | 400K | | | | | | $5 | $30 |
|
|
@@ -356,6 +361,7 @@ for await (const chunk of stream) {
|
|
|
356
361
|
| `kilo/qwen/qwen3.8-27b:free` | 262K | | | | | | — | — |
|
|
357
362
|
| `kilo/qwen/qwen3.8-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
358
363
|
| `kilo/qwen/qwen3.8-max-0902` | 1.0M | | | | | | $2 | $6 |
|
|
364
|
+
| `kilo/qwen/qwen3.8-omni-flash` | 1.0M | | | | | | $0.15 | $0.47 |
|
|
359
365
|
| `kilo/rekaai/reka-edge` | 16K | | | | | | $0.10 | $0.10 |
|
|
360
366
|
| `kilo/rekaai/reka-flash-3` | 66K | | | | | | $0.10 | $0.20 |
|
|
361
367
|
| `kilo/relace/relace-apply-3` | 256K | | | | | | $0.85 | $1 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# LLM Gateway
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 426 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [LLM Gateway documentation](https://llmgateway.io/docs).
|
|
10
10
|
|
|
@@ -76,6 +76,7 @@ for await (const chunk of stream) {
|
|
|
76
76
|
| `llmgateway-providers/anthropic/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
|
|
77
77
|
| `llmgateway-providers/anthropic/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
|
|
78
78
|
| `llmgateway-providers/anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
79
|
+
| `llmgateway-providers/anthropic/claude-opus-5-5` | 1.0M | | | | | | $4 | $20 |
|
|
79
80
|
| `llmgateway-providers/anthropic/claude-sonnet-4-5` | 200K | | | | | | $3 | $15 |
|
|
80
81
|
| `llmgateway-providers/anthropic/claude-sonnet-4-5-20250929` | 200K | | | | | | $3 | $15 |
|
|
81
82
|
| `llmgateway-providers/anthropic/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
|
|
@@ -350,6 +351,8 @@ for await (const chunk of stream) {
|
|
|
350
351
|
| `llmgateway-providers/openai/gpt-5.6-sol` | 1.1M | | | | | | $4 | $20 |
|
|
351
352
|
| `llmgateway-providers/openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
|
|
352
353
|
| `llmgateway-providers/openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
|
|
354
|
+
| `llmgateway-providers/openai/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
355
|
+
| `llmgateway-providers/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
353
356
|
| `llmgateway-providers/openai/o1` | 200K | | | | | | $15 | $60 |
|
|
354
357
|
| `llmgateway-providers/openai/o3` | 200K | | | | | | $2 | $8 |
|
|
355
358
|
| `llmgateway-providers/openai/o3-mini` | 200K | | | | | | $1 | $4 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# DevPass (LLM Gateway)
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 205 DevPass (LLM Gateway) models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [DevPass (LLM Gateway) documentation](https://llmgateway.io/docs).
|
|
10
10
|
|
|
@@ -50,6 +50,7 @@ for await (const chunk of stream) {
|
|
|
50
50
|
| `llmgateway/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
|
|
51
51
|
| `llmgateway/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
|
|
52
52
|
| `llmgateway/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
53
|
+
| `llmgateway/claude-opus-5-5` | 1.0M | | | | | | $4 | $20 |
|
|
53
54
|
| `llmgateway/claude-sonnet-4-5` | 200K | | | | | | $3 | $15 |
|
|
54
55
|
| `llmgateway/claude-sonnet-4-5-20250929` | 200K | | | | | | $3 | $15 |
|
|
55
56
|
| `llmgateway/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
|
|
@@ -129,6 +130,8 @@ for await (const chunk of stream) {
|
|
|
129
130
|
| `llmgateway/gpt-5.6-sol` | 1.1M | | | | | | $4 | $20 |
|
|
130
131
|
| `llmgateway/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
|
|
131
132
|
| `llmgateway/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
|
|
133
|
+
| `llmgateway/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
134
|
+
| `llmgateway/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
132
135
|
| `llmgateway/gpt-oss-120b` | 131K | | | | | | $0.03 | $0.14 |
|
|
133
136
|
| `llmgateway/gpt-oss-20b` | 131K | | | | | | $0.04 | $0.19 |
|
|
134
137
|
| `llmgateway/grok-4` | 256K | | | | | | $3 | $15 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# NanoGPT
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 586 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [NanoGPT documentation](https://docs.nano-gpt.com).
|
|
10
10
|
|
|
@@ -80,6 +80,7 @@ for await (const chunk of stream) {
|
|
|
80
80
|
| `nano-gpt/anthropic/claude-opus-4.8` | 1.0M | | | | | | $5 | $25 |
|
|
81
81
|
| `nano-gpt/anthropic/claude-opus-4.8:thinking` | 1.0M | | | | | | $5 | $25 |
|
|
82
82
|
| `nano-gpt/anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
83
|
+
| `nano-gpt/anthropic/claude-opus-5.5` | 1.0M | | | | | | $4 | $20 |
|
|
83
84
|
| `nano-gpt/anthropic/claude-opus-latest` | 1.0M | | | | | | $5 | $25 |
|
|
84
85
|
| `nano-gpt/anthropic/claude-sonnet-4` | 200K | | | | | | $3 | $15 |
|
|
85
86
|
| `nano-gpt/anthropic/claude-sonnet-4:thinking` | 1.0M | | | | | | $3 | $15 |
|
|
@@ -336,6 +337,7 @@ for await (const chunk of stream) {
|
|
|
336
337
|
| `nano-gpt/moonshotai/kimi-k3` | 1.0M | | | | | | $2 | $10 |
|
|
337
338
|
| `nano-gpt/moonshotai/kimi-latest` | 1.0M | | | | | | $2 | $10 |
|
|
338
339
|
| `nano-gpt/nano-gpt-help` | 6K | | | | | | — | — |
|
|
340
|
+
| `nano-gpt/nano/lumen-stealth` | 200K | | | | | | $0.05 | — |
|
|
339
341
|
| `nano-gpt/nanogpt/coding-router` | 1.0M | | | | | | $1 | $2 |
|
|
340
342
|
| `nano-gpt/nanogpt/coding-router:high` | 1.0M | | | | | | $1 | $2 |
|
|
341
343
|
| `nano-gpt/nanogpt/coding-router:low` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
@@ -389,6 +391,10 @@ for await (const chunk of stream) {
|
|
|
389
391
|
| `nano-gpt/openai/gpt-5.6-terra-pro` | 1.1M | | | | | | $2 | $12 |
|
|
390
392
|
| `nano-gpt/openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
|
|
391
393
|
| `nano-gpt/openai/gpt-6-astra-pro` | 1.1M | | | | | | $10 | $50 |
|
|
394
|
+
| `nano-gpt/openai/gpt-6-luna` | 1.1M | | | | | | $0.05 | $0.25 |
|
|
395
|
+
| `nano-gpt/openai/gpt-6-luna-pro` | 1.1M | | | | | | $0.05 | $0.25 |
|
|
396
|
+
| `nano-gpt/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
397
|
+
| `nano-gpt/openai/gpt-6-sol-pro` | 1.1M | | | | | | $2 | $10 |
|
|
392
398
|
| `nano-gpt/openai/gpt-astra-latest` | 1.1M | | | | | | $10 | $50 |
|
|
393
399
|
| `nano-gpt/openai/gpt-chat-latest` | 1.1M | | | | | | $2 | $10 |
|
|
394
400
|
| `nano-gpt/openai/gpt-latest` | 1.1M | | | | | | $10 | $50 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Ofox
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 145 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
|
|
|
@@ -46,6 +46,7 @@ for await (const chunk of stream) {
|
|
|
46
46
|
| `ofox/anthropic/claude-opus-4.7` | 1.0M | | | | | | $5 | $25 |
|
|
47
47
|
| `ofox/anthropic/claude-opus-4.8` | 1.0M | | | | | | $5 | $25 |
|
|
48
48
|
| `ofox/anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
49
|
+
| `ofox/anthropic/claude-opus-5.5` | 1.0M | | | | | | $4 | $20 |
|
|
49
50
|
| `ofox/anthropic/claude-sonnet-4.5` | 200K | | | | | | $3 | $15 |
|
|
50
51
|
| `ofox/anthropic/claude-sonnet-4.6` | 1.0M | | | | | | $3 | $15 |
|
|
51
52
|
| `ofox/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenAI
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 50 OpenAI models through Mastra's model router. Authentication is handled automatically using the `OPENAI_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenAI documentation](https://platform.openai.com/docs/models).
|
|
10
10
|
|
|
@@ -63,6 +63,8 @@ for await (const chunk of stream) {
|
|
|
63
63
|
| `openai/gpt-5.6-sol` | 1.1M | | | | | | $4 | $20 |
|
|
64
64
|
| `openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
|
|
65
65
|
| `openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
|
|
66
|
+
| `openai/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
67
|
+
| `openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
66
68
|
| `openai/gpt-image-1-mini` | — | | | | | | — | — |
|
|
67
69
|
| `openai/gpt-image-1.5` | — | | | | | | — | — |
|
|
68
70
|
| `openai/gpt-image-2` | — | | | | | | $5 | $30 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenCode Zen
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 109 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenCode Zen documentation](https://opencode.ai/docs/zen).
|
|
10
10
|
|
|
@@ -47,6 +47,7 @@ for await (const chunk of stream) {
|
|
|
47
47
|
| `opencode/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
|
|
48
48
|
| `opencode/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
|
|
49
49
|
| `opencode/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
50
|
+
| `opencode/claude-opus-5-5` | 1.0M | | | | | | $4 | $20 |
|
|
50
51
|
| `opencode/claude-sonnet-4` | 1.0M | | | | | | $3 | $15 |
|
|
51
52
|
| `opencode/claude-sonnet-4-5` | 1.0M | | | | | | $3 | $15 |
|
|
52
53
|
| `opencode/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
|
|
@@ -88,8 +89,11 @@ for await (const chunk of stream) {
|
|
|
88
89
|
| `opencode/gpt-5.6-sol` | 1.1M | | | | | | $4 | $20 |
|
|
89
90
|
| `opencode/gpt-5.6-terra` | 1.1M | | | | | | $3 | $15 |
|
|
90
91
|
| `opencode/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
|
|
92
|
+
| `opencode/gpt-6-luna` | 1.1M | | | | | | $0.10 | $0.50 |
|
|
93
|
+
| `opencode/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
91
94
|
| `opencode/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
92
95
|
| `opencode/grok-4.6` | 500K | | | | | | $2 | $6 |
|
|
96
|
+
| `opencode/grok-4.7` | 500K | | | | | | $1 | $4 |
|
|
93
97
|
| `opencode/grok-build-0.1` | 256K | | | | | | $1 | $2 |
|
|
94
98
|
| `opencode/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
|
|
95
99
|
| `opencode/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Requesty
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 155 Requesty models through Mastra's model router. Authentication is handled automatically using the `REQUESTY_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Requesty documentation](https://requesty.ai/solution/llm-routing/models).
|
|
10
10
|
|
|
@@ -54,6 +54,8 @@ for await (const chunk of stream) {
|
|
|
54
54
|
| `requesty/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
|
|
55
55
|
| `requesty/claude-opus-4-8@eu` | 1.0M | | | | | | $6 | $28 |
|
|
56
56
|
| `requesty/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
|
|
57
|
+
| `requesty/claude-opus-5-5` | 1.0M | | | | | | $5 | $25 |
|
|
58
|
+
| `requesty/claude-opus-5-5@eu` | 1.0M | | | | | | $6 | $28 |
|
|
57
59
|
| `requesty/claude-opus-5@eu` | 1.0M | | | | | | $6 | $28 |
|
|
58
60
|
| `requesty/claude-sonnet-4-5` | 1.0M | | | | | | $3 | $15 |
|
|
59
61
|
| `requesty/claude-sonnet-4-5@eu` | 1.0M | | | | | | $3 | $17 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# CoreWeave
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 29 CoreWeave models through Mastra's model router. Authentication is handled automatically using the `WANDB_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [CoreWeave documentation](https://docs.wandb.ai).
|
|
10
10
|
|
|
@@ -44,6 +44,7 @@ for await (const chunk of stream) {
|
|
|
44
44
|
| `wandb/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $1 | $3 |
|
|
45
45
|
| `wandb/deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
46
46
|
| `wandb/deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | | | | | | $0.20 | $0.65 |
|
|
47
|
+
| `wandb/google/gemma-4-26B-A4B-it` | 262K | | | | | | $0.10 | $0.30 |
|
|
47
48
|
| `wandb/google/gemma-4-31B-it` | 262K | | | | | | $0.10 | $0.34 |
|
|
48
49
|
| `wandb/ibm-granite/granite-4.1-8b` | 131K | | | | | | $0.05 | $0.10 |
|
|
49
50
|
| `wandb/ibm-granite/granite-4.2-8b` | 131K | | | | | | $0.10 | $0.15 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.2.28-alpha.
|
|
3
|
+
"version": "1.2.28-alpha.5",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
28
28
|
"local-pkg": "^1.1.2",
|
|
29
29
|
"zod": "^4.6.4",
|
|
30
|
-
"@mastra/core": "1.69.0-alpha.
|
|
30
|
+
"@mastra/core": "1.69.0-alpha.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@hono/node-server": "^2.0.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"vitest": "4.1.11",
|
|
45
45
|
"@internal/lint": "0.0.134",
|
|
46
46
|
"@internal/types-builder": "0.0.109",
|
|
47
|
-
"@mastra/core": "1.69.0-alpha.
|
|
47
|
+
"@mastra/core": "1.69.0-alpha.3"
|
|
48
48
|
},
|
|
49
49
|
"homepage": "https://mastra.ai",
|
|
50
50
|
"repository": {
|