@mastra/mcp-docs-server 1.2.27-alpha.20 → 1.2.27-alpha.22
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/docs/mastra-platform/deploy.md +1 -1
- package/.docs/docs/mastra-platform/system-environment-variables.md +0 -1
- package/.docs/docs/studio/overview.md +2 -0
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/cortecs.md +1 -1
- package/.docs/models/providers/kilo.md +4 -4
- package/.docs/models/providers/llmgateway-providers.md +2 -1
- package/.docs/models/providers/nano-gpt.md +4 -3
- package/.docs/reference/cli/mastra.md +2 -2
- package/.docs/reference/pubsub/redis-streams.md +1 -11
- package/package.json +4 -4
|
@@ -50,7 +50,7 @@ A local `.env` file is optional. Environment variables stored on the platform ar
|
|
|
50
50
|
|
|
51
51
|
The environment slug (`production` above) matches the environment the CLI would have deployed to. The `mastra env db create` command requires an environment argument in non-interactive shells when the project has more than one environment.
|
|
52
52
|
|
|
53
|
-
Preflight also catches database URLs that point at your local machine. A `.env` file with `
|
|
53
|
+
Preflight also catches database URLs that point at your local machine. A `.env` file with `DATABASE_URL=postgres://localhost:5432/myapp` works during development, but the deployed server can't reach your laptop. The CLI therefore warns and offers the same managed provisioning. If you decline, the deploy continues with your value as-is; if you accept, the managed database's connection variables take precedence at deploy time while your local `.env` keeps working for development.
|
|
54
54
|
|
|
55
55
|
> **Note:** If preflight reports a hard-coded local path instead (`Build contains a host-local storage URL`), it can't offer the inline fix. Guard the path with an environment variable first so the file is only used during local development:
|
|
56
56
|
>
|
|
@@ -38,7 +38,6 @@ Attaching a hosted database adds its connection variables to the environments th
|
|
|
38
38
|
| Turso | `TURSO_DATABASE_URL`, `TURSO_AUTH_TOKEN` |
|
|
39
39
|
| Neon | `DATABASE_URL` |
|
|
40
40
|
| Postgres | `POSTGRES_URL` |
|
|
41
|
-
| Redis | `REDIS_URL` |
|
|
42
41
|
|
|
43
42
|
Values are resolved at deploy time and never stored in your project. An environment-scoped database replaces the values of a project-scoped database of the same provider for that environment.
|
|
44
43
|
|
|
@@ -73,6 +73,8 @@ Visualize your workflow as a graph and run it step by step with a custom input.
|
|
|
73
73
|
|
|
74
74
|
Workflow traces show tool calls and raw JSON outputs, along with any execution errors.
|
|
75
75
|
|
|
76
|
+
Select **Run Options** beside the run button to set a **Resource ID** for the runs you start. Studio remembers the value per workflow, and the runs it creates are listed by `GET /api/workflows/:workflowId/runs?resourceId=...`. Leave it empty to create runs without a resource. When your server derives the resource ID from the authenticated user, that value takes precedence over the one you type.
|
|
77
|
+
|
|
76
78
|
### Processors
|
|
77
79
|
|
|
78
80
|
View the input and output processors attached to each agent. The agent detail panel lists every processor by name and type, so you can verify your guardrails and token limiters, plus custom processors are wired up correctly before testing.
|
package/.docs/models/index.md
CHANGED
|
@@ -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
|
|
7
|
+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7364 models from 209 providers through a single API.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -129,7 +129,7 @@ for await (const chunk of stream) {
|
|
|
129
129
|
| `cortecs/qwen2.5-vl-72b-instruct` | 32K | | | | | | $1 | $1 |
|
|
130
130
|
| `cortecs/qwen3-235b-a22b-instruct-2507` | 262K | | | | | | $0.07 | $0.46 |
|
|
131
131
|
| `cortecs/qwen3-30b-a3b-instruct-2507` | 262K | | | | | | $0.10 | $0.30 |
|
|
132
|
-
| `cortecs/qwen3-32b` |
|
|
132
|
+
| `cortecs/qwen3-32b` | 16K | | | | | | $0.18 | $0.70 |
|
|
133
133
|
| `cortecs/qwen3-coder-30b-a3b-instruct` | 262K | | | | | | $0.07 | $0.24 |
|
|
134
134
|
| `cortecs/qwen3-coder-next` | 256K | | | | | | $0.17 | $0.89 |
|
|
135
135
|
| `cortecs/qwen3-vl-235b-a22b` | 256K | | | | | | $0.62 | $3 |
|
|
@@ -42,8 +42,8 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `kilo/~anthropic/claude-haiku-latest` | 200K | | | | | | $1 | $5 |
|
|
43
43
|
| `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $5 | $25 |
|
|
44
44
|
| `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
|
|
45
|
-
| `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.
|
|
46
|
-
| `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.
|
|
45
|
+
| `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.12 | $0.48 |
|
|
46
|
+
| `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.66 | $2 |
|
|
47
47
|
| `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.04 | $0.16 |
|
|
48
48
|
| `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
|
|
49
49
|
| `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
|
|
@@ -168,7 +168,7 @@ for await (const chunk of stream) {
|
|
|
168
168
|
| `kilo/meta-llama/llama-3.2-1b-instruct` | 60K | | | | | | $0.03 | $0.20 |
|
|
169
169
|
| `kilo/meta-llama/llama-3.2-3b-instruct` | 131K | | | | | | $0.05 | $0.33 |
|
|
170
170
|
| `kilo/meta-llama/llama-3.3-70b-instruct` | 131K | | | | | | $0.10 | $0.32 |
|
|
171
|
-
| `kilo/meta-llama/llama-4-maverick` |
|
|
171
|
+
| `kilo/meta-llama/llama-4-maverick` | 1.0M | | | | | | $0.19 | $0.65 |
|
|
172
172
|
| `kilo/meta-llama/llama-4-scout` | 328K | | | | | | $0.10 | $0.30 |
|
|
173
173
|
| `kilo/meta-llama/llama-guard-4-12b` | 164K | | | | | | $0.18 | $0.18 |
|
|
174
174
|
| `kilo/meta/muse-glimmer-30b` | 131K | | | | | | $0.30 | $1 |
|
|
@@ -378,7 +378,7 @@ for await (const chunk of stream) {
|
|
|
378
378
|
| `kilo/tencent/hy-mt2-1.8b` | 8K | | | | | | $0.04 | $0.18 |
|
|
379
379
|
| `kilo/tencent/hy-mt2-30b-a3b` | 8K | | | | | | $0.07 | $0.29 |
|
|
380
380
|
| `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
|
|
381
|
-
| `kilo/tencent/hy3` | 262K | | | | | | $0.
|
|
381
|
+
| `kilo/tencent/hy3` | 262K | | | | | | $0.13 | $0.53 |
|
|
382
382
|
| `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
|
|
383
383
|
| `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
|
|
384
384
|
| `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# LLM Gateway
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 404 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
|
|
|
@@ -362,6 +362,7 @@ for await (const chunk of stream) {
|
|
|
362
362
|
| `llmgateway-providers/sakana/fugu-max` | 1.0M | | | | | | $2 | $6 |
|
|
363
363
|
| `llmgateway-providers/sakana/fugu-ultra` | 1.0M | | | | | | $5 | $30 |
|
|
364
364
|
| `llmgateway-providers/sakana/fugu-ultra-v2.0` | 1.0M | | | | | | $5 | $30 |
|
|
365
|
+
| `llmgateway-providers/scx-ai-gp/deepseek-v4.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
365
366
|
| `llmgateway-providers/scx-ai-gp/glm-5.2` | 1.0M | | | | | | $0.88 | $3 |
|
|
366
367
|
| `llmgateway-providers/scx-ai-gp/glm-5.2-fast` | 1.0M | | | | | | $2 | $7 |
|
|
367
368
|
| `llmgateway-providers/scx-ai-gp/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# NanoGPT
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 576 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [NanoGPT documentation](https://docs.nano-gpt.com).
|
|
10
10
|
|
|
@@ -440,7 +440,7 @@ for await (const chunk of stream) {
|
|
|
440
440
|
| `nano-gpt/qwen/qwen3-max-2026-01-23` | 256K | | | | | | $1 | $6 |
|
|
441
441
|
| `nano-gpt/qwen/qwen3-next-80b-a3b-instruct` | 262K | | | | | | $0.15 | $0.65 |
|
|
442
442
|
| `nano-gpt/qwen/qwen3-next-80b-a3b-thinking` | 256K | | | | | | $0.15 | $0.65 |
|
|
443
|
-
| `nano-gpt/qwen/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.30 | $
|
|
443
|
+
| `nano-gpt/qwen/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.30 | $2 |
|
|
444
444
|
| `nano-gpt/qwen/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.50 | $6 |
|
|
445
445
|
| `nano-gpt/qwen/qwen3.5-122b-a10b` | 131K | | | | | | $0.44 | $3 |
|
|
446
446
|
| `nano-gpt/qwen/qwen3.5-122b-a10b:thinking` | 131K | | | | | | $0.44 | $3 |
|
|
@@ -473,6 +473,7 @@ for await (const chunk of stream) {
|
|
|
473
473
|
| `nano-gpt/qwen/qwen3.8-27b` | 262K | | | | | | $0.15 | $0.70 |
|
|
474
474
|
| `nano-gpt/qwen/qwen3.8-27b-cybersecurity` | 262K | | | | | | $0.10 | $0.60 |
|
|
475
475
|
| `nano-gpt/qwen/qwen3.8-27b-fable` | 524K | | | | | | $0.25 | $2 |
|
|
476
|
+
| `nano-gpt/qwen/qwen3.8-27b-hemmingway` | 262K | | | | | | $0.25 | $2 |
|
|
476
477
|
| `nano-gpt/qwen/qwen3.8-27b-obliterated` | 524K | | | | | | $0.25 | $2 |
|
|
477
478
|
| `nano-gpt/qwen/qwen3.8-27b-obliterated:thinking` | 524K | | | | | | $0.25 | $2 |
|
|
478
479
|
| `nano-gpt/qwen/qwen3.8-27b-queen` | 524K | | | | | | $0.25 | $2 |
|
|
@@ -484,7 +485,7 @@ for await (const chunk of stream) {
|
|
|
484
485
|
| `nano-gpt/qwen/qwen3.8-max-0902` | 992K | | | | | | $2 | $6 |
|
|
485
486
|
| `nano-gpt/qwen/qwen3.8-max:thinking` | 991K | | | | | | $2 | $6 |
|
|
486
487
|
| `nano-gpt/qwen/qwen3.8-omni-flash` | 992K | | | | | | $0.15 | $0.47 |
|
|
487
|
-
| `nano-gpt/qwen3-vl-235b-a22b-instruct-original` | 33K | | | | | | $0.
|
|
488
|
+
| `nano-gpt/qwen3-vl-235b-a22b-instruct-original` | 33K | | | | | | $0.30 | $2 |
|
|
488
489
|
| `nano-gpt/Qwen3.5-27B-BlueStar-v3-Derestricted` | 262K | | | | | | $0.31 | $0.31 |
|
|
489
490
|
| `nano-gpt/Qwen3.5-27B-Queen-Derestricted` | 262K | | | | | | $0.31 | $0.31 |
|
|
490
491
|
| `nano-gpt/ReadyArt/MS3.2-The-Omega-Directive-24B-Unslop-v2.0` | 33K | | | | | | $0.50 | $0.50 |
|
|
@@ -543,11 +543,11 @@ mastra env db create --kind neon --name my-app-db --region aws-us-east-1 --share
|
|
|
543
543
|
|
|
544
544
|
#### `--kind`
|
|
545
545
|
|
|
546
|
-
Database provider (required). One of `turso
|
|
546
|
+
Database provider (required). One of `turso` or `neon`.
|
|
547
547
|
|
|
548
548
|
#### `--name`
|
|
549
549
|
|
|
550
|
-
Database name. Defaults to a name derived from the project slug and provider (for example `my-app-turso` or `my-app-
|
|
550
|
+
Database name. Defaults to a name derived from the project slug and provider (for example `my-app-turso` or `my-app-pg`).
|
|
551
551
|
|
|
552
552
|
#### `--region`
|
|
553
553
|
|
|
@@ -177,14 +177,4 @@ A subscription never reclaims an event its own handler is still processing, so a
|
|
|
177
177
|
|
|
178
178
|
Lease keys are namespaced under the same `keyPrefix` as topics, as `<keyPrefix>:lease:<key>`. All operations are atomic: `acquireLease` uses `SET NX PX` and refreshes its own TTL idempotently, while `releaseLease`, `renewLease`, and `transferLease` use Lua scripts that check ownership before mutating, so a concurrent renewal from another owner is never clobbered.
|
|
179
179
|
|
|
180
|
-
You don't call these methods directly. Configuring `RedisStreamsPubSub` as the `pubsub` backend is enough for the runtime to detect and use the capability. See [`LeaseProvider`](https://mastra.ai/reference/pubsub/lease-provider) for the full method contract.
|
|
181
|
-
|
|
182
|
-
## Managed provisioning
|
|
183
|
-
|
|
184
|
-
When you deploy a project that reads `REDIS_URL` from the environment, the Mastra CLI's `deploy` preflight offers to attach a managed Redis on the Mastra platform in one step.
|
|
185
|
-
|
|
186
|
-
If you accept, `mastra deploy` provisions the database and waits for it to reach the ready state before injecting `REDIS_URL` into the deploy so `new RedisStreamsPubSub({ url: process.env.REDIS_URL })` connects without extra setup.
|
|
187
|
-
|
|
188
|
-
The prompt is shown only when three conditions hold: `REDIS_URL` is referenced by user code, the environment's value is missing or points to a localhost address, and the run is interactive (a terminal without the `--yes` flag). Non-interactive runs (CI, `--yes`) report the issue with a copy-pasteable `mastra env db create --kind redis` command instead of silently creating infrastructure.
|
|
189
|
-
|
|
190
|
-
You can also provision a managed Redis up front with `mastra env db create --kind redis`. Once attached, the platform meters CPU seconds and memory GB-hours and shows them on the project's Database Usage page.
|
|
180
|
+
You don't call these methods directly. Configuring `RedisStreamsPubSub` as the `pubsub` backend is enough for the runtime to detect and use the capability. See [`LeaseProvider`](https://mastra.ai/reference/pubsub/lease-provider) for the full method contract.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.2.27-alpha.
|
|
3
|
+
"version": "1.2.27-alpha.22",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
28
28
|
"local-pkg": "^1.1.2",
|
|
29
29
|
"zod": "^4.6.4",
|
|
30
|
-
"@mastra/core": "1.68.0-alpha.
|
|
30
|
+
"@mastra/core": "1.68.0-alpha.10"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@hono/node-server": "^2.0.0",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"typescript": "^7.0.2",
|
|
44
44
|
"vitest": "4.1.11",
|
|
45
45
|
"@internal/lint": "0.0.133",
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
46
|
+
"@mastra/core": "1.68.0-alpha.10",
|
|
47
|
+
"@internal/types-builder": "0.0.108"
|
|
48
48
|
},
|
|
49
49
|
"homepage": "https://mastra.ai",
|
|
50
50
|
"repository": {
|