@mastra/mcp-docs-server 1.1.37-alpha.5 → 1.1.38-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/index.md +1 -1
- package/.docs/models/providers/atomic-chat.md +75 -0
- package/.docs/models/providers/gmicloud.md +78 -0
- package/.docs/models/providers/minimax-cn-coding-plan.md +4 -4
- package/.docs/models/providers/minimax-coding-plan.md +4 -4
- package/.docs/models/providers/opencode.md +3 -2
- package/.docs/models/providers.md +4 -2
- package/CHANGELOG.md +14 -0
- package/package.json +5 -5
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 3962 models from 117 providers through a single API.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Atomic Chat
|
|
2
|
+
|
|
3
|
+
Access 5 Atomic Chat models through Mastra's model router. Authentication is handled automatically using the `ATOMIC_CHAT_API_KEY` environment variable.
|
|
4
|
+
|
|
5
|
+
Learn more in the [Atomic Chat documentation](https://atomic.chat).
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
ATOMIC_CHAT_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: "atomic-chat/Meta-Llama-3_1-8B-Instruct-GGUF"
|
|
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 [Atomic Chat documentation](https://atomic.chat) for details.
|
|
32
|
+
|
|
33
|
+
## Models
|
|
34
|
+
|
|
35
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
|
+
| --------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `atomic-chat/gemma-4-E4B-it-IQ4_XS` | 33K | | | | | | — | — |
|
|
38
|
+
| `atomic-chat/gemma-4-E4B-it-MLX-4bit` | 33K | | | | | | — | — |
|
|
39
|
+
| `atomic-chat/Meta-Llama-3_1-8B-Instruct-GGUF` | 131K | | | | | | — | — |
|
|
40
|
+
| `atomic-chat/Qwen3_5-9B-MLX-4bit` | 33K | | | | | | — | — |
|
|
41
|
+
| `atomic-chat/Qwen3_5-9B-Q4_K_M` | 33K | | | | | | — | — |
|
|
42
|
+
|
|
43
|
+
## Advanced configuration
|
|
44
|
+
|
|
45
|
+
### Custom headers
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
const agent = new Agent({
|
|
49
|
+
id: "custom-agent",
|
|
50
|
+
name: "custom-agent",
|
|
51
|
+
model: {
|
|
52
|
+
url: "http://127.0.0.1:1337/v1",
|
|
53
|
+
id: "atomic-chat/Meta-Llama-3_1-8B-Instruct-GGUF",
|
|
54
|
+
apiKey: process.env.ATOMIC_CHAT_API_KEY,
|
|
55
|
+
headers: {
|
|
56
|
+
"X-Custom-Header": "value"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Dynamic model selection
|
|
63
|
+
|
|
64
|
+
```typescript
|
|
65
|
+
const agent = new Agent({
|
|
66
|
+
id: "dynamic-agent",
|
|
67
|
+
name: "Dynamic Agent",
|
|
68
|
+
model: ({ requestContext }) => {
|
|
69
|
+
const useAdvanced = requestContext.task === "complex";
|
|
70
|
+
return useAdvanced
|
|
71
|
+
? "atomic-chat/gemma-4-E4B-it-MLX-4bit"
|
|
72
|
+
: "atomic-chat/Meta-Llama-3_1-8B-Instruct-GGUF";
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
```
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# GMI Cloud
|
|
2
|
+
|
|
3
|
+
Access 8 GMI Cloud models through Mastra's model router. Authentication is handled automatically using the `GMICLOUD_API_KEY` environment variable.
|
|
4
|
+
|
|
5
|
+
Learn more in the [GMI Cloud documentation](https://docs.gmicloud.ai).
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
GMICLOUD_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: "gmicloud/anthropic/claude-opus-4.6"
|
|
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 [GMI Cloud documentation](https://docs.gmicloud.ai) for details.
|
|
32
|
+
|
|
33
|
+
## Models
|
|
34
|
+
|
|
35
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
36
|
+
| ---------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
37
|
+
| `gmicloud/anthropic/claude-opus-4.6` | 410K | | | | | | $5 | $25 |
|
|
38
|
+
| `gmicloud/anthropic/claude-opus-4.7` | 410K | | | | | | $5 | $23 |
|
|
39
|
+
| `gmicloud/anthropic/claude-sonnet-4.6` | 410K | | | | | | $3 | $15 |
|
|
40
|
+
| `gmicloud/deepseek-ai/DeepSeek-V4-Flash` | 1.0M | | | | | | $0.11 | $0.22 |
|
|
41
|
+
| `gmicloud/deepseek-ai/DeepSeek-V4-Pro` | 1.0M | | | | | | $1 | $3 |
|
|
42
|
+
| `gmicloud/moonshotai/Kimi-K2.6` | 66K | | | | | | $0.85 | $4 |
|
|
43
|
+
| `gmicloud/zai-org/GLM-5-FP8` | 203K | | | | | | $0.60 | $2 |
|
|
44
|
+
| `gmicloud/zai-org/GLM-5.1-FP8` | 203K | | | | | | $0.98 | $3 |
|
|
45
|
+
|
|
46
|
+
## Advanced configuration
|
|
47
|
+
|
|
48
|
+
### Custom headers
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
const agent = new Agent({
|
|
52
|
+
id: "custom-agent",
|
|
53
|
+
name: "custom-agent",
|
|
54
|
+
model: {
|
|
55
|
+
url: "https://api.gmi-serving.com/v1",
|
|
56
|
+
id: "gmicloud/anthropic/claude-opus-4.6",
|
|
57
|
+
apiKey: process.env.GMICLOUD_API_KEY,
|
|
58
|
+
headers: {
|
|
59
|
+
"X-Custom-Header": "value"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Dynamic model selection
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
const agent = new Agent({
|
|
69
|
+
id: "dynamic-agent",
|
|
70
|
+
name: "Dynamic Agent",
|
|
71
|
+
model: ({ requestContext }) => {
|
|
72
|
+
const useAdvanced = requestContext.task === "complex";
|
|
73
|
+
return useAdvanced
|
|
74
|
+
? "gmicloud/zai-org/GLM-5.1-FP8"
|
|
75
|
+
: "gmicloud/anthropic/claude-opus-4.6";
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
```
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# MiniMax Token Plan (minimaxi.com)
|
|
2
2
|
|
|
3
|
-
Access 6 MiniMax
|
|
3
|
+
Access 6 MiniMax Token Plan (minimaxi.com) models through Mastra's model router. Authentication is handled automatically using the `MINIMAX_API_KEY` environment variable.
|
|
4
4
|
|
|
5
|
-
Learn more in the [MiniMax
|
|
5
|
+
Learn more in the [MiniMax Token Plan (minimaxi.com) documentation](https://platform.minimaxi.com/docs/token-plan/intro).
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
MINIMAX_API_KEY=your-api-key
|
|
@@ -28,7 +28,7 @@ for await (const chunk of stream) {
|
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
> **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [MiniMax
|
|
31
|
+
> **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [MiniMax Token Plan (minimaxi.com) documentation](https://platform.minimaxi.com/docs/token-plan/intro) for details.
|
|
32
32
|
|
|
33
33
|
## Models
|
|
34
34
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# MiniMax Token Plan (minimax.io)
|
|
2
2
|
|
|
3
|
-
Access 6 MiniMax
|
|
3
|
+
Access 6 MiniMax Token Plan (minimax.io) models through Mastra's model router. Authentication is handled automatically using the `MINIMAX_API_KEY` environment variable.
|
|
4
4
|
|
|
5
|
-
Learn more in the [MiniMax
|
|
5
|
+
Learn more in the [MiniMax Token Plan (minimax.io) documentation](https://platform.minimax.io/docs/token-plan/intro).
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
MINIMAX_API_KEY=your-api-key
|
|
@@ -28,7 +28,7 @@ for await (const chunk of stream) {
|
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
> **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [MiniMax
|
|
31
|
+
> **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [MiniMax Token Plan (minimax.io) documentation](https://platform.minimax.io/docs/token-plan/intro) for details.
|
|
32
32
|
|
|
33
33
|
## Models
|
|
34
34
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OpenCode Zen
|
|
2
2
|
|
|
3
|
-
Access
|
|
3
|
+
Access 40 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
|
|
|
@@ -73,6 +73,7 @@ for await (const chunk of stream) {
|
|
|
73
73
|
| `opencode/nemotron-3-super-free` | 205K | | | | | | — | — |
|
|
74
74
|
| `opencode/qwen3.5-plus` | 262K | | | | | | $0.20 | $1 |
|
|
75
75
|
| `opencode/qwen3.6-plus` | 262K | | | | | | $0.50 | $3 |
|
|
76
|
+
| `opencode/qwen3.6-plus-free` | 262K | | | | | | — | — |
|
|
76
77
|
|
|
77
78
|
## Advanced configuration
|
|
78
79
|
|
|
@@ -102,7 +103,7 @@ const agent = new Agent({
|
|
|
102
103
|
model: ({ requestContext }) => {
|
|
103
104
|
const useAdvanced = requestContext.task === "complex";
|
|
104
105
|
return useAdvanced
|
|
105
|
-
? "opencode/qwen3.6-plus"
|
|
106
|
+
? "opencode/qwen3.6-plus-free"
|
|
106
107
|
: "opencode/big-pickle";
|
|
107
108
|
}
|
|
108
109
|
});
|
|
@@ -17,6 +17,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
17
17
|
- [Alibaba Coding Plan](https://mastra.ai/models/providers/alibaba-coding-plan)
|
|
18
18
|
- [Alibaba Coding Plan (China)](https://mastra.ai/models/providers/alibaba-coding-plan-cn)
|
|
19
19
|
- [Ambient](https://mastra.ai/models/providers/ambient)
|
|
20
|
+
- [Atomic Chat](https://mastra.ai/models/providers/atomic-chat)
|
|
20
21
|
- [Auriko](https://mastra.ai/models/providers/auriko)
|
|
21
22
|
- [Bailing](https://mastra.ai/models/providers/bailing)
|
|
22
23
|
- [Baseten](https://mastra.ai/models/providers/baseten)
|
|
@@ -40,6 +41,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
40
41
|
- [Friendli](https://mastra.ai/models/providers/friendli)
|
|
41
42
|
- [FrogBot](https://mastra.ai/models/providers/frogbot)
|
|
42
43
|
- [GitHub Models](https://mastra.ai/models/providers/github-models)
|
|
44
|
+
- [GMI Cloud](https://mastra.ai/models/providers/gmicloud)
|
|
43
45
|
- [Helicone](https://mastra.ai/models/providers/helicone)
|
|
44
46
|
- [HPC-AI](https://mastra.ai/models/providers/hpc-ai)
|
|
45
47
|
- [Hugging Face](https://mastra.ai/models/providers/huggingface)
|
|
@@ -58,8 +60,8 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
58
60
|
- [Meganova](https://mastra.ai/models/providers/meganova)
|
|
59
61
|
- [MiniMax (minimax.io)](https://mastra.ai/models/providers/minimax)
|
|
60
62
|
- [MiniMax (minimaxi.com)](https://mastra.ai/models/providers/minimax-cn)
|
|
61
|
-
- [MiniMax
|
|
62
|
-
- [MiniMax
|
|
63
|
+
- [MiniMax Token Plan (minimax.io)](https://mastra.ai/models/providers/minimax-coding-plan)
|
|
64
|
+
- [MiniMax Token Plan (minimaxi.com)](https://mastra.ai/models/providers/minimax-cn-coding-plan)
|
|
63
65
|
- [Mixlayer](https://mastra.ai/models/providers/mixlayer)
|
|
64
66
|
- [Moark](https://mastra.ai/models/providers/moark)
|
|
65
67
|
- [ModelScope](https://mastra.ai/models/providers/modelscope)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.1.38-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b661349`](https://github.com/mastra-ai/mastra/commit/b661349281514691db78941a9044e6e4f1cde7a7)]:
|
|
8
|
+
- @mastra/core@1.34.1-alpha.0
|
|
9
|
+
|
|
10
|
+
## 1.1.37
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`20787de`](https://github.com/mastra-ai/mastra/commit/20787de5965234a1af28fe35f49437c537dbfa0d), [`784ad98`](https://github.com/mastra-ai/mastra/commit/784ad989549de91dc5d33ab8ef36caa6f7dcd34e), [`fceae1f`](https://github.com/mastra-ai/mastra/commit/fceae1f5f5db4722cb078a663c6eb4bd22944123), [`090a647`](https://github.com/mastra-ai/mastra/commit/090a647ba5a66d36f203f9f49457e03a1ff4e6fb), [`bf02acb`](https://github.com/mastra-ai/mastra/commit/bf02acbb8a6110f638ac844e89f1ebf04cb7fe74), [`090a647`](https://github.com/mastra-ai/mastra/commit/090a647ba5a66d36f203f9f49457e03a1ff4e6fb), [`bdb4cbf`](https://github.com/mastra-ai/mastra/commit/bdb4cbf8ba4b685d7481f28bb9dc3de6c79c9ed2), [`0fd3fbe`](https://github.com/mastra-ai/mastra/commit/0fd3fbe40fb63657aedd72f6e7b38c8e8ee6940d), [`f84447d`](https://github.com/mastra-ai/mastra/commit/f84447d6c80f3471836a9b300d246b331fb47e0d), [`a1a5b3e`](https://github.com/mastra-ai/mastra/commit/a1a5b3e42ab2ca5161ea21db59ebf28442680fa7), [`af84f57`](https://github.com/mastra-ai/mastra/commit/af84f571ed762e92e8e61c5f9a72363520914274), [`8b3c6f9`](https://github.com/mastra-ai/mastra/commit/8b3c6f90f7879833ba7d1bc70937e1d8f69d0804), [`fed0475`](https://github.com/mastra-ai/mastra/commit/fed0475ccfea31e4fc251469ac05640d0742c1f0), [`0d53730`](https://github.com/mastra-ai/mastra/commit/0d53730c1ed87ef80c87caa5701c4170ea8028e6), [`522f44d`](https://github.com/mastra-ai/mastra/commit/522f44d947214bfc06cff50599bae1ef3494880d)]:
|
|
15
|
+
- @mastra/core@1.34.0
|
|
16
|
+
|
|
3
17
|
## 1.1.37-alpha.5
|
|
4
18
|
|
|
5
19
|
### 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.38-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,7 +29,7 @@
|
|
|
29
29
|
"jsdom": "^26.1.0",
|
|
30
30
|
"local-pkg": "^1.1.2",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@mastra/core": "1.34.
|
|
32
|
+
"@mastra/core": "1.34.1-alpha.0",
|
|
33
33
|
"@mastra/mcp": "^1.7.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"tsx": "^4.21.0",
|
|
47
47
|
"typescript": "^6.0.3",
|
|
48
48
|
"vitest": "4.1.5",
|
|
49
|
-
"@internal/lint": "0.0.
|
|
50
|
-
"@internal/types-builder": "0.0.
|
|
51
|
-
"@mastra/core": "1.34.
|
|
49
|
+
"@internal/lint": "0.0.95",
|
|
50
|
+
"@internal/types-builder": "0.0.70",
|
|
51
|
+
"@mastra/core": "1.34.1-alpha.0"
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://mastra.ai",
|
|
54
54
|
"repository": {
|