@mastra/mcp-docs-server 1.2.3-alpha.15 → 1.2.3-alpha.16
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/netlify.md +3 -1
- package/.docs/models/gateways/openrouter.md +1 -2
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/anthropic.md +3 -2
- package/.docs/models/providers/deepinfra.md +2 -1
- package/.docs/models/providers/llmgateway.md +3 -3
- package/.docs/models/providers/opencode-go.md +1 -1
- package/.docs/models/providers/sakana.md +73 -0
- package/.docs/models/providers/zeldoc.md +1 -1
- package/.docs/models/providers.md +1 -0
- package/CHANGELOG.md +7 -0
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Netlify
|
|
2
2
|
|
|
3
|
-
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access
|
|
3
|
+
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 66 models through Mastra's model router.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Netlify documentation](https://docs.netlify.com/build/ai-gateway/overview/).
|
|
6
6
|
|
|
@@ -46,6 +46,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
46
46
|
| `anthropic/claude-sonnet-4-5` |
|
|
47
47
|
| `anthropic/claude-sonnet-4-5-20250929` |
|
|
48
48
|
| `anthropic/claude-sonnet-4-6` |
|
|
49
|
+
| `anthropic/claude-sonnet-5` |
|
|
49
50
|
| `gemini/gemini-2.5-flash` |
|
|
50
51
|
| `gemini/gemini-2.5-flash-image` |
|
|
51
52
|
| `gemini/gemini-2.5-flash-lite` |
|
|
@@ -54,6 +55,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
54
55
|
| `gemini/gemini-3-pro-image` |
|
|
55
56
|
| `gemini/gemini-3.1-flash-image` |
|
|
56
57
|
| `gemini/gemini-3.1-flash-lite` |
|
|
58
|
+
| `gemini/gemini-3.1-flash-lite-image` |
|
|
57
59
|
| `gemini/gemini-3.1-pro-preview` |
|
|
58
60
|
| `gemini/gemini-3.1-pro-preview-customtools` |
|
|
59
61
|
| `gemini/gemini-3.5-flash` |
|
|
@@ -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 335 models through Mastra's model router.
|
|
4
4
|
|
|
5
5
|
Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
|
|
6
6
|
|
|
@@ -270,7 +270,6 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
270
270
|
| `openrouter/bodybuilder` |
|
|
271
271
|
| `openrouter/free` |
|
|
272
272
|
| `openrouter/fusion` |
|
|
273
|
-
| `openrouter/owl-alpha` |
|
|
274
273
|
| `openrouter/pareto-code` |
|
|
275
274
|
| `perceptron/perceptron-mk1` |
|
|
276
275
|
| `perplexity/sonar` |
|
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 4488 models from 136 providers through a single API.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Anthropic
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 18 Anthropic models through Mastra's model router. Authentication is handled automatically using the `ANTHROPIC_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Anthropic documentation](https://docs.anthropic.com/en/docs/about-claude/models).
|
|
6
6
|
|
|
@@ -49,6 +49,7 @@ for await (const chunk of stream) {
|
|
|
49
49
|
| `anthropic/claude-sonnet-4-5` | 200K | | | | | | $3 | $15 |
|
|
50
50
|
| `anthropic/claude-sonnet-4-5-20250929` | 200K | | | | | | $3 | $15 |
|
|
51
51
|
| `anthropic/claude-sonnet-4-6` | 1.0M | | | | | | $3 | $15 |
|
|
52
|
+
| `anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
52
53
|
|
|
53
54
|
## Advanced configuration
|
|
54
55
|
|
|
@@ -77,7 +78,7 @@ const agent = new Agent({
|
|
|
77
78
|
model: ({ requestContext }) => {
|
|
78
79
|
const useAdvanced = requestContext.task === "complex";
|
|
79
80
|
return useAdvanced
|
|
80
|
-
? "anthropic/claude-sonnet-
|
|
81
|
+
? "anthropic/claude-sonnet-5"
|
|
81
82
|
: "anthropic/claude-fable-5";
|
|
82
83
|
}
|
|
83
84
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deep Infra
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 27 Deep Infra models through Mastra's model router. Authentication is handled automatically using the `DEEPINFRA_API_KEY` environment variable.
|
|
4
4
|
|
|
5
5
|
Learn more in the [Deep Infra documentation](https://deepinfra.com/models).
|
|
6
6
|
|
|
@@ -44,6 +44,7 @@ for await (const chunk of stream) {
|
|
|
44
44
|
| `deepinfra/MiniMaxAI/MiniMax-M2.5` | 197K | | | | | | $0.15 | $1 |
|
|
45
45
|
| `deepinfra/moonshotai/Kimi-K2.5` | 262K | | | | | | $0.45 | $2 |
|
|
46
46
|
| `deepinfra/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.75 | $4 |
|
|
47
|
+
| `deepinfra/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.74 | $4 |
|
|
47
48
|
| `deepinfra/openai/gpt-oss-120b` | 131K | | | | | | $0.04 | $0.19 |
|
|
48
49
|
| `deepinfra/openai/gpt-oss-20b` | 131K | | | | | | $0.03 | $0.14 |
|
|
49
50
|
| `deepinfra/Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo` | 262K | | | | | | $0.30 | $1 |
|
|
@@ -119,8 +119,8 @@ for await (const chunk of stream) {
|
|
|
119
119
|
| `llmgateway/grok-4-1-fast-reasoning` | 2.0M | | | | | | $0.20 | $0.50 |
|
|
120
120
|
| `llmgateway/grok-4-20-beta-0309-non-reasoning` | 2.0M | | | | | | $2 | $6 |
|
|
121
121
|
| `llmgateway/grok-4-20-beta-0309-reasoning` | 2.0M | | | | | | $2 | $6 |
|
|
122
|
-
| `llmgateway/grok-4-20-non-reasoning` | 2.0M | | | | | | $
|
|
123
|
-
| `llmgateway/grok-4-20-reasoning` | 2.0M | | | | | | $
|
|
122
|
+
| `llmgateway/grok-4-20-non-reasoning` | 2.0M | | | | | | $1 | $3 |
|
|
123
|
+
| `llmgateway/grok-4-20-reasoning` | 2.0M | | | | | | $1 | $3 |
|
|
124
124
|
| `llmgateway/grok-4-3` | 1.0M | | | | | | $1 | $3 |
|
|
125
125
|
| `llmgateway/grok-build-0-1` | 256K | | | | | | $1 | $2 |
|
|
126
126
|
| `llmgateway/kimi-k2` | 256K | | | | | | $0.57 | $2 |
|
|
@@ -188,7 +188,7 @@ for await (const chunk of stream) {
|
|
|
188
188
|
| `llmgateway/qwen3-coder-plus` | 1.0M | | | | | | $6 | $60 |
|
|
189
189
|
| `llmgateway/qwen3-max` | 262K | | | | | | $0.84 | $3 |
|
|
190
190
|
| `llmgateway/qwen3-max-2026-01-23` | 262K | | | | | | $1 | $6 |
|
|
191
|
-
| `llmgateway/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.15 | $
|
|
191
|
+
| `llmgateway/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.15 | $1 |
|
|
192
192
|
| `llmgateway/qwen3-next-80b-a3b-thinking` | 131K | | | | | | $0.15 | $1 |
|
|
193
193
|
| `llmgateway/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.30 | $2 |
|
|
194
194
|
| `llmgateway/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.50 | $2 |
|
|
@@ -43,7 +43,7 @@ for await (const chunk of stream) {
|
|
|
43
43
|
| `opencode-go/mimo-v2.5` | 1.0M | | | | | | $0.14 | $0.28 |
|
|
44
44
|
| `opencode-go/mimo-v2.5-pro` | 1.0M | | | | | | $2 | $3 |
|
|
45
45
|
| `opencode-go/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
46
|
-
| `opencode-go/minimax-m3` | 1.0M | | | | | | $0.
|
|
46
|
+
| `opencode-go/minimax-m3` | 1.0M | | | | | | $0.30 | $1 |
|
|
47
47
|
| `opencode-go/qwen3.6-plus` | 1.0M | | | | | | $0.50 | $3 |
|
|
48
48
|
| `opencode-go/qwen3.7-max` | 1.0M | | | | | | $3 | $8 |
|
|
49
49
|
| `opencode-go/qwen3.7-plus` | 1.0M | | | | | | $0.40 | $2 |
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Sakana AI
|
|
2
|
+
|
|
3
|
+
Access 3 Sakana AI models through Mastra's model router. Authentication is handled automatically using the `SAKANA_API_KEY` environment variable.
|
|
4
|
+
|
|
5
|
+
Learn more in the [Sakana AI documentation](https://console.sakana.ai/models).
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
SAKANA_API_KEY=your-api-key
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { Agent } from "@mastra/core/agent";
|
|
13
|
+
|
|
14
|
+
const agent = new Agent({
|
|
15
|
+
id: "my-agent",
|
|
16
|
+
name: "My Agent",
|
|
17
|
+
instructions: "You are a helpful assistant",
|
|
18
|
+
model: "sakana/fugu"
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
// Generate a response
|
|
22
|
+
const response = await agent.generate("Hello!");
|
|
23
|
+
|
|
24
|
+
// Stream a response
|
|
25
|
+
const stream = await agent.stream("Tell me a story");
|
|
26
|
+
for await (const chunk of stream) {
|
|
27
|
+
console.log(chunk);
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
> **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Sakana AI documentation](https://console.sakana.ai/models) for details.
|
|
32
|
+
|
|
33
|
+
## Models
|
|
34
|
+
|
|
35
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
|
+
| ---------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `sakana/fugu` | 1.0M | | | | | | — | — |
|
|
38
|
+
| `sakana/fugu-ultra` | 1.0M | | | | | | $5 | $30 |
|
|
39
|
+
| `sakana/fugu-ultra-20260615` | 1.0M | | | | | | $5 | $30 |
|
|
40
|
+
|
|
41
|
+
## Advanced configuration
|
|
42
|
+
|
|
43
|
+
### Custom headers
|
|
44
|
+
|
|
45
|
+
```typescript
|
|
46
|
+
const agent = new Agent({
|
|
47
|
+
id: "custom-agent",
|
|
48
|
+
name: "custom-agent",
|
|
49
|
+
model: {
|
|
50
|
+
url: "https://api.sakana.ai/v1",
|
|
51
|
+
id: "sakana/fugu",
|
|
52
|
+
apiKey: process.env.SAKANA_API_KEY,
|
|
53
|
+
headers: {
|
|
54
|
+
"X-Custom-Header": "value"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Dynamic model selection
|
|
61
|
+
|
|
62
|
+
```typescript
|
|
63
|
+
const agent = new Agent({
|
|
64
|
+
id: "dynamic-agent",
|
|
65
|
+
name: "Dynamic Agent",
|
|
66
|
+
model: ({ requestContext }) => {
|
|
67
|
+
const useAdvanced = requestContext.task === "complex";
|
|
68
|
+
return useAdvanced
|
|
69
|
+
? "sakana/fugu-ultra-20260615"
|
|
70
|
+
: "sakana/fugu";
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
```
|
|
@@ -34,7 +34,7 @@ for await (const chunk of stream) {
|
|
|
34
34
|
|
|
35
35
|
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
36
|
| --------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
-
| `zeldoc/z-code` |
|
|
37
|
+
| `zeldoc/z-code` | 1.0M | | | | | | — | — |
|
|
38
38
|
|
|
39
39
|
## Advanced configuration
|
|
40
40
|
|
|
@@ -98,6 +98,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
98
98
|
- [Regolo AI](https://mastra.ai/models/providers/regolo-ai)
|
|
99
99
|
- [Requesty](https://mastra.ai/models/providers/requesty)
|
|
100
100
|
- [routing.run](https://mastra.ai/models/providers/routing-run)
|
|
101
|
+
- [Sakana AI](https://mastra.ai/models/providers/sakana)
|
|
101
102
|
- [Sarvam AI](https://mastra.ai/models/providers/sarvam)
|
|
102
103
|
- [Scaleway](https://mastra.ai/models/providers/scaleway)
|
|
103
104
|
- [SiliconFlow](https://mastra.ai/models/providers/siliconflow)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.2.3-alpha.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`e84e791`](https://github.com/mastra-ai/mastra/commit/e84e79174031d7bc8793ca6c805eb38b06e7cfb1)]:
|
|
8
|
+
- @mastra/core@1.48.0-alpha.9
|
|
9
|
+
|
|
3
10
|
## 1.2.3-alpha.14
|
|
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.3-alpha.
|
|
3
|
+
"version": "1.2.3-alpha.16",
|
|
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.48.0-alpha.
|
|
31
|
+
"@mastra/core": "1.48.0-alpha.9",
|
|
32
32
|
"@mastra/mcp": "^1.12.1-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.109",
|
|
49
48
|
"@internal/types-builder": "0.0.84",
|
|
50
|
-
"@mastra/core": "1.48.0-alpha.
|
|
49
|
+
"@mastra/core": "1.48.0-alpha.9",
|
|
50
|
+
"@internal/lint": "0.0.109"
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://mastra.ai",
|
|
53
53
|
"repository": {
|