@mastra/mcp-docs-server 1.0.0-beta.0 → 1.0.0-beta.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/organized/changelogs/%40mastra%2Fclient-js.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +11 -11
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +18 -18
- package/.docs/organized/changelogs/%40mastra%2Freact.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +8 -8
- package/.docs/organized/changelogs/create-mastra.md +7 -7
- package/.docs/organized/changelogs/mastra.md +13 -13
- package/.docs/raw/agents/agent-memory.mdx +1 -1
- package/.docs/raw/agents/overview.mdx +2 -2
- package/.docs/raw/auth/auth0.mdx +1 -1
- package/.docs/raw/auth/clerk.mdx +1 -1
- package/.docs/raw/auth/firebase.mdx +1 -1
- package/.docs/raw/auth/jwt.mdx +1 -1
- package/.docs/raw/auth/supabase.mdx +1 -1
- package/.docs/raw/auth/workos.mdx +1 -1
- package/.docs/raw/course/01-first-agent/03-verifying-installation.md +1 -1
- package/.docs/raw/course/02-agent-tools-mcp/02-installing-mcp.md +1 -1
- package/.docs/raw/course/03-agent-memory/03-installing-memory.md +1 -1
- package/.docs/raw/deployment/cloud-providers/amazon-ec2.mdx +1 -1
- package/.docs/raw/deployment/cloud-providers/aws-lambda.mdx +1 -1
- package/.docs/raw/deployment/cloud-providers/azure-app-services.mdx +2 -2
- package/.docs/raw/deployment/cloud-providers/digital-ocean.mdx +1 -1
- package/.docs/raw/deployment/serverless-platforms/cloudflare-deployer.mdx +1 -1
- package/.docs/raw/deployment/serverless-platforms/netlify-deployer.mdx +1 -1
- package/.docs/raw/deployment/serverless-platforms/vercel-deployer.mdx +1 -1
- package/.docs/raw/evals/overview.mdx +1 -1
- package/.docs/raw/frameworks/agentic-uis/ai-sdk.mdx +4 -4
- package/.docs/raw/frameworks/agentic-uis/assistant-ui.mdx +1 -1
- package/.docs/raw/frameworks/agentic-uis/copilotkit.mdx +9 -9
- package/.docs/raw/frameworks/agentic-uis/openrouter.mdx +1 -1
- package/.docs/raw/frameworks/servers/express.mdx +1 -1
- package/.docs/raw/frameworks/web-frameworks/astro.mdx +12 -12
- package/.docs/raw/frameworks/web-frameworks/next-js.mdx +4 -4
- package/.docs/raw/frameworks/web-frameworks/sveltekit.mdx +12 -12
- package/.docs/raw/frameworks/web-frameworks/vite-react.mdx +5 -5
- package/.docs/raw/getting-started/installation.mdx +13 -13
- package/.docs/raw/getting-started/templates.mdx +5 -5
- package/.docs/raw/guides/guide/notes-mcp-server.mdx +1 -1
- package/.docs/raw/guides/guide/research-assistant.mdx +1 -10
- package/.docs/raw/guides/migrations/upgrade-to-v1/agent.mdx +6 -6
- package/.docs/raw/guides/migrations/upgrade-to-v1/evals.mdx +1 -1
- package/.docs/raw/guides/migrations/upgrade-to-v1/mastra.mdx +2 -2
- package/.docs/raw/guides/migrations/upgrade-to-v1/mcp.mdx +3 -3
- package/.docs/raw/guides/migrations/upgrade-to-v1/overview.mdx +34 -34
- package/.docs/raw/guides/migrations/upgrade-to-v1/tools.mdx +2 -2
- package/.docs/raw/guides/migrations/upgrade-to-v1/tracing.mdx +13 -13
- package/.docs/raw/guides/migrations/upgrade-to-v1/voice.mdx +1 -1
- package/.docs/raw/guides/migrations/upgrade-to-v1/workflows.mdx +2 -2
- package/.docs/raw/guides/quickstarts/nextjs.mdx +275 -0
- package/.docs/raw/index.mdx +1 -1
- package/.docs/raw/logging.mdx +3 -3
- package/.docs/raw/mastra-cloud/observability.mdx +6 -6
- package/.docs/raw/memory/overview.mdx +1 -1
- package/.docs/raw/memory/semantic-recall.mdx +1 -1
- package/.docs/raw/memory/storage/memory-with-libsql.mdx +2 -2
- package/.docs/raw/memory/storage/memory-with-pg.mdx +2 -2
- package/.docs/raw/memory/storage/memory-with-upstash.mdx +2 -2
- package/.docs/raw/observability/overview.mdx +5 -5
- package/.docs/raw/observability/tracing/exporters/arize.mdx +2 -2
- package/.docs/raw/observability/tracing/exporters/braintrust.mdx +2 -2
- package/.docs/raw/observability/tracing/exporters/cloud.mdx +2 -2
- package/.docs/raw/observability/tracing/exporters/default.mdx +5 -5
- package/.docs/raw/observability/tracing/exporters/langfuse.mdx +2 -2
- package/.docs/raw/observability/tracing/exporters/langsmith.mdx +2 -2
- package/.docs/raw/observability/tracing/exporters/otel.mdx +5 -5
- package/.docs/raw/observability/tracing/overview.mdx +21 -21
- package/.docs/raw/observability/tracing/processors/sensitive-data-filter.mdx +2 -2
- package/.docs/raw/rag/overview.mdx +1 -1
- package/.docs/raw/reference/agents/agent.mdx +2 -2
- package/.docs/raw/reference/cli/create-mastra.mdx +10 -10
- package/.docs/raw/reference/cli/mastra.mdx +7 -7
- package/.docs/raw/reference/core/getLogger.mdx +2 -2
- package/.docs/raw/reference/core/getMCPServer.mdx +2 -2
- package/.docs/raw/reference/core/getMCPServerById.mdx +4 -4
- package/.docs/raw/reference/core/getTelemetry.mdx +2 -2
- package/.docs/raw/reference/core/listLogs.mdx +2 -2
- package/.docs/raw/reference/core/listLogsByRunId.mdx +2 -2
- package/.docs/raw/reference/core/listMCPServers.mdx +4 -4
- package/.docs/raw/reference/core/setLogger.mdx +2 -2
- package/.docs/raw/reference/core/setTelemetry.mdx +2 -2
- package/.docs/raw/reference/evals/create-scorer.mdx +58 -49
- package/.docs/raw/reference/evals/mastra-scorer.mdx +2 -0
- package/.docs/raw/reference/observability/tracing/configuration.mdx +12 -12
- package/.docs/raw/reference/observability/tracing/exporters/arize.mdx +1 -1
- package/.docs/raw/reference/observability/tracing/exporters/cloud-exporter.mdx +8 -8
- package/.docs/raw/reference/observability/tracing/exporters/console-exporter.mdx +8 -8
- package/.docs/raw/reference/observability/tracing/exporters/default-exporter.mdx +8 -8
- package/.docs/raw/reference/observability/tracing/instances.mdx +8 -8
- package/.docs/raw/reference/observability/tracing/interfaces.mdx +7 -7
- package/.docs/raw/reference/observability/tracing/spans.mdx +7 -7
- package/.docs/raw/reference/processors/batch-parts-processor.mdx +8 -2
- package/.docs/raw/reference/processors/language-detector.mdx +8 -2
- package/.docs/raw/reference/processors/moderation-processor.mdx +8 -2
- package/.docs/raw/reference/processors/pii-detector.mdx +8 -2
- package/.docs/raw/reference/processors/prompt-injection-detector.mdx +8 -2
- package/.docs/raw/reference/processors/system-prompt-scrubber.mdx +8 -2
- package/.docs/raw/reference/processors/token-limiter-processor.mdx +8 -2
- package/.docs/raw/reference/processors/unicode-normalizer.mdx +8 -2
- package/.docs/raw/reference/storage/cloudflare-d1.mdx +1 -1
- package/.docs/raw/reference/storage/cloudflare.mdx +1 -1
- package/.docs/raw/reference/storage/dynamodb.mdx +3 -3
- package/.docs/raw/reference/storage/lance.mdx +1 -1
- package/.docs/raw/reference/storage/libsql.mdx +1 -1
- package/.docs/raw/reference/storage/mongodb.mdx +1 -1
- package/.docs/raw/reference/storage/mssql.mdx +1 -1
- package/.docs/raw/reference/storage/postgresql.mdx +1 -1
- package/.docs/raw/reference/storage/upstash.mdx +1 -1
- package/.docs/raw/reference/templates/overview.mdx +1 -1
- package/.docs/raw/reference/vectors/couchbase.mdx +8 -2
- package/.docs/raw/reference/vectors/libsql.mdx +1 -1
- package/.docs/raw/reference/vectors/mongodb.mdx +7 -1
- package/.docs/raw/reference/vectors/s3vectors.mdx +1 -1
- package/.docs/raw/server-db/mastra-client.mdx +4 -4
- package/.docs/raw/tools-mcp/mcp-overview.mdx +1 -1
- package/.docs/raw/voice/speech-to-text.mdx +1 -1
- package/.docs/raw/voice/text-to-speech.mdx +1 -1
- package/.docs/raw/workflows/inngest-workflow.mdx +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/stdio.js +1 -1
- package/package.json +3 -3
|
@@ -20,19 +20,19 @@ Each provider requires specific protocol packages. Install the base exporter plu
|
|
|
20
20
|
### For HTTP/Protobuf Providers (SigNoz, New Relic, Laminar)
|
|
21
21
|
|
|
22
22
|
```bash npm2yarn
|
|
23
|
-
npm install @mastra/otel-exporter @opentelemetry/exporter-trace-otlp-proto
|
|
23
|
+
npm install @mastra/otel-exporter@beta @opentelemetry/exporter-trace-otlp-proto
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
### For gRPC Providers (Dash0)
|
|
27
27
|
|
|
28
28
|
```bash npm2yarn
|
|
29
|
-
npm install @mastra/otel-exporter @opentelemetry/exporter-trace-otlp-grpc @grpc/grpc-js
|
|
29
|
+
npm install @mastra/otel-exporter@beta @opentelemetry/exporter-trace-otlp-grpc @grpc/grpc-js
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
### For HTTP/JSON Providers (Traceloop)
|
|
33
33
|
|
|
34
34
|
```bash npm2yarn
|
|
35
|
-
npm install @mastra/otel-exporter @opentelemetry/exporter-trace-otlp-http
|
|
35
|
+
npm install @mastra/otel-exporter@beta @opentelemetry/exporter-trace-otlp-http
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
## Provider Configurations
|
|
@@ -249,6 +249,6 @@ Install the suggested package for your provider.
|
|
|
249
249
|
|
|
250
250
|
## Related
|
|
251
251
|
|
|
252
|
-
- [Tracing Overview]/docs/v1/observability/tracing/overview)
|
|
252
|
+
- [Tracing Overview](/docs/v1/observability/tracing/overview)
|
|
253
253
|
- [OpenTelemetry GenAI Conventions](https://opentelemetry.io/docs/specs/semconv/gen-ai/)
|
|
254
|
-
- [OTEL Exporter Reference]/reference/v1/observability/tracing/exporters/otel)
|
|
254
|
+
- [OTEL Exporter Reference](/reference/v1/observability/tracing/exporters/otel)
|
|
@@ -85,18 +85,18 @@ Exporters determine where your trace data is sent and how it's stored. Choosing
|
|
|
85
85
|
|
|
86
86
|
Mastra provides two built-in exporters that work out of the box:
|
|
87
87
|
|
|
88
|
-
- **[Default]/docs/v1/observability/tracing/exporters/default)** - Persists traces to local storage for viewing in Studio
|
|
89
|
-
- **[Cloud]/docs/v1/observability/tracing/exporters/cloud)** - Sends traces to Mastra Cloud for production monitoring and collaboration
|
|
88
|
+
- **[Default](/docs/v1/observability/tracing/exporters/default)** - Persists traces to local storage for viewing in Studio
|
|
89
|
+
- **[Cloud](/docs/v1/observability/tracing/exporters/cloud)** - Sends traces to Mastra Cloud for production monitoring and collaboration
|
|
90
90
|
|
|
91
91
|
### External Exporters
|
|
92
92
|
|
|
93
93
|
In addition to the internal exporters, Mastra supports integration with popular observability platforms. These exporters allow you to leverage your existing monitoring infrastructure and take advantage of platform-specific features like alerting, dashboards, and correlation with other application metrics.
|
|
94
94
|
|
|
95
|
-
- **[Arize]/docs/v1/observability/tracing/exporters/arize)** - Exports traces to Arize Phoenix or Arize AX using OpenInference semantic conventions
|
|
96
|
-
- **[Braintrust]/docs/v1/observability/tracing/exporters/braintrust)** - Exports traces to Braintrust's eval and observability platform
|
|
97
|
-
- **[Langfuse]/docs/v1/observability/tracing/exporters/langfuse)** - Sends traces to the Langfuse open-source LLM engineering platform
|
|
98
|
-
- **[LangSmith]/docs/v1/observability/tracing/exporters/langsmith)** - Pushes traces into LangSmith's observability and evaluation toolkit
|
|
99
|
-
- **[OpenTelemetry]/docs/v1/observability/tracing/exporters/otel)** - Deliver traces to any OpenTelemetry-compatible observability system
|
|
95
|
+
- **[Arize](/docs/v1/observability/tracing/exporters/arize)** - Exports traces to Arize Phoenix or Arize AX using OpenInference semantic conventions
|
|
96
|
+
- **[Braintrust](/docs/v1/observability/tracing/exporters/braintrust)** - Exports traces to Braintrust's eval and observability platform
|
|
97
|
+
- **[Langfuse](/docs/v1/observability/tracing/exporters/langfuse)** - Sends traces to the Langfuse open-source LLM engineering platform
|
|
98
|
+
- **[LangSmith](/docs/v1/observability/tracing/exporters/langsmith)** - Pushes traces into LangSmith's observability and evaluation toolkit
|
|
99
|
+
- **[OpenTelemetry](/docs/v1/observability/tracing/exporters/otel)** - Deliver traces to any OpenTelemetry-compatible observability system
|
|
100
100
|
- Supports: Dash0, Laminar, New Relic, SigNoz, Traceloop, Zipkin, and others!
|
|
101
101
|
|
|
102
102
|
## Sampling Strategies
|
|
@@ -522,7 +522,7 @@ Span processors allow you to transform, filter, or enrich trace data before it's
|
|
|
522
522
|
|
|
523
523
|
### Built-in Processors
|
|
524
524
|
|
|
525
|
-
- [Sensitive Data Filter]/docs/v1/observability/tracing/processors/sensitive-data-filter) redacts sensitive information. It is enabled in the default observability config.
|
|
525
|
+
- [Sensitive Data Filter](/docs/v1/observability/tracing/processors/sensitive-data-filter) redacts sensitive information. It is enabled in the default observability config.
|
|
526
526
|
|
|
527
527
|
### Creating Custom Processors
|
|
528
528
|
|
|
@@ -753,25 +753,25 @@ Mastra automatically creates spans for:
|
|
|
753
753
|
|
|
754
754
|
### Examples
|
|
755
755
|
|
|
756
|
-
- [Basic Tracing Example]/examples/v1/observability/basic-tracing) - Working implementation
|
|
756
|
+
- [Basic Tracing Example](/examples/v1/observability/basic-tracing) - Working implementation
|
|
757
757
|
|
|
758
758
|
### Reference Documentation
|
|
759
759
|
|
|
760
|
-
- [Configuration API]/reference/v1/observability/tracing/configuration) - ObservabilityConfig details
|
|
761
|
-
- [Tracing Classes]/reference/v1/observability/tracing/instances) - Core classes and methods
|
|
762
|
-
- [Span Interfaces]/reference/v1/observability/tracing/spans) - Span types and lifecycle
|
|
763
|
-
- [Type Definitions]/reference/v1/observability/tracing/interfaces) - Complete interface reference
|
|
760
|
+
- [Configuration API](/reference/v1/observability/tracing/configuration) - ObservabilityConfig details
|
|
761
|
+
- [Tracing Classes](/reference/v1/observability/tracing/instances) - Core classes and methods
|
|
762
|
+
- [Span Interfaces](/reference/v1/observability/tracing/spans) - Span types and lifecycle
|
|
763
|
+
- [Type Definitions](/reference/v1/observability/tracing/interfaces) - Complete interface reference
|
|
764
764
|
|
|
765
765
|
### Exporters
|
|
766
766
|
|
|
767
|
-
- [DefaultExporter]/reference/v1/observability/tracing/exporters/default-exporter) - Storage persistence
|
|
768
|
-
- [CloudExporter]/reference/v1/observability/tracing/exporters/cloud-exporter) - Mastra Cloud integration
|
|
769
|
-
- [ConsoleExporter]/reference/v1/observability/tracing/exporters/console-exporter) - Debug output
|
|
770
|
-
- [Arize]/reference/v1/observability/tracing/exporters/arize) - Arize Phoenix and Arize AX integration
|
|
771
|
-
- [Braintrust]/reference/v1/observability/tracing/exporters/braintrust) - Braintrust integration
|
|
772
|
-
- [Langfuse]/reference/v1/observability/tracing/exporters/langfuse) - Langfuse integration
|
|
773
|
-
- [OpenTelemetry]/reference/v1/observability/tracing/exporters/otel) - OTEL-compatible platforms
|
|
767
|
+
- [DefaultExporter](/reference/v1/observability/tracing/exporters/default-exporter) - Storage persistence
|
|
768
|
+
- [CloudExporter](/reference/v1/observability/tracing/exporters/cloud-exporter) - Mastra Cloud integration
|
|
769
|
+
- [ConsoleExporter](/reference/v1/observability/tracing/exporters/console-exporter) - Debug output
|
|
770
|
+
- [Arize](/reference/v1/observability/tracing/exporters/arize) - Arize Phoenix and Arize AX integration
|
|
771
|
+
- [Braintrust](/reference/v1/observability/tracing/exporters/braintrust) - Braintrust integration
|
|
772
|
+
- [Langfuse](/reference/v1/observability/tracing/exporters/langfuse) - Langfuse integration
|
|
773
|
+
- [OpenTelemetry](/reference/v1/observability/tracing/exporters/otel) - OTEL-compatible platforms
|
|
774
774
|
|
|
775
775
|
### Processors
|
|
776
776
|
|
|
777
|
-
- [Sensitive Data Filter]/docs/v1/observability/tracing/processors/sensitive-data-filter) - Data redaction
|
|
777
|
+
- [Sensitive Data Filter](/docs/v1/observability/tracing/processors/sensitive-data-filter) - Data redaction
|
|
@@ -292,5 +292,5 @@ This ensures that processing errors don't prevent traces from being exported or
|
|
|
292
292
|
|
|
293
293
|
## Related
|
|
294
294
|
|
|
295
|
-
- [SensitiveDataFilter API]/reference/v1/observability/tracing/processors/sensitive-data-filter)
|
|
296
|
-
- [Basic Tracing Example]/examples/v1/observability/basic-tracing)
|
|
295
|
+
- [SensitiveDataFilter API](/reference/v1/observability/tracing/processors/sensitive-data-filter)
|
|
296
|
+
- [Basic Tracing Example](/examples/v1/observability/basic-tracing)
|
|
@@ -73,5 +73,5 @@ Mastra supports multiple vector stores for embedding persistence and similarity
|
|
|
73
73
|
|
|
74
74
|
## More resources
|
|
75
75
|
|
|
76
|
-
- [Chain of Thought RAG Example]/examples/v1/rag/usage/cot-rag)
|
|
76
|
+
- [Chain of Thought RAG Example](/examples/v1/rag/usage/cot-rag)
|
|
77
77
|
- [All RAG Examples](/examples/v1/) (including different chunking strategies, embedding models, and vector stores)
|
|
@@ -110,13 +110,13 @@ export const agent = new Agent({
|
|
|
110
110
|
type: "string",
|
|
111
111
|
isOptional: true,
|
|
112
112
|
description:
|
|
113
|
-
"
|
|
113
|
+
"Unique identifier for the agent. Defaults to `name` if not provided.",
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
name: "name",
|
|
117
117
|
type: "string",
|
|
118
118
|
isOptional: false,
|
|
119
|
-
description: "
|
|
119
|
+
description: "Display name for the agent. Used as the identifier if `id` is not provided.",
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
name: "description",
|
|
@@ -16,28 +16,28 @@ The `create-mastra` command **creates** a new standalone Mastra project. Use thi
|
|
|
16
16
|
<TabItem value="npm" label="npm">
|
|
17
17
|
|
|
18
18
|
```bash copy
|
|
19
|
-
npx create-mastra@
|
|
19
|
+
npx create-mastra@beta
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
</TabItem>
|
|
23
23
|
<TabItem value="yarn" label="yarn">
|
|
24
24
|
|
|
25
25
|
```bash copy
|
|
26
|
-
yarn dlx create-mastra@
|
|
26
|
+
yarn dlx create-mastra@beta
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
</TabItem>
|
|
30
30
|
<TabItem value="pnpm" label="pnpm">
|
|
31
31
|
|
|
32
32
|
```bash copy
|
|
33
|
-
pnpm create mastra@
|
|
33
|
+
pnpm create mastra@beta
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
</TabItem>
|
|
37
37
|
<TabItem value="bun" label="bun">
|
|
38
38
|
|
|
39
39
|
```bash copy
|
|
40
|
-
bun create mastra@
|
|
40
|
+
bun create mastra@beta
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
</TabItem>
|
|
@@ -49,28 +49,28 @@ bun create mastra@latest
|
|
|
49
49
|
<TabItem value="npm" label="npm">
|
|
50
50
|
|
|
51
51
|
```bash copy
|
|
52
|
-
npx create-mastra@
|
|
52
|
+
npx create-mastra@beta my-mastra-project -- --template coding-agent
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
</TabItem>
|
|
56
56
|
<TabItem value="yarn" label="yarn">
|
|
57
57
|
|
|
58
58
|
```bash copy
|
|
59
|
-
yarn dlx create-mastra@
|
|
59
|
+
yarn dlx create-mastra@beta --template coding-agent
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
</TabItem>
|
|
63
63
|
<TabItem value="pnpm" label="pnpm">
|
|
64
64
|
|
|
65
65
|
```bash copy
|
|
66
|
-
pnpm create mastra@
|
|
66
|
+
pnpm create mastra@beta --template coding-agent
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
</TabItem>
|
|
70
70
|
<TabItem value="bun" label="bun">
|
|
71
71
|
|
|
72
72
|
```bash copy
|
|
73
|
-
bun create mastra@
|
|
73
|
+
bun create mastra@beta --template coding-agent
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
</TabItem>
|
|
@@ -81,7 +81,7 @@ Check out the [full list](https://mastra.ai/api/templates.json) of templates and
|
|
|
81
81
|
You can also use any GitHub repo as a template (it has to be a valid Mastra project):
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
|
-
npx create-mastra@
|
|
84
|
+
npx create-mastra@beta my-mastra-project -- --template mastra-ai/template-coding-agent
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
## CLI flags
|
|
@@ -190,5 +190,5 @@ MASTRA_TELEMETRY_DISABLED=1
|
|
|
190
190
|
You can also set this while using other `mastra` commands:
|
|
191
191
|
|
|
192
192
|
```bash copy
|
|
193
|
-
MASTRA_TELEMETRY_DISABLED=1 npx create-mastra@
|
|
193
|
+
MASTRA_TELEMETRY_DISABLED=1 npx create-mastra@beta
|
|
194
194
|
```
|
|
@@ -9,9 +9,9 @@ You can use the Command-Line Interface (CLI) provided by Mastra to develop, buil
|
|
|
9
9
|
|
|
10
10
|
## `mastra dev`
|
|
11
11
|
|
|
12
|
-
Starts a server which exposes [Studio]/docs/v1/getting-started/studio) and REST endpoints for your agents, tools, and workflows. You can visit [http://localhost:4111/swagger-ui](http://localhost:4111/swagger-ui) for an overview of all available endpoints once `mastra dev` is running.
|
|
12
|
+
Starts a server which exposes [Studio](/docs/v1/getting-started/studio) and REST endpoints for your agents, tools, and workflows. You can visit [http://localhost:4111/swagger-ui](http://localhost:4111/swagger-ui) for an overview of all available endpoints once `mastra dev` is running.
|
|
13
13
|
|
|
14
|
-
You can also [configure the server]/docs/v1/getting-started/studio#configuration).
|
|
14
|
+
You can also [configure the server](/docs/v1/getting-started/studio#configuration).
|
|
15
15
|
|
|
16
16
|
### Flags
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ The command accepts [common flags][common-flags] and the following additional fl
|
|
|
19
19
|
|
|
20
20
|
#### `--https`
|
|
21
21
|
|
|
22
|
-
Enable local HTTPS support. [Learn more]/docs/v1/getting-started/studio#local-https).
|
|
22
|
+
Enable local HTTPS support. [Learn more](/docs/v1/getting-started/studio#local-https).
|
|
23
23
|
|
|
24
24
|
#### `--inspect`
|
|
25
25
|
|
|
@@ -85,7 +85,7 @@ Under the hood Mastra's Rollup server locates your Mastra entry file and bundles
|
|
|
85
85
|
|
|
86
86
|
The output in `.mastra` can be deployed to any cloud server using [`mastra start`](#mastra-start).
|
|
87
87
|
|
|
88
|
-
If you're deploying to a [serverless platform]/docs/v1/deployment/serverless-platforms) you need to install the correct deployer in order to receive the correct output in `.mastra`.
|
|
88
|
+
If you're deploying to a [serverless platform](/docs/v1/deployment/serverless-platforms) you need to install the correct deployer in order to receive the correct output in `.mastra`.
|
|
89
89
|
|
|
90
90
|
It accepts [common flags][common-flags].
|
|
91
91
|
|
|
@@ -109,7 +109,7 @@ You need to run `mastra build` before using `mastra start`.
|
|
|
109
109
|
|
|
110
110
|
:::
|
|
111
111
|
|
|
112
|
-
Starts a local server to serve your built Mastra application in production mode. By default, [OTEL Tracing]/docs/v1/observability/tracing/overview) is enabled.
|
|
112
|
+
Starts a local server to serve your built Mastra application in production mode. By default, [OTEL Tracing](/docs/v1/observability/tracing/overview) is enabled.
|
|
113
113
|
|
|
114
114
|
### Flags
|
|
115
115
|
|
|
@@ -121,7 +121,7 @@ The path to your built Mastra output directory. Defaults to `.mastra/output`.
|
|
|
121
121
|
|
|
122
122
|
#### `--no-telemetry`
|
|
123
123
|
|
|
124
|
-
Disable the [OTEL Tracing]/docs/v1/observability/tracing/overview).
|
|
124
|
+
Disable the [OTEL Tracing](/docs/v1/observability/tracing/overview).
|
|
125
125
|
|
|
126
126
|
## `mastra lint`
|
|
127
127
|
|
|
@@ -133,7 +133,7 @@ It accepts [common flags][common-flags].
|
|
|
133
133
|
|
|
134
134
|
The `mastra scorers` command provides management capabilities for evaluation scorers that measure the quality, accuracy, and performance of AI-generated outputs.
|
|
135
135
|
|
|
136
|
-
Read the [Scorers overview]/docs/v1/evals/overview) to learn more.
|
|
136
|
+
Read the [Scorers overview](/docs/v1/evals/overview) to learn more.
|
|
137
137
|
|
|
138
138
|
### `add`
|
|
139
139
|
|
|
@@ -59,8 +59,8 @@ const serverById = mastra.getMCPServerById('my-mcp-server');
|
|
|
59
59
|
|
|
60
60
|
## Related Methods
|
|
61
61
|
|
|
62
|
-
- [Mastra.getMCPServerById()]/reference/v1/core/getMCPServerById) - Retrieve an MCP server by its intrinsic `id` property
|
|
63
|
-
- [Mastra.listMCPServers()]/reference/v1/core/listMCPServers) - List all registered MCP servers
|
|
62
|
+
- [Mastra.getMCPServerById()](/reference/v1/core/getMCPServerById) - Retrieve an MCP server by its intrinsic `id` property
|
|
63
|
+
- [Mastra.listMCPServers()](/reference/v1/core/listMCPServers) - List all registered MCP servers
|
|
64
64
|
|
|
65
65
|
## See Also
|
|
66
66
|
|
|
@@ -72,10 +72,10 @@ const serverByKey = mastra.getMCPServer('customKey');
|
|
|
72
72
|
|
|
73
73
|
## Related Methods
|
|
74
74
|
|
|
75
|
-
- [Mastra.getMCPServer()]/reference/v1/core/getMCPServer) - Retrieve an MCP server by its registry key
|
|
76
|
-
- [Mastra.listMCPServers()]/reference/v1/core/listMCPServers) - List all registered MCP servers
|
|
75
|
+
- [Mastra.getMCPServer()](/reference/v1/core/getMCPServer) - Retrieve an MCP server by its registry key
|
|
76
|
+
- [Mastra.listMCPServers()](/reference/v1/core/listMCPServers) - List all registered MCP servers
|
|
77
77
|
|
|
78
78
|
## See Also
|
|
79
79
|
|
|
80
|
-
- [MCP overview]/docs/v1/tools-mcp/mcp-overview)
|
|
81
|
-
- [MCP server reference]/reference/v1/tools/mcp-server)
|
|
80
|
+
- [MCP overview](/docs/v1/tools-mcp/mcp-overview)
|
|
81
|
+
- [MCP server reference](/reference/v1/tools/mcp-server)
|
|
@@ -32,5 +32,5 @@ This method does not accept any parameters.
|
|
|
32
32
|
|
|
33
33
|
## Related
|
|
34
34
|
|
|
35
|
-
- [Tracing]/docs/v1/observability/tracing/overview)
|
|
36
|
-
- [Observability Configuration]/reference/v1/observability/tracing/configuration)
|
|
35
|
+
- [Tracing](/docs/v1/observability/tracing/overview)
|
|
36
|
+
- [Observability Configuration](/reference/v1/observability/tracing/configuration)
|
|
@@ -83,5 +83,5 @@ mastra.listLogsByRunId({ runId: "123", transportId: "456" });
|
|
|
83
83
|
|
|
84
84
|
## Related
|
|
85
85
|
|
|
86
|
-
- [Logging overview]/docs/v1/logging)
|
|
87
|
-
- [Logger reference]/reference/v1/logging/pino-logger)
|
|
86
|
+
- [Logging overview](/docs/v1/logging)
|
|
87
|
+
- [Logger reference](/reference/v1/logging/pino-logger)
|
|
@@ -56,10 +56,10 @@ This method does not accept any parameters.
|
|
|
56
56
|
|
|
57
57
|
## Related Methods
|
|
58
58
|
|
|
59
|
-
- [Mastra.getMCPServer()]/reference/v1/core/getMCPServer) - Retrieve an MCP server by its registry key
|
|
60
|
-
- [Mastra.getMCPServerById()]/reference/v1/core/getMCPServerById) - Retrieve an MCP server by its intrinsic `id` property
|
|
59
|
+
- [Mastra.getMCPServer()](/reference/v1/core/getMCPServer) - Retrieve an MCP server by its registry key
|
|
60
|
+
- [Mastra.getMCPServerById()](/reference/v1/core/getMCPServerById) - Retrieve an MCP server by its intrinsic `id` property
|
|
61
61
|
|
|
62
62
|
## See Also
|
|
63
63
|
|
|
64
|
-
- [MCP overview]/docs/v1/tools-mcp/mcp-overview)
|
|
65
|
-
- [MCP server reference]/reference/v1/tools/mcp-server)
|
|
64
|
+
- [MCP overview](/docs/v1/tools-mcp/mcp-overview)
|
|
65
|
+
- [MCP server reference](/reference/v1/tools/mcp-server)
|