@mastra/mcp-docs-server 1.3.11-alpha.1 → 1.3.11-alpha.2

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.
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![OpenRouter logo](https://models.dev/logos/openrouter.svg)OpenRouter
6
6
 
7
- OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 382 models through Mastra's model router.
7
+ OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 381 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
10
10
 
@@ -388,7 +388,6 @@ ANTHROPIC_API_KEY=ant-...
388
388
  | `unbiased/pareto-26.9` |
389
389
  | `undi95/remm-slerp-l2-13b` |
390
390
  | `upstage/solar-mini4` |
391
- | `upstage/solar-pro-3` |
392
391
  | `upstage/solar-pro4` |
393
392
  | `writer/palmyra-x5` |
394
393
  | `x-ai/grok-4.20` |
@@ -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 8212 models from 221 providers through a single API.
7
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 8218 models from 221 providers through a single API.
8
8
 
9
9
  ## Features
10
10
 
@@ -38,7 +38,7 @@ for await (const chunk of stream) {
38
38
 
39
39
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
40
  | ---------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
- | `inceptron/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.13 | $0.37 |
41
+ | `inceptron/deepseek-ai/DeepSeek-V4-Flash-0731` | 1.0M | | | | | | $0.13 | $0.41 |
42
42
  | `inceptron/moonshotai/Kimi-K2.6` | 262K | | | | | | $0.62 | $4 |
43
43
  | `inceptron/moonshotai/Kimi-K2.7-Code` | 262K | | | | | | $0.56 | $3 |
44
44
  | `inceptron/zai-org/GLM-5.2` | 1.0M | | | | | | $1 | $4 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Kilo Gateway logo](https://models.dev/logos/kilo.svg)Kilo Gateway
6
6
 
7
- Access 384 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
7
+ Access 383 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,9 +42,9 @@ for await (const chunk of stream) {
42
42
  | `kilo/~anthropic/claude-haiku-latest` | 1.0M | | | | | | $0.10 | $0.50 |
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.02 | $2 |
45
+ | `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.04 | $0.50 |
46
46
  | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.10 | $8 |
47
- | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.06 | $0.13 |
47
+ | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.05 | $0.15 |
48
48
  | `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
49
49
  | `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $10 |
50
50
  | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.18 | $9 |
@@ -192,7 +192,7 @@ for await (const chunk of stream) {
192
192
  | `kilo/mistralai/mistral-large` | 128K | | | | | | $2 | $6 |
193
193
  | `kilo/mistralai/mistral-large-2407` | 131K | | | | | | $2 | $6 |
194
194
  | `kilo/mistralai/mistral-large-2512` | 262K | | | | | | $0.50 | $2 |
195
- | `kilo/mistralai/mistral-large-4-0` | 1.0M | | | | | | $1 | $4 |
195
+ | `kilo/mistralai/mistral-large-4-0` | 1.0M | | | | | | $0.70 | $2 |
196
196
  | `kilo/mistralai/mistral-medium-3` | 131K | | | | | | $0.40 | $2 |
197
197
  | `kilo/mistralai/mistral-medium-3-5` | 262K | | | | | | $2 | $8 |
198
198
  | `kilo/mistralai/mistral-medium-3.1` | 131K | | | | | | $0.40 | $2 |
@@ -366,9 +366,9 @@ for await (const chunk of stream) {
366
366
  | `kilo/tencent/hy-mt2-1.8b` | 8K | | | | | | $0.04 | $0.18 |
367
367
  | `kilo/tencent/hy-mt2-30b-a3b` | 8K | | | | | | $0.07 | $0.29 |
368
368
  | `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
369
- | `kilo/tencent/hy3` | 262K | | | | | | $0.13 | $0.53 |
369
+ | `kilo/tencent/hy3` | 262K | | | | | | $0.08 | $0.33 |
370
370
  | `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
371
- | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
371
+ | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.75 | $2 |
372
372
  | `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
373
373
  | `kilo/thedrummer/skyfall-36b-v2` | 33K | | | | | | $0.55 | $0.80 |
374
374
  | `kilo/thedrummer/unslopnemo-12b` | 1.0M | | | | | | $0.40 | $0.40 |
@@ -378,7 +378,6 @@ for await (const chunk of stream) {
378
378
  | `kilo/unbiased/pareto-26.9` | 262K | | | | | | $3 | $8 |
379
379
  | `kilo/undi95/remm-slerp-l2-13b` | 6K | | | | | | $0.35 | $0.65 |
380
380
  | `kilo/upstage/solar-mini4` | 524K | | | | | | $0.10 | $0.40 |
381
- | `kilo/upstage/solar-pro-3` | 131K | | | | | | $0.15 | $0.60 |
382
381
  | `kilo/upstage/solar-pro4` | 524K | | | | | | $0.30 | $1 |
383
382
  | `kilo/writer/palmyra-x5` | 1.0M | | | | | | $0.60 | $6 |
384
383
  | `kilo/x-ai/grok-4.20` | 2.0M | | | | | | $1 | $3 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![LLM Gateway logo](https://models.dev/logos/llmgateway-providers.svg)LLM Gateway
6
6
 
7
- Access 410 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
7
+ Access 418 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
 
@@ -202,7 +202,6 @@ for await (const chunk of stream) {
202
202
  | `llmgateway-providers/deepinfra/qwen3.5-9b` | 262K | | | | | | $0.10 | $0.15 |
203
203
  | `llmgateway-providers/deepseek/deepseek-v4-pro` | 1.1M | | | | | | $0.66 | $2 |
204
204
  | `llmgateway-providers/deepseek/deepseek-v4.1-flash-1017` | 1.1M | | | | | | $0.15 | $0.60 |
205
- | `llmgateway-providers/entrim/deepseek-v4.1-flash` | 1.0M | | | | | | $0.20 | $0.60 |
206
205
  | `llmgateway-providers/entrim/deepseek-v4.1-flash-1017` | 1.0M | | | | | | $0.20 | $0.80 |
207
206
  | `llmgateway-providers/entrim/glm-5.3` | 1.0M | | | | | | $0.50 | $2 |
208
207
  | `llmgateway-providers/entrim/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.35 |
@@ -380,12 +379,17 @@ for await (const chunk of stream) {
380
379
  | `llmgateway-providers/scx-ai/gpt-oss-120b` | 131K | | | | | | $0.17 | $0.55 |
381
380
  | `llmgateway-providers/scx-ai/minimax-m2.7` | 197K | | | | | | $0.48 | $2 |
382
381
  | `llmgateway-providers/scx-ai/qwen3-32b` | 33K | | | | | | $0.36 | $0.87 |
383
- | `llmgateway-providers/tencent/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
384
- | `llmgateway-providers/tencent/deepseek-v4-pro` | 1.0M | | | | | | $0.43 | $0.87 |
382
+ | `llmgateway-providers/tencent/deepseek-v4-flash` | 1.0M | | | | | | $0.15 | $0.60 |
383
+ | `llmgateway-providers/tencent/deepseek-v4-pro` | 1.0M | | | | | | $0.66 | $2 |
384
+ | `llmgateway-providers/tencent/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
385
+ | `llmgateway-providers/tencent/deepseek-v4.1-flash-1017` | 1.0M | | | | | | $0.15 | $0.60 |
385
386
  | `llmgateway-providers/tencent/glm-5` | 200K | | | | | | $1 | $3 |
386
387
  | `llmgateway-providers/tencent/glm-5-turbo` | 200K | | | | | | $1 | $4 |
387
388
  | `llmgateway-providers/tencent/glm-5.1` | 200K | | | | | | $1 | $4 |
388
389
  | `llmgateway-providers/tencent/glm-5.2` | 1.0M | | | | | | $1 | $4 |
390
+ | `llmgateway-providers/tencent/glm-5.3` | 1.0M | | | | | | $1 | $4 |
391
+ | `llmgateway-providers/tencent/glm-5.3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
392
+ | `llmgateway-providers/tencent/glm-5.3-flashx` | 1.0M | | | | | | $0.37 | $1 |
389
393
  | `llmgateway-providers/tencent/glm-5v-turbo` | 200K | | | | | | $1 | $4 |
390
394
  | `llmgateway-providers/tencent/hy-mt2-plus` | 8K | | | | | | $0.07 | $0.29 |
391
395
  | `llmgateway-providers/tencent/hy3` | 262K | | | | | | $0.13 | $0.53 |
@@ -393,9 +397,13 @@ for await (const chunk of stream) {
393
397
  | `llmgateway-providers/tencent/kimi-k2.6` | 262K | | | | | | $0.86 | $4 |
394
398
  | `llmgateway-providers/tencent/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
395
399
  | `llmgateway-providers/tencent/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
400
+ | `llmgateway-providers/tencent/kimi-k2.8-preview` | 1.0M | | | | | | $1 | $4 |
396
401
  | `llmgateway-providers/tencent/kimi-k3` | 1.0M | | | | | | $3 | $15 |
402
+ | `llmgateway-providers/tencent/mimo-v2.6-flash` | 1.0M | | | | | | $0.14 | $0.28 |
403
+ | `llmgateway-providers/tencent/mimo-v2.6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
397
404
  | `llmgateway-providers/tencent/minimax-m2.7` | 200K | | | | | | $0.30 | $1 |
398
405
  | `llmgateway-providers/tencent/minimax-m3` | 1.0M | | | | | | $0.30 | $1 |
406
+ | `llmgateway-providers/tencent/step-5-preview` | 1.0M | | | | | | $1 | $3 |
399
407
  | `llmgateway-providers/together-ai/deepseek-v4-pro` | 1.0M | | | | | | $1 | $4 |
400
408
  | `llmgateway-providers/together-ai/deepseek-v4.1-flash` | 1.0M | | | | | | $0.30 | $1 |
401
409
  | `llmgateway-providers/together-ai/deepseek-v4.1-flash-1017` | 1.0M | | | | | | $0.30 | $1 |
@@ -137,7 +137,7 @@ for await (const chunk of stream) {
137
137
  | `nano-gpt/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $0.66 | $2 |
138
138
  | `nano-gpt/deepseek/deepseek-v4-pro-0813:thinking` | 1.0M | | | | | | $0.66 | $2 |
139
139
  | `nano-gpt/deepseek/deepseek-v4-pro:thinking` | 1.0M | | | | | | $0.70 | $1 |
140
- | `nano-gpt/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.09 | $0.25 |
140
+ | `nano-gpt/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.04 | $0.18 |
141
141
  | `nano-gpt/deepseek/deepseek-v4.1-flash-0910-uncensored` | 524K | | | | | | $0.33 | $1 |
142
142
  | `nano-gpt/deepseek/deepseek-v4.1-flash-0910-uncensored:thinking` | 524K | | | | | | $0.33 | $1 |
143
143
  | `nano-gpt/deepseek/deepseek-v4.1-flash-1017` | 1.0M | | | | | | $0.10 | $0.60 |
@@ -146,7 +146,7 @@ for await (const chunk of stream) {
146
146
  | `nano-gpt/deepseek/deepseek-v4.1-flash-1017:thinking` | 1.0M | | | | | | $0.10 | $0.60 |
147
147
  | `nano-gpt/deepseek/deepseek-v4.1-flash-uncensored` | 1.0M | | | | | | $0.33 | $1 |
148
148
  | `nano-gpt/deepseek/deepseek-v4.1-flash-uncensored:thinking` | 1.0M | | | | | | $0.33 | $1 |
149
- | `nano-gpt/deepseek/deepseek-v4.1-flash:thinking` | 1.0M | | | | | | $0.09 | $0.25 |
149
+ | `nano-gpt/deepseek/deepseek-v4.1-flash:thinking` | 1.0M | | | | | | $0.04 | $0.18 |
150
150
  | `nano-gpt/Doctor-Shotgun/MS3.2-24B-Magnum-Diamond` | 33K | | | | | | $0.49 | $0.49 |
151
151
  | `nano-gpt/doubao-seed-2-0-code-preview-260215` | 256K | | | | | | $0.78 | $4 |
152
152
  | `nano-gpt/doubao-seed-2-0-lite-260215` | 256K | | | | | | $0.25 | $2 |
@@ -583,7 +583,7 @@ for await (const chunk of stream) {
583
583
  | `nano-gpt/TEE/qwen3.6-35b-a3b` | 262K | | | | | | $0.20 | $1 |
584
584
  | `nano-gpt/TEE/qwen3.8-27b` | 262K | | | | | | $0.40 | $3 |
585
585
  | `nano-gpt/tencent/hy3` | 262K | | | | | | $0.07 | $0.26 |
586
- | `nano-gpt/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
586
+ | `nano-gpt/tencent/hy4-preview` | 1.0M | | | | | | $0.75 | $2 |
587
587
  | `nano-gpt/TheDrummer/Anubis-70B-v1` | 66K | | | | | | $0.31 | $0.31 |
588
588
  | `nano-gpt/TheDrummer/Anubis-70B-v1.1` | 32K | | | | | | $0.31 | $0.31 |
589
589
  | `nano-gpt/TheDrummer/Artemis-v1.1` | 262K | | | | | | $0.10 | $0.45 |
@@ -658,8 +658,8 @@ for await (const chunk of stream) {
658
658
  | `nano-gpt/z-ai/glm-5:thinking` | 200K | | | | | | $0.60 | $2 |
659
659
  | `nano-gpt/z-ai/glm-5.1` | 200K | | | | | | $0.70 | $3 |
660
660
  | `nano-gpt/z-ai/glm-5.1:thinking` | 200K | | | | | | $0.70 | $3 |
661
- | `nano-gpt/z-ai/glm-5.2` | 1.0M | | | | | | $0.23 | $2 |
662
- | `nano-gpt/z-ai/glm-5.2:thinking` | 1.0M | | | | | | $0.23 | $2 |
661
+ | `nano-gpt/z-ai/glm-5.2` | 1.0M | | | | | | $0.18 | $2 |
662
+ | `nano-gpt/z-ai/glm-5.2:thinking` | 1.0M | | | | | | $0.18 | $2 |
663
663
  | `nano-gpt/z-ai/glm-5.3` | 1.0M | | | | | | $0.60 | $1 |
664
664
  | `nano-gpt/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.30 |
665
665
  | `nano-gpt/z-ai/glm-5.3-flash-apex` | 1.0M | | | | | | $0.15 | $0.50 |
@@ -74,7 +74,6 @@ for await (const chunk of stream) {
74
74
  | `nvidia/qwen/qwen-image` | — | | | | | | — | — |
75
75
  | `nvidia/qwen/qwen-image-edit` | — | | | | | | — | — |
76
76
  | `nvidia/stepfun-ai/step-5-preview` | 1.0M | | | | | | — | — |
77
- | `nvidia/z-ai/glm-5.3` | 1.0M | | | | | | — | — |
78
77
  | `nvidia/z-ai/glm-5.3-flash` | 1.0M | | | | | | — | — |
79
78
 
80
79
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
@@ -40,7 +40,7 @@ for await (const chunk of stream) {
40
40
  | ---------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
41
  | `scaleway/bge-multilingual-gemma2` | 8K | | | | | | $0.11 | — |
42
42
  | `scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.47 | $0.94 |
43
- | `scaleway/deepseek-v4.1-flash` | 256K | | | | | | $0.67 | $2 |
43
+ | `scaleway/deepseek-v4.1-flash-1017` | 256K | | | | | | $0.67 | $2 |
44
44
  | `scaleway/gemma-4-26b-a4b-it` | 256K | | | | | | $0.28 | $0.56 |
45
45
  | `scaleway/glm-5.2` | 256K | | | | | | $2 | $6 |
46
46
  | `scaleway/glm-5.3` | 256K | | | | | | $2 | $6 |
@@ -49,6 +49,20 @@ new LocalFactorySandbox() // reads MASTRACODE_LOCAL_SANDBOX_ROOT, defaults to ~/
49
49
 
50
50
  `LocalFactorySandbox` runs every session on the host machine under `join(root, sessionId)`. Without `env`, commands only see an allow-list of host variables that git and TLS need, such as `HOME`, `USER`, `SHELL` and `SSL_CERT_FILE`, plus `PATH`. App secrets stay out of commands that run in repository checkouts.
51
51
 
52
+ ### Scope env to one factory
53
+
54
+ Every provider's `env` option takes a record or a function of the session's `FactorySandboxContext`. Use the function form when one deployment hosts several factories and a credential belongs to only one of them:
55
+
56
+ ```typescript
57
+ new PlatformFactorySandbox({
58
+ env: ctx => (ctx.factoryId === PLATFORM_FACTORY_ID ? { PLATFORM_TOKEN } : {}),
59
+ })
60
+ ```
61
+
62
+ Compare `factoryId`, not `factoryName`: names can be edited and aren't unique.
63
+
64
+ Platform and Docker apply `env` only when they provision a sandbox. A sandbox that resumes keeps the environment it started with. If you remove a credential from some factories, recreate their running sandboxes so the credential doesn't stay in them.
65
+
52
66
  ## Default sandbox
53
67
 
54
68
  When you omit the `sandbox` option and Platform credentials (`MASTRA_PLATFORM_ACCESS_TOKEN` or `MASTRA_PLATFORM_SECRET_KEY`) are set, `MastraFactory` installs a sandbox itself:
@@ -146,6 +160,10 @@ Everything Factory knows about the session, passed to `create`, `template` and t
146
160
 
147
161
  **sandboxId** (`string`): The provider sandbox id persisted from a prior start. Forward it so resume reattaches the original VM.
148
162
 
163
+ **factoryId** (`string`): Id of the factory the session belongs to. Absent for sessions created before factories.
164
+
165
+ **factoryName** (`string`): Display name of the factory, for logs and readable config. Names can be edited and two factories can share one, so scope secrets by factoryId.
166
+
149
167
  **repoFullName** (`string`): owner/name of the session repository.
150
168
 
151
169
  **setupCommand** (`string`): The repository setup command, part of the template identity.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.3.11-alpha.1",
3
+ "version": "1.3.11-alpha.2",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "@mastra/mcp-legacy": "npm:@mastra/mcp@^1.18.0",
27
27
  "local-pkg": "^1.2.1",
28
28
  "zod": "^4.6.7",
29
- "@mastra/core": "1.81.0-alpha.0",
29
+ "@mastra/core": "1.81.0-alpha.1",
30
30
  "@mastra/mcp": "^2.6.0"
31
31
  },
32
32
  "devDependencies": {
@@ -44,7 +44,7 @@
44
44
  "vitest": "4.1.12",
45
45
  "@internal/lint": "0.0.146",
46
46
  "@internal/types-builder": "0.0.121",
47
- "@mastra/core": "1.81.0-alpha.0"
47
+ "@mastra/core": "1.81.0-alpha.1"
48
48
  },
49
49
  "homepage": "https://mastra.ai",
50
50
  "repository": {