@mastra/mcp-docs-server 1.2.4 → 1.2.5-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.
|
@@ -56,6 +56,7 @@ List of required environment variables for each model provider and gateway suppo
|
|
|
56
56
|
| [Inference](https://mastra.ai/models/providers/inference) | `inference/*` | `INFERENCE_API_KEY` |
|
|
57
57
|
| [IO.NET](https://mastra.ai/models/providers/io-net) | `io-net/*` | `IOINTELLIGENCE_API_KEY` |
|
|
58
58
|
| [Jiekou.AI](https://mastra.ai/models/providers/jiekou) | `jiekou/*` | `JIEKOU_API_KEY` |
|
|
59
|
+
| [Kenari](https://mastra.ai/models/providers/kenari) | `kenari/*` | `KENARI_API_KEY` |
|
|
59
60
|
| [Kilo Gateway](https://mastra.ai/models/providers/kilo) | `kilo/*` | `KILO_API_KEY` |
|
|
60
61
|
| [Kimi For Coding](https://mastra.ai/models/providers/kimi-for-coding) | `kimi-for-coding/*` | `KIMI_API_KEY` |
|
|
61
62
|
| [KUAE Cloud Coding Plan](https://mastra.ai/models/providers/kuae-cloud-coding-plan) | `kuae-cloud-coding-plan/*` | `KUAE_API_KEY` |
|
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 4542 models from 138 providers through a single API.
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
3
|
+
# Kenari
|
|
4
|
+
|
|
5
|
+
Access 23 Kenari models through Mastra's model router. Authentication is handled automatically using the `KENARI_API_KEY` environment variable.
|
|
6
|
+
|
|
7
|
+
Learn more in the [Kenari documentation](https://kenari.id/docs).
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
KENARI_API_KEY=your-api-key
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Agent } from "@mastra/core/agent";
|
|
15
|
+
|
|
16
|
+
const agent = new Agent({
|
|
17
|
+
id: "my-agent",
|
|
18
|
+
name: "My Agent",
|
|
19
|
+
instructions: "You are a helpful assistant",
|
|
20
|
+
model: "kenari/claude-opus-4-7"
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
// Generate a response
|
|
24
|
+
const response = await agent.generate("Hello!");
|
|
25
|
+
|
|
26
|
+
// Stream a response
|
|
27
|
+
const stream = await agent.stream("Tell me a story");
|
|
28
|
+
for await (const chunk of stream) {
|
|
29
|
+
console.log(chunk);
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
> **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Kenari documentation](https://kenari.id/docs) for details.
|
|
34
|
+
|
|
35
|
+
## Models
|
|
36
|
+
|
|
37
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
38
|
+
| ------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
39
|
+
| `kenari/claude-opus-4-7` | 1.0M | | | | | | — | — |
|
|
40
|
+
| `kenari/claude-opus-4-8` | 1.0M | | | | | | — | — |
|
|
41
|
+
| `kenari/claude-sonnet-4-6` | 1.0M | | | | | | — | — |
|
|
42
|
+
| `kenari/deepseek-v4-flash` | 1.0M | | | | | | — | — |
|
|
43
|
+
| `kenari/deepseek-v4-flash:free` | 1.0M | | | | | | — | — |
|
|
44
|
+
| `kenari/deepseek-v4-pro` | 1.0M | | | | | | — | — |
|
|
45
|
+
| `kenari/deepseek-v4-pro:free` | 1.0M | | | | | | — | — |
|
|
46
|
+
| `kenari/gemma-4-31b-it` | 262K | | | | | | — | — |
|
|
47
|
+
| `kenari/glm-5-1` | 200K | | | | | | — | — |
|
|
48
|
+
| `kenari/glm-5-2` | 1.0M | | | | | | — | — |
|
|
49
|
+
| `kenari/gpt-5-4-mini` | 400K | | | | | | — | — |
|
|
50
|
+
| `kenari/gpt-5-5` | 1.1M | | | | | | — | — |
|
|
51
|
+
| `kenari/gpt-image-2` | 272K | | | | | | — | — |
|
|
52
|
+
| `kenari/gpt-oss-120b` | 131K | | | | | | — | — |
|
|
53
|
+
| `kenari/gpt-oss-20b` | 131K | | | | | | — | — |
|
|
54
|
+
| `kenari/grok-4-3` | 1.0M | | | | | | — | — |
|
|
55
|
+
| `kenari/grok-build-0-1` | 256K | | | | | | — | — |
|
|
56
|
+
| `kenari/kimi-k2-6` | 262K | | | | | | — | — |
|
|
57
|
+
| `kenari/kimi-k2-7-code` | 262K | | | | | | — | — |
|
|
58
|
+
| `kenari/mimo-v2-5` | 1.0M | | | | | | — | — |
|
|
59
|
+
| `kenari/mimo-v2-5-pro` | 1.0M | | | | | | — | — |
|
|
60
|
+
| `kenari/minimax-m3` | 512K | | | | | | — | — |
|
|
61
|
+
| `kenari/qwen3-7-plus` | 1.0M | | | | | | — | — |
|
|
62
|
+
|
|
63
|
+
## Advanced configuration
|
|
64
|
+
|
|
65
|
+
### Custom headers
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
const agent = new Agent({
|
|
69
|
+
id: "custom-agent",
|
|
70
|
+
name: "custom-agent",
|
|
71
|
+
model: {
|
|
72
|
+
url: "https://kenari.id/v1",
|
|
73
|
+
id: "kenari/claude-opus-4-7",
|
|
74
|
+
apiKey: process.env.KENARI_API_KEY,
|
|
75
|
+
headers: {
|
|
76
|
+
"X-Custom-Header": "value"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Dynamic model selection
|
|
83
|
+
|
|
84
|
+
```typescript
|
|
85
|
+
const agent = new Agent({
|
|
86
|
+
id: "dynamic-agent",
|
|
87
|
+
name: "Dynamic Agent",
|
|
88
|
+
model: ({ requestContext }) => {
|
|
89
|
+
const useAdvanced = requestContext.task === "complex";
|
|
90
|
+
return useAdvanced
|
|
91
|
+
? "kenari/qwen3-7-plus"
|
|
92
|
+
: "kenari/claude-opus-4-7";
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Nvidia
|
|
4
4
|
|
|
5
|
-
Access
|
|
5
|
+
Access 83 Nvidia models through Mastra's model router. Authentication is handled automatically using the `NVIDIA_API_KEY` environment variable.
|
|
6
6
|
|
|
7
7
|
Learn more in the [Nvidia documentation](https://docs.api.nvidia.com/nim/).
|
|
8
8
|
|
|
@@ -119,7 +119,6 @@ for await (const chunk of stream) {
|
|
|
119
119
|
| `nvidia/stepfun-ai/step-3.5-flash` | 256K | | | | | | — | — |
|
|
120
120
|
| `nvidia/stepfun-ai/step-3.7-flash` | 256K | | | | | | — | — |
|
|
121
121
|
| `nvidia/upstage/solar-10_7b-instruct` | 128K | | | | | | — | — |
|
|
122
|
-
| `nvidia/z-ai/glm-5.1` | 131K | | | | | | — | — |
|
|
123
122
|
|
|
124
123
|
## Advanced configuration
|
|
125
124
|
|
|
@@ -149,7 +148,7 @@ const agent = new Agent({
|
|
|
149
148
|
model: ({ requestContext }) => {
|
|
150
149
|
const useAdvanced = requestContext.task === "complex";
|
|
151
150
|
return useAdvanced
|
|
152
|
-
? "nvidia/
|
|
151
|
+
? "nvidia/upstage/solar-10_7b-instruct"
|
|
153
152
|
: "nvidia/abacusai/dracarys-llama-3_1-70b-instruct";
|
|
154
153
|
}
|
|
155
154
|
});
|
|
@@ -57,6 +57,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
57
57
|
- [Inference](https://mastra.ai/models/providers/inference)
|
|
58
58
|
- [IO.NET](https://mastra.ai/models/providers/io-net)
|
|
59
59
|
- [Jiekou.AI](https://mastra.ai/models/providers/jiekou)
|
|
60
|
+
- [Kenari](https://mastra.ai/models/providers/kenari)
|
|
60
61
|
- [Kilo Gateway](https://mastra.ai/models/providers/kilo)
|
|
61
62
|
- [Kimi For Coding](https://mastra.ai/models/providers/kimi-for-coding)
|
|
62
63
|
- [KUAE Cloud Coding Plan](https://mastra.ai/models/providers/kuae-cloud-coding-plan)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.2.5-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`6ef59fe`](https://github.com/mastra-ai/mastra/commit/6ef59fef1da52ed8da5fbb2a892c71cf4fb6c739), [`e2b9f33`](https://github.com/mastra-ai/mastra/commit/e2b9f33456fd638eca555f9466c6519d8d049666)]:
|
|
8
|
+
- @mastra/core@1.50.0-alpha.0
|
|
9
|
+
|
|
3
10
|
## 1.2.4
|
|
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
|
+
"version": "1.2.5-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",
|
|
@@ -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.
|
|
31
|
+
"@mastra/core": "1.50.0-alpha.0",
|
|
32
32
|
"@mastra/mcp": "^1.13.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.111",
|
|
49
48
|
"@internal/types-builder": "0.0.86",
|
|
50
|
-
"@mastra/core": "1.
|
|
49
|
+
"@mastra/core": "1.50.0-alpha.0",
|
|
50
|
+
"@internal/lint": "0.0.111"
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://mastra.ai",
|
|
53
53
|
"repository": {
|