@mastra/mcp-docs-server 1.2.16-alpha.6 → 1.2.16-alpha.8

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Netlify
4
4
 
5
- Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 66 models through Mastra's model router.
5
+ Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 67 models through Mastra's model router.
6
6
 
7
7
  Learn more in the [Netlify documentation](https://docs.netlify.com/build/ai-gateway/overview/).
8
8
 
@@ -64,6 +64,7 @@ ANTHROPIC_API_KEY=ant-...
64
64
  | `gemini/gemini-3.5-flash` |
65
65
  | `gemini/gemini-3.5-flash-lite` |
66
66
  | `gemini/gemini-3.6-flash` |
67
+ | `gemini/gemini-3.7-flash` |
67
68
  | `gemini/gemini-flash-latest` |
68
69
  | `gemini/gemini-flash-lite-latest` |
69
70
  | `openai/chat-latest` |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![OpenRouter logo](https://models.dev/logos/openrouter.svg)OpenRouter
4
4
 
5
- OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 348 models through Mastra's model router.
5
+ OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 349 models through Mastra's model router.
6
6
 
7
7
  Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
8
8
 
@@ -125,6 +125,7 @@ ANTHROPIC_API_KEY=ant-...
125
125
  | `google/gemini-3.5-flash` |
126
126
  | `google/gemini-3.5-flash-lite` |
127
127
  | `google/gemini-3.6-flash` |
128
+ | `google/gemini-3.7-flash` |
128
129
  | `google/gemma-2-27b-it` |
129
130
  | `google/gemma-3-12b-it` |
130
131
  | `google/gemma-3-27b-it` |
@@ -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 5657 models from 171 providers through a single API.
5
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 5661 models from 171 providers through a single API.
6
6
 
7
7
  ## Features
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![CrossModel logo](https://models.dev/logos/crossmodel.svg)CrossModel
4
4
 
5
- Access 49 CrossModel models through Mastra's model router. Authentication is handled automatically using the `CROSSMODEL_API_KEY` environment variable.
5
+ Access 50 CrossModel models through Mastra's model router. Authentication is handled automatically using the `CROSSMODEL_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [CrossModel documentation](https://www.crossmodel.ai/docs).
8
8
 
@@ -77,6 +77,7 @@ for await (const chunk of stream) {
77
77
  | `crossmodel/tencent/hy3` | 262K | | | | | | $0.16 | $0.64 |
78
78
  | `crossmodel/x-ai/grok-4.3` | 1.0M | | | | | | $1 | $3 |
79
79
  | `crossmodel/x-ai/grok-4.5` | 500K | | | | | | $2 | $6 |
80
+ | `crossmodel/x-ai/grok-4.6` | 500K | | | | | | $2 | $6 |
80
81
  | `crossmodel/x-ai/grok-build-0.1` | 256K | | | | | | $1 | $2 |
81
82
  | `crossmodel/xiaomi/mimo-v2.5` | 1.0M | | | | | | $0.16 | $0.32 |
82
83
  | `crossmodel/xiaomi/mimo-v2.5-pro` | 1.0M | | | | | | $0.47 | $0.94 |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Google logo](https://models.dev/logos/google.svg)Google
4
4
 
5
- Access 38 Google models through Mastra's model router. Authentication is handled automatically using one of the following environment variables: `GOOGLE_API_KEY`, `GOOGLE_GENERATIVE_AI_API_KEY`.
5
+ Access 39 Google models through Mastra's model router. Authentication is handled automatically using one of the following environment variables: `GOOGLE_API_KEY`, `GOOGLE_GENERATIVE_AI_API_KEY`.
6
6
 
7
7
  Learn more in the [Google documentation](https://ai.google.dev/gemini-api/docs/models).
8
8
 
@@ -59,6 +59,7 @@ for await (const chunk of stream) {
59
59
  | `google/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
60
60
  | `google/gemini-3.5-live-translate-preview` | 16K | | | | | | $4 | $21 |
61
61
  | `google/gemini-3.6-flash` | 1.0M | | | | | | $2 | $8 |
62
+ | `google/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
62
63
  | `google/gemini-embedding-001` | 2K | | | | | | $0.15 | — |
63
64
  | `google/gemini-embedding-2` | 8K | | | | | | $0.20 | — |
64
65
  | `google/gemini-flash-latest` | 1.0M | | | | | | $2 | $9 |
@@ -39,17 +39,17 @@ for await (const chunk of stream) {
39
39
  | `hyper/deepseek-v4-flash` | 1.0M | | | | | | $0.20 | $0.40 |
40
40
  | `hyper/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.15 | $0.30 |
41
41
  | `hyper/deepseek-v4-pro` | 1.0M | | | | | | $2 | $5 |
42
- | `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.12 | $0.41 |
42
+ | `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.13 | $0.42 |
43
43
  | `hyper/glm-5.1` | 203K | | | | | | $2 | $5 |
44
44
  | `hyper/glm-5.2` | 1.0M | | | | | | $1 | $4 |
45
- | `hyper/gpt-oss-120b` | 131K | | | | | | $0.19 | $0.73 |
46
- | `hyper/kimi-k2.5` | 262K | | | | | | $0.56 | $3 |
45
+ | `hyper/gpt-oss-120b` | 131K | | | | | | $0.19 | $0.70 |
46
+ | `hyper/kimi-k2.5` | 262K | | | | | | $0.53 | $3 |
47
47
  | `hyper/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
48
48
  | `hyper/kimi-k2.7-code` | 256K | | | | | | $0.95 | $4 |
49
49
  | `hyper/kimi-k3` | 1.0M | | | | | | $3 | $16 |
50
50
  | `hyper/llama-3.3-70b-instruct` | 128K | | | | | | $0.60 | $0.74 |
51
51
  | `hyper/llama-4-maverick-17b-128e-instruct-fp8` | 430K | | | | | | $0.27 | $0.90 |
52
- | `hyper/minimax-m2.7` | 262K | | | | | | $0.44 | $2 |
52
+ | `hyper/minimax-m2.7` | 262K | | | | | | $0.47 | $2 |
53
53
  | `hyper/minimax-m3` | 512K | | | | | | $0.33 | $1 |
54
54
  | `hyper/qwen3-coder-480b-a35b-instruct-int4-mixed-ar` | 106K | | | | | | $0.45 | $2 |
55
55
  | `hyper/qwen3-next-80b-a3b-instruct` | 262K | | | | | | $0.12 | $1 |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Kilo Gateway logo](https://models.dev/logos/kilo.svg)Kilo Gateway
4
4
 
5
- Access 356 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
5
+ Access 357 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [Kilo Gateway documentation](https://kilo.ai).
8
8
 
@@ -41,7 +41,7 @@ for await (const chunk of stream) {
41
41
  | `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $5 | $25 |
42
42
  | `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
43
43
  | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.08 | $0.25 |
44
- | `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $2 | $8 |
44
+ | `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.38 | $2 |
45
45
  | `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
46
46
  | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $3 | $14 |
47
47
  | `kilo/~openai/gpt-latest` | 1.1M | | | | | | $5 | $30 |
@@ -127,6 +127,7 @@ for await (const chunk of stream) {
127
127
  | `kilo/google/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
128
128
  | `kilo/google/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
129
129
  | `kilo/google/gemini-3.6-flash` | 1.0M | | | | | | $2 | $8 |
130
+ | `kilo/google/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
130
131
  | `kilo/google/gemma-2-27b-it` | 8K | | | | | | $0.65 | $0.65 |
131
132
  | `kilo/google/gemma-3-12b-it` | 131K | | | | | | $0.05 | $0.15 |
132
133
  | `kilo/google/gemma-3-27b-it` | 131K | | | | | | $0.08 | $0.16 |
@@ -338,7 +339,7 @@ for await (const chunk of stream) {
338
339
  | `kilo/qwen/qwen3.7-flash` | 1.0M | | | | | | $0.03 | $0.13 |
339
340
  | `kilo/qwen/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
340
341
  | `kilo/qwen/qwen3.7-plus` | 1.0M | | | | | | $0.32 | $1 |
341
- | `kilo/qwen/qwen3.8-2.4t-a95b` | 262K | | | | | | $2 | $6 |
342
+ | `kilo/qwen/qwen3.8-2.4t-a95b` | 1.0M | | | | | | $2 | $6 |
342
343
  | `kilo/qwen/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
343
344
  | `kilo/rekaai/reka-edge` | 16K | | | | | | $0.10 | $0.10 |
344
345
  | `kilo/rekaai/reka-flash-3` | 66K | | | | | | $0.10 | $0.20 |
@@ -383,14 +384,14 @@ for await (const chunk of stream) {
383
384
  | `kilo/z-ai/glm-4.5` | 131K | | | | | | $0.60 | $2 |
384
385
  | `kilo/z-ai/glm-4.5-air` | 131K | | | | | | $0.13 | $0.85 |
385
386
  | `kilo/z-ai/glm-4.5v` | 66K | | | | | | $0.60 | $2 |
386
- | `kilo/z-ai/glm-4.6` | 203K | | | | | | $0.55 | $2 |
387
+ | `kilo/z-ai/glm-4.6` | 203K | | | | | | $0.50 | $2 |
387
388
  | `kilo/z-ai/glm-4.6v` | 131K | | | | | | $0.30 | $0.90 |
388
- | `kilo/z-ai/glm-4.7` | 203K | | | | | | $0.60 | $2 |
389
- | `kilo/z-ai/glm-4.7-flash` | 203K | | | | | | $0.07 | $0.40 |
390
- | `kilo/z-ai/glm-5` | 205K | | | | | | $1 | $3 |
389
+ | `kilo/z-ai/glm-4.7` | 203K | | | | | | $0.40 | $2 |
390
+ | `kilo/z-ai/glm-4.7-flash` | 203K | | | | | | $0.06 | $0.40 |
391
+ | `kilo/z-ai/glm-5` | 205K | | | | | | $0.95 | $3 |
391
392
  | `kilo/z-ai/glm-5-turbo` | 203K | | | | | | $1 | $4 |
392
393
  | `kilo/z-ai/glm-5.1` | 203K | | | | | | $1 | $4 |
393
- | `kilo/z-ai/glm-5.2` | 262K | | | | | | $1 | $4 |
394
+ | `kilo/z-ai/glm-5.2` | 1.0M | | | | | | $1 | $4 |
394
395
  | `kilo/z-ai/glm-5v-turbo` | 203K | | | | | | $1 | $4 |
395
396
 
396
397
  ## Advanced configuration
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![LLM Gateway logo](https://models.dev/logos/llmgateway.svg)LLM Gateway
4
4
 
5
- Access 186 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
5
+ Access 188 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [LLM Gateway documentation](https://llmgateway.io/docs).
8
8
 
@@ -57,6 +57,7 @@ for await (const chunk of stream) {
57
57
  | `llmgateway/deepseek-v3.2` | 164K | | | | | | $0.26 | $0.38 |
58
58
  | `llmgateway/deepseek-v4-flash` | 1.1M | | | | | | $0.08 | $0.15 |
59
59
  | `llmgateway/deepseek-v4-pro` | 1.1M | | | | | | $0.43 | $0.87 |
60
+ | `llmgateway/ernie-4.5-vl-424b-a47b` | 123K | | | | | | $0.42 | $1 |
60
61
  | `llmgateway/fugu-ultra` | 1.0M | | | | | | $5 | $30 |
61
62
  | `llmgateway/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
62
63
  | `llmgateway/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.10 | $0.40 |
@@ -218,6 +219,7 @@ for await (const chunk of stream) {
218
219
  | `llmgateway/seed-1-6-250915` | 256K | | | | | | $0.25 | $2 |
219
220
  | `llmgateway/seed-1-6-flash-250715` | 256K | | | | | | $0.07 | $0.30 |
220
221
  | `llmgateway/seed-1-8-251228` | 256K | | | | | | $0.25 | $2 |
222
+ | `llmgateway/seed-2-1-turbo` | 262K | | | | | | $0.50 | $3 |
221
223
  | `llmgateway/sonar` | 130K | | | | | | $1 | $1 |
222
224
  | `llmgateway/sonar-pro` | 200K | | | | | | $3 | $15 |
223
225
  | `llmgateway/sonar-reasoning-pro` | 128K | | | | | | $2 | $8 |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![NanoGPT logo](https://models.dev/logos/nano-gpt.svg)NanoGPT
4
4
 
5
- Access 599 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
5
+ Access 596 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [NanoGPT documentation](https://docs.nano-gpt.com).
8
8
 
@@ -266,8 +266,6 @@ for await (const chunk of stream) {
266
266
  | `nano-gpt/inclusionai/ling-2.6-flash` | 262K | | | | | | $0.10 | $0.30 |
267
267
  | `nano-gpt/inclusionai/ling-3.0-flash` | 262K | | | | | | $0.07 | $0.22 |
268
268
  | `nano-gpt/inclusionai/ling-3.0-flash:thinking` | 262K | | | | | | $0.07 | $0.22 |
269
- | `nano-gpt/inclusionai/ling-3.0-tiny` | 262K | | | | | | $0.10 | $0.20 |
270
- | `nano-gpt/inclusionai/ling-3.0-tiny:thinking` | 262K | | | | | | $0.10 | $0.20 |
271
269
  | `nano-gpt/inclusionai/ring-2.6-1t` | 262K | | | | | | $0.30 | $3 |
272
270
  | `nano-gpt/inflatebot/MN-12B-Mag-Mell-R1` | 16K | | | | | | $0.49 | $0.49 |
273
271
  | `nano-gpt/inflection/inflection-3-pi` | 8K | | | | | | $2 | $10 |
@@ -546,7 +544,6 @@ for await (const chunk of stream) {
546
544
  | `nano-gpt/TEE/kimi-k2.6` | 262K | | | | | | $2 | $5 |
547
545
  | `nano-gpt/TEE/kimi-k3` | 1.0M | | | | | | $3 | $15 |
548
546
  | `nano-gpt/TEE/llama3-3-70b` | 128K | | | | | | $2 | $3 |
549
- | `nano-gpt/TEE/minimax-m2.5` | 197K | | | | | | $0.20 | $1 |
550
547
  | `nano-gpt/TEE/muse-glimmer-30b` | 131K | | | | | | $0.35 | $2 |
551
548
  | `nano-gpt/TEE/qwen2.5-vl-72b-instruct` | 66K | | | | | | $0.70 | $0.70 |
552
549
  | `nano-gpt/TEE/qwen3.5-122b-a10b` | 262K | | | | | | $0.46 | $4 |
@@ -88,7 +88,6 @@ for await (const chunk of stream) {
88
88
  | `opencode/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
89
89
  | `opencode/kimi-k3` | 1.0M | | | | | | $3 | $15 |
90
90
  | `opencode/laguna-s-2.1-free` | 256K | | | | | | — | — |
91
- | `opencode/ling-3.0-tiny-free` | 262K | | | | | | — | — |
92
91
  | `opencode/mimo-v2.5-free` | 200K | | | | | | — | — |
93
92
  | `opencode/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
94
93
  | `opencode/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
@@ -245,6 +245,24 @@ const resourceIds = await controller.getKnownResourceIds(session)
245
245
 
246
246
  Returns: `Promise<string[]>`
247
247
 
248
+ #### `listActiveThreadRuns()`
249
+
250
+ List every run in flight on this controller, across all resources and threads. The list comes from in-process run tracking, so it covers runs started by the current process and doesn't create or touch a session.
251
+
252
+ ```typescript
253
+ const runs = controller.listActiveThreadRuns()
254
+ ```
255
+
256
+ Returns: `ActiveThreadRun[]`
257
+
258
+ ```typescript
259
+ interface ActiveThreadRun {
260
+ runId: string
261
+ resourceId?: string
262
+ threadId: string
263
+ }
264
+ ```
265
+
248
266
  ### Lifecycle
249
267
 
250
268
  #### `init()`
@@ -17,6 +17,21 @@ Without `workspace.ts`, a file-based agent gets a default [`Workspace`](https://
17
17
 
18
18
  This gives the agent file tools and shell tools automatically. The default workspace is per agent. Subagents get nested workspace directories under their parent agent's workspace path.
19
19
 
20
+ ## Disable the default workspace
21
+
22
+ Set `workspace` to `undefined` in `config.ts` to create the agent without a workspace:
23
+
24
+ ```typescript
25
+ import { agentConfig } from '@mastra/core/agent'
26
+
27
+ export default agentConfig({
28
+ model: 'openai/gpt-5.6-sol',
29
+ workspace: undefined,
30
+ })
31
+ ```
32
+
33
+ The agent doesn't receive the automatic file and shell tools when you disable the workspace.
34
+
20
35
  ## Quickstart
21
36
 
22
37
  For the default workspace, don't add a file. Start with an agent directory like this:
@@ -73,4 +88,4 @@ The files are copied into the bundled workspace path, where workspace file tools
73
88
 
74
89
  ## Precedence with config
75
90
 
76
- `config.workspace` wins over `workspace.ts`; otherwise the default file-based workspace is used. See [`config.ts` precedence](https://mastra.ai/reference/file-based-agents/config) for the full merge table.
91
+ `config.workspace` wins over `workspace.ts`, including when you set it to `undefined`. Otherwise, Mastra uses the default file-based workspace. See [`config.ts` precedence](https://mastra.ai/reference/file-based-agents/config) for the full merge table.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 1.2.16-alpha.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`59d8898`](https://github.com/mastra-ai/mastra/commit/59d8898c8cb48b342fe5bcb5eee803cc8cc95060), [`a40f915`](https://github.com/mastra-ai/mastra/commit/a40f9157690d89ef13ce825cc88e30be581de5d4)]:
8
+ - @mastra/core@1.59.0-alpha.5
9
+
10
+ ## 1.2.16-alpha.7
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`79dd7c2`](https://github.com/mastra-ai/mastra/commit/79dd7c261ee6be1fafedd4651959394db21d2cba), [`b9a28ec`](https://github.com/mastra-ai/mastra/commit/b9a28ecf7acdc0cb7a543d5b660f9fbee301df9a), [`be31796`](https://github.com/mastra-ai/mastra/commit/be3179624ad5f77cff5fa342cd08046bf7605283)]:
15
+ - @mastra/core@1.59.0-alpha.4
16
+
3
17
  ## 1.2.16-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.2.16-alpha.6",
3
+ "version": "1.2.16-alpha.8",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,8 +28,8 @@
28
28
  "jsdom": "^26.1.0",
29
29
  "local-pkg": "^1.1.2",
30
30
  "zod": "^4.4.3",
31
- "@mastra/mcp": "^1.16.0",
32
- "@mastra/core": "1.59.0-alpha.3"
31
+ "@mastra/core": "1.59.0-alpha.5",
32
+ "@mastra/mcp": "^1.16.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@hono/node-server": "^2.0.0",
@@ -45,9 +45,9 @@
45
45
  "tsx": "^4.23.1",
46
46
  "typescript": "^6.0.3",
47
47
  "vitest": "4.1.10",
48
- "@internal/types-builder": "0.0.97",
49
- "@mastra/core": "1.59.0-alpha.3",
50
- "@internal/lint": "0.0.122"
48
+ "@internal/lint": "0.0.122",
49
+ "@mastra/core": "1.59.0-alpha.5",
50
+ "@internal/types-builder": "0.0.97"
51
51
  },
52
52
  "homepage": "https://mastra.ai",
53
53
  "repository": {