@mastra/mcp-docs-server 1.2.13-alpha.0 → 1.2.13-alpha.11
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/agents/agent-approval.md +72 -0
- package/.docs/docs/agents/overview.md +1 -1
- package/.docs/docs/agents/supervisor-agents.md +2 -2
- package/.docs/docs/agents/using-tools.md +61 -33
- package/.docs/docs/{evals/datasets → datasets}/overview.md +3 -3
- package/.docs/docs/{evals/datasets → datasets}/running-experiments.md +57 -9
- package/.docs/docs/deployment/workers.md +14 -14
- package/.docs/docs/editor/overview.md +201 -206
- package/.docs/docs/evals/evals-with-memory.md +1 -1
- package/.docs/docs/getting-started/develop.md +196 -0
- package/.docs/docs/index.md +78 -1
- package/.docs/docs/long-running-agents/durable-agents.md +2 -2
- package/.docs/docs/mastra-platform/overview.md +1 -1
- package/.docs/docs/mastra-platform/workspaces.md +152 -0
- package/.docs/docs/memory/observational-memory.md +53 -13
- package/.docs/docs/memory/overview.md +14 -0
- package/.docs/docs/server/auth/workers.md +7 -5
- package/.docs/docs/server/mastra-client.md +60 -0
- package/.docs/docs/server/pubsub.md +2 -2
- package/.docs/docs/studio/observability.md +4 -0
- package/.docs/docs/studio/overview.md +2 -2
- package/.docs/docs/workflows/overview.md +1 -1
- package/.docs/docs/workflows/scheduled-workflows.md +1 -0
- package/.docs/docs/workspace/search.md +1 -1
- package/.docs/guides/deployment/kubernetes.md +2 -0
- package/.docs/guides/deployment/mastra-workers.md +350 -6
- package/.docs/guides/deployment/vercel.md +2 -0
- package/.docs/guides/getting-started/quickstart.md +3 -3
- package/.docs/{docs → guides}/rag/chunking-and-embedding.md +1 -1
- package/.docs/{docs → guides}/rag/graph-rag.md +1 -1
- package/.docs/{docs → guides}/rag/overview.md +2 -2
- package/.docs/{docs → guides}/rag/retrieval.md +1 -1
- package/.docs/{docs → guides}/voice/overview.md +4 -4
- package/.docs/{docs → guides}/voice/realtime-voice.md +2 -2
- package/.docs/{docs → guides}/voice/speech-to-speech.md +1 -1
- package/.docs/{docs → guides}/voice/speech-to-text.md +1 -1
- package/.docs/{docs → guides}/voice/text-to-speech.md +2 -2
- package/.docs/models/embeddings.md +63 -65
- package/.docs/models/environment-variables.md +2 -1
- package/.docs/models/gateways/openrouter.md +3 -6
- package/.docs/models/gateways/vercel.md +4 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/cortecs.md +2 -1
- package/.docs/models/providers/crof.md +2 -1
- package/.docs/models/providers/crossmodel.md +4 -3
- package/.docs/models/providers/empiriolabs.md +2 -1
- package/.docs/models/providers/greenpt.md +98 -0
- package/.docs/models/providers/huggingface.md +3 -1
- package/.docs/models/providers/hyper.md +10 -7
- package/.docs/models/providers/llmgateway.md +5 -4
- package/.docs/models/providers/minimax.md +1 -1
- package/.docs/models/providers/neuralwatt.md +3 -1
- package/.docs/models/providers/openai.md +2 -2
- package/.docs/models/providers/opencode-go.md +2 -1
- package/.docs/models/providers/opencode.md +1 -1
- package/.docs/models/providers/perplexity-agent.md +3 -1
- package/.docs/models/providers/scaleway.md +1 -3
- package/.docs/models/providers/the-grid-ai.md +3 -3
- package/.docs/models/providers/zai-coding-plan.md +11 -13
- package/.docs/models/providers/zhipuai-coding-plan.md +12 -12
- package/.docs/models/providers.md +1 -0
- package/.docs/reference/agents/agent.md +1 -1
- package/.docs/reference/agents/durable-agent.md +12 -1
- package/.docs/reference/agents/generate.md +1 -1
- package/.docs/reference/agents/getVoice.md +1 -1
- package/.docs/{docs/getting-started → reference}/build-with-ai.md +5 -110
- package/.docs/reference/cli/create-mastra.md +2 -0
- package/.docs/reference/cli/mastra.md +36 -16
- package/.docs/reference/client-js/agents.md +1 -1
- package/.docs/reference/configuration.md +2 -2
- package/.docs/reference/core/getEditor.md +1 -1
- package/.docs/reference/core/getVector.md +2 -2
- package/.docs/reference/core/listVectors.md +2 -2
- package/.docs/reference/core/mastra-class.md +2 -2
- package/.docs/reference/datasets/startExperiment.md +8 -0
- package/.docs/reference/datasets/startExperimentAsync.md +4 -0
- package/.docs/reference/editor/browser-provider.md +2 -2
- package/.docs/reference/editor/filesystem-provider.md +1 -1
- package/.docs/reference/editor/mastra-editor.md +31 -18
- package/.docs/reference/editor/prompt-blocks.md +137 -0
- package/.docs/reference/editor/sandbox-provider.md +1 -1
- package/.docs/reference/editor/storage-browser-ref.md +3 -3
- package/.docs/reference/editor/storage-workspace-ref.md +3 -3
- package/.docs/reference/editor/tool-provider.md +44 -10
- package/.docs/reference/editor/tools.md +100 -0
- package/.docs/reference/editor/versioning.md +130 -0
- package/.docs/reference/evals/mastra-scorer.md +68 -8
- package/.docs/reference/evals/summarization.md +203 -0
- package/.docs/reference/file-based-agents/config.md +39 -1
- package/.docs/reference/index.md +4 -4
- package/.docs/reference/memory/observational-memory.md +76 -24
- package/.docs/reference/memory/serialized-memory-config.md +3 -3
- package/.docs/reference/observability/tracing/interfaces.md +6 -1
- package/.docs/reference/processors/processor-interface.md +14 -2
- package/.docs/reference/processors/regex-filter-processor.md +81 -9
- package/.docs/reference/processors/token-limiter-processor.md +15 -1
- package/.docs/reference/project-structure.md +1 -1
- package/.docs/reference/rag/database-config.md +1 -1
- package/.docs/reference/storage/composite.md +2 -0
- package/.docs/reference/streaming/agents/stream.md +1 -1
- package/.docs/reference/tools/isolated-vm-transport.md +1 -1
- package/.docs/reference/vectors/mongodb.md +13 -13
- package/.docs/reference/voice/livekit.md +3 -3
- package/.docs/reference/workers/overview.md +10 -8
- package/.docs/reference/workspace/platform-filesystem.md +8 -5
- package/.docs/reference/workspace/platform-sandbox.md +83 -7
- package/CHANGELOG.md +51 -0
- package/README.md +1 -1
- package/package.json +5 -5
- package/.docs/docs/agent-builder/access-control.md +0 -99
- package/.docs/docs/agent-builder/browser.md +0 -63
- package/.docs/docs/agent-builder/channels.md +0 -78
- package/.docs/docs/agent-builder/configuration.md +0 -132
- package/.docs/docs/agent-builder/deploying.md +0 -124
- package/.docs/docs/agent-builder/integrations.md +0 -115
- package/.docs/docs/agent-builder/memory.md +0 -69
- package/.docs/docs/agent-builder/model-policy.md +0 -50
- package/.docs/docs/agent-builder/overview.md +0 -114
- package/.docs/docs/agent-builder/skill-registries.md +0 -31
- package/.docs/docs/agent-builder/workspace.md +0 -62
- package/.docs/docs/editor/prompts.md +0 -140
- package/.docs/docs/editor/tools.md +0 -148
- package/.docs/docs/getting-started/file-based-agents.md +0 -121
- package/.docs/docs/mastra-platform/workspace.md +0 -111
- package/.docs/docs/what-is-mastra.md +0 -161
- package/.docs/reference/client-js/agent-builder.md +0 -163
- package/.docs/reference/editor/agent-builder/agent-builder-options.md +0 -76
- package/.docs/reference/editor/agent-builder/builder-agent-defaults.md +0 -79
- package/.docs/reference/editor/agent-builder/builder-models.md +0 -66
- /package/.docs/{docs → guides}/getting-started/manual-install.md +0 -0
- /package/.docs/{docs → guides}/rag/vector-databases.md +0 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Access Mastra's documentation via [Model Context Protocol (MCP)](https://modelco
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
|
-
Follow the [official installation](https://mastra.ai/
|
|
7
|
+
Follow the [official installation](https://mastra.ai/reference/build-with-ai#mcp-docs-server) instructions.
|
|
8
8
|
|
|
9
9
|
## Tools
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.2.13-alpha.
|
|
3
|
+
"version": "1.2.13-alpha.11",
|
|
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/core": "1.
|
|
32
|
-
"@mastra/mcp": "^1.15.
|
|
31
|
+
"@mastra/core": "1.56.0-alpha.6",
|
|
32
|
+
"@mastra/mcp": "^1.15.1-alpha.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@hono/node-server": "^1.19.14",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"tsx": "^4.23.1",
|
|
46
46
|
"typescript": "^6.0.3",
|
|
47
47
|
"vitest": "4.1.10",
|
|
48
|
+
"@mastra/core": "1.56.0-alpha.6",
|
|
48
49
|
"@internal/lint": "0.0.119",
|
|
49
|
-
"@internal/types-builder": "0.0.94"
|
|
50
|
-
"@mastra/core": "1.55.0"
|
|
50
|
+
"@internal/types-builder": "0.0.94"
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://mastra.ai",
|
|
53
53
|
"repository": {
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
-
|
|
3
|
-
# Access control
|
|
4
|
-
|
|
5
|
-
> **Note:** The Agent Builder is part of the Mastra Enterprise Edition. Production deployments require a valid EE license. [Contact sales](https://mastra.ai/contact) for more information.
|
|
6
|
-
|
|
7
|
-
The Agent Builder includes with two supported roles: `admin` and `member`. Wire them through `Mastra.server.rbac`. Without an RBAC provider, every authenticated user has full Builder access; without authentication, the Builder is open to anyone who can reach the server.
|
|
8
|
-
|
|
9
|
-
## Roles
|
|
10
|
-
|
|
11
|
-
| Role | Permissions | What they can do |
|
|
12
|
-
| -------- | ------------------- | ----------------------------------------------------------------------------------------------- |
|
|
13
|
-
| `admin` | `*` | Full access. Create, edit, publish, and delete agents and skills. Manage every Builder surface. |
|
|
14
|
-
| `member` | scoped list (below) | Open the Builder, browse agents and skills, populate pickers, and chat with the Builder agent. |
|
|
15
|
-
|
|
16
|
-
## Minimum permissions
|
|
17
|
-
|
|
18
|
-
The Builder UI calls several resources on load, so a usable `member` role needs explicit grants on each. The Builder action layer (`/agent-builder/*`) is one resource. The data it reads and writes lives under separate resources.
|
|
19
|
-
|
|
20
|
-
| Permission | Used for |
|
|
21
|
-
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
22
|
-
| `agent-builder:*` | Load Builder actions and run Builder workflows. The derived Builder actions are `agent-builder:read` and `agent-builder:execute`. The wildcard grants both. |
|
|
23
|
-
| `agents:read`, `agents:execute` | List registered agents and chat with the Builder agent |
|
|
24
|
-
| `stored-agents:*` | List, view, create, and edit agents |
|
|
25
|
-
| `stored-skills:*` | List, view, create, and edit stored skills |
|
|
26
|
-
| `stored-workspaces:*` | Pick a workspace when editing an agent |
|
|
27
|
-
| `tools:read`, `tools:execute` | Populate the tool picker and run tools through agents |
|
|
28
|
-
| `workflows:read`, `workflows:execute` | Populate the workflow picker and run workflows through agents |
|
|
29
|
-
| `memory:read` | Preview memory configuration in the picker |
|
|
30
|
-
| `channels:read` | Show Slack/channel chips on agent pages |
|
|
31
|
-
| `infrastructure:read` | Builder diagnostics banner on the shell |
|
|
32
|
-
|
|
33
|
-
Grant `:write`, `:delete`, and `:publish` on `stored-agents` and `stored-skills` for users who should create or modify agents. The `:*` wildcards in the table above cover those actions. `admin` covers everything through the `*` wildcard.
|
|
34
|
-
|
|
35
|
-
## Quickstart with WorkOS
|
|
36
|
-
|
|
37
|
-
`@mastra/auth-workos` provides `MastraAuthWorkos` for SSO and `MastraRBACWorkos` for role-based access. Map WorkOS organization roles to the Builder's `admin` and `member` roles via `roleMapping`:
|
|
38
|
-
|
|
39
|
-
```typescript
|
|
40
|
-
import { MastraAuthWorkos, MastraRBACWorkos } from '@mastra/auth-workos'
|
|
41
|
-
|
|
42
|
-
export const mastraAuth = new MastraAuthWorkos({
|
|
43
|
-
redirectUri: process.env.WORKOS_REDIRECT_URI || 'http://localhost:4111/api/auth/callback',
|
|
44
|
-
})
|
|
45
|
-
|
|
46
|
-
export const rbacProvider = new MastraRBACWorkos({
|
|
47
|
-
roleMapping: {
|
|
48
|
-
admin: ['*'],
|
|
49
|
-
member: [
|
|
50
|
-
'agent-builder:*',
|
|
51
|
-
'agents:read',
|
|
52
|
-
'agents:execute',
|
|
53
|
-
'stored-agents:*',
|
|
54
|
-
'stored-skills:*',
|
|
55
|
-
'stored-workspaces:*',
|
|
56
|
-
'tools:read',
|
|
57
|
-
'tools:execute',
|
|
58
|
-
'workflows:read',
|
|
59
|
-
'workflows:execute',
|
|
60
|
-
'memory:read',
|
|
61
|
-
'channels:read',
|
|
62
|
-
'infrastructure:read',
|
|
63
|
-
],
|
|
64
|
-
_default: [],
|
|
65
|
-
},
|
|
66
|
-
})
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
Register both providers on the Mastra server:
|
|
70
|
-
|
|
71
|
-
```typescript
|
|
72
|
-
import { Mastra } from '@mastra/core/mastra'
|
|
73
|
-
import { mastraAuth, rbacProvider } from './auth'
|
|
74
|
-
|
|
75
|
-
export const mastra = new Mastra({
|
|
76
|
-
server: {
|
|
77
|
-
auth: mastraAuth,
|
|
78
|
-
rbac: rbacProvider,
|
|
79
|
-
},
|
|
80
|
-
// ...storage, agents, editor
|
|
81
|
-
})
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
`_default` covers WorkOS roles not listed in the mapping. Omit it to deny unmapped users. Set `WORKOS_API_KEY` and `WORKOS_CLIENT_ID` in your environment.
|
|
85
|
-
|
|
86
|
-
## Permission grammar
|
|
87
|
-
|
|
88
|
-
Permission patterns follow `resource:action`. Wildcards are supported on either side:
|
|
89
|
-
|
|
90
|
-
- `*`: Full access (every resource, every action). Used by `admin`.
|
|
91
|
-
- `agent-builder:*`: Every action on the `agent-builder` resource.
|
|
92
|
-
- `*:read`: `read` Across every resource.
|
|
93
|
-
|
|
94
|
-
Patterns resolve through `matchesPermission()`. The first matching role permission grants the action.
|
|
95
|
-
|
|
96
|
-
## Related
|
|
97
|
-
|
|
98
|
-
- [Configuration](https://mastra.ai/docs/agent-builder/configuration): Wire RBAC alongside the rest of the Builder config.
|
|
99
|
-
- [Deploying](https://mastra.ai/docs/agent-builder/deploying): Auth, RBAC, and EE license setup for production.
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
-
|
|
3
|
-
# Browser
|
|
4
|
-
|
|
5
|
-
> **Note:** The Agent Builder is part of the Mastra Enterprise Edition. Production deployments require a valid EE license. [Contact sales](https://mastra.ai/contact) for more information.
|
|
6
|
-
|
|
7
|
-
The Agent Builder can give end-user agents a browser tool driven by a registered provider. Unlike filesystems and sandboxes, **there are no built-in browser providers** and you must register one through `MastraEditor.browsers`.
|
|
8
|
-
|
|
9
|
-
## Quickstart
|
|
10
|
-
|
|
11
|
-
Register a browser provider on `MastraEditor`, then pin it as the Builder default through `builder.configuration.agent.browser`:
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { MastraEditor } from '@mastra/editor'
|
|
15
|
-
import { StagehandBrowser } from '@mastra/stagehand'
|
|
16
|
-
|
|
17
|
-
new MastraEditor({
|
|
18
|
-
browsers: {
|
|
19
|
-
stagehand: {
|
|
20
|
-
id: 'stagehand',
|
|
21
|
-
name: 'Stagehand Browser',
|
|
22
|
-
createBrowser: config =>
|
|
23
|
-
new StagehandBrowser({
|
|
24
|
-
...config,
|
|
25
|
-
apiKey: process.env.BROWSERBASE_API_KEY ?? '',
|
|
26
|
-
env: 'BROWSERBASE',
|
|
27
|
-
projectId: process.env.BROWSERBASE_PROJECT_ID ?? '',
|
|
28
|
-
}),
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
builder: {
|
|
32
|
-
enabled: true,
|
|
33
|
-
configuration: {
|
|
34
|
-
agent: {
|
|
35
|
-
browser: {
|
|
36
|
-
type: 'inline',
|
|
37
|
-
config: { provider: 'stagehand', headless: true },
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
})
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Browser providers
|
|
46
|
-
|
|
47
|
-
`MastraEditor.browsers` accepts a `Record<string, BrowserProvider>`. Each provider exposes:
|
|
48
|
-
|
|
49
|
-
- `id`: Provider identifier, matched against `StorageBrowserConfig.provider` (e.g., `'stagehand'`).
|
|
50
|
-
- `name`: Display name shown in the Builder UI.
|
|
51
|
-
- `createBrowser(config)`: Hydrates a stored browser config into a runtime `MastraBrowser`. This is where you inject runtime-only credentials (API keys, project IDs) that aren't stored in the agent snapshot.
|
|
52
|
-
|
|
53
|
-
Browser classes release as separate packages (e.g., `@mastra/stagehand`, `@mastra/agent-browser`). The provider entry is a plain object wrapping the class, register one entry per browser you want the Builder to expose to end users. See the [StorageBrowserRef reference](https://mastra.ai/reference/editor/storage-browser-ref) for the full `browser` field schema, including all `StorageBrowserConfig` options.
|
|
54
|
-
|
|
55
|
-
## Feature toggle
|
|
56
|
-
|
|
57
|
-
The `features.agent.browser` toggle controls whether end users can enable browser access per agent in the Builder UI. It defaults to `true` only when a valid `configuration.agent.browser` (with a `config.provider`) is provided. Without a registered provider matching the pinned config, the toggle is forced off.
|
|
58
|
-
|
|
59
|
-
## Related
|
|
60
|
-
|
|
61
|
-
- [BuilderAgentDefaults reference](https://mastra.ai/reference/editor/agent-builder/builder-agent-defaults): The full `browser` field schema.
|
|
62
|
-
- [AgentBuilderOptions reference](https://mastra.ai/reference/editor/agent-builder/agent-builder-options): The full Builder config surface, including `features.agent.browser`.
|
|
63
|
-
- [Configuration](https://mastra.ai/docs/agent-builder/configuration): Wire `browser` alongside the rest of the Builder config.
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
-
|
|
3
|
-
# Channels
|
|
4
|
-
|
|
5
|
-
> **Note:** The Agent Builder is part of the Mastra Enterprise Edition. Production deployments require a valid EE license. [Contact sales](https://mastra.ai/contact) for more information.
|
|
6
|
-
|
|
7
|
-
Channels let Builder-created agents reach users outside the Mastra server. Register a channel provider on `Mastra.channels` and the Builder exposes the channel as an integration option for every agent.
|
|
8
|
-
|
|
9
|
-
Slack is currently the only supported channel.
|
|
10
|
-
|
|
11
|
-
## Quickstart
|
|
12
|
-
|
|
13
|
-
Install the Slack provider:
|
|
14
|
-
|
|
15
|
-
**npm**:
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
npm install @mastra/slack
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
**pnpm**:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
pnpm add @mastra/slack
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
**Yarn**:
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
yarn add @mastra/slack
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
**Bun**:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
bun add @mastra/slack
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Register `SlackProvider` on `Mastra.channels`:
|
|
40
|
-
|
|
41
|
-
```typescript
|
|
42
|
-
import { Mastra } from '@mastra/core/mastra'
|
|
43
|
-
import { MastraEditor } from '@mastra/editor'
|
|
44
|
-
import { createBuilderAgent } from '@mastra/editor/ee'
|
|
45
|
-
import { SlackProvider } from '@mastra/slack'
|
|
46
|
-
|
|
47
|
-
export const mastra = new Mastra({
|
|
48
|
-
storage,
|
|
49
|
-
channels: {
|
|
50
|
-
slack: new SlackProvider({
|
|
51
|
-
refreshToken: process.env.SLACK_APP_CONFIG_REFRESH_TOKEN,
|
|
52
|
-
baseUrl: process.env.SLACK_BASE_URL,
|
|
53
|
-
}),
|
|
54
|
-
},
|
|
55
|
-
agents: { builderAgent: createBuilderAgent() },
|
|
56
|
-
editor: new MastraEditor({
|
|
57
|
-
builder: { enabled: true },
|
|
58
|
-
}),
|
|
59
|
-
})
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
The Slack provider handles app creation, OAuth, slash commands, and message routing for every Builder-created agent that opts in.
|
|
63
|
-
|
|
64
|
-
## Configuration
|
|
65
|
-
|
|
66
|
-
`SlackProvider` requires one environment variable and accepts one optional override:
|
|
67
|
-
|
|
68
|
-
- `SLACK_APP_CONFIG_REFRESH_TOKEN` (required): The refresh token from your Slack app configuration tokens, available under **Your App Configuration Tokens** on [api.slack.com/apps](https://api.slack.com/apps). The refresh token doesn't expire, but the access tokens it issues rotate every 12 hours and are auto-persisted to `Mastra.storage`.
|
|
69
|
-
- `baseUrl` (optional): The public URL Slack should send events and OAuth callbacks to. Defaults to the running Mastra server's host and port (for example, `http://localhost:4111` in local development). Pass `baseUrl` explicitly when the public URL differs from the server's resolved address: typically a tunnel for local development (`cloudflared tunnel --url http://localhost:4111`) or a deployed URL in production.
|
|
70
|
-
|
|
71
|
-
## Storage requirement
|
|
72
|
-
|
|
73
|
-
`SlackProvider` requires a persistent storage backend on the `Mastra` instance. Without storage, rotated tokens and app installations are lost on restart.
|
|
74
|
-
|
|
75
|
-
## Related
|
|
76
|
-
|
|
77
|
-
- [Deploying](https://mastra.ai/docs/agent-builder/deploying): Set a public `baseUrl` for production deployments.
|
|
78
|
-
- [Configuration](https://mastra.ai/docs/agent-builder/configuration): Wire channel toggles into the Builder UI.
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
-
|
|
3
|
-
# Configuration
|
|
4
|
-
|
|
5
|
-
> **Note:** The Agent Builder is part of the Mastra Enterprise Edition. Production deployments require a valid EE license. [Contact sales](https://mastra.ai/contact) for more information.
|
|
6
|
-
|
|
7
|
-
The Agent Builder is configured through `MastraEditor.builder`. Top-level keys control its behavior: `features` toggles UI visibility and `configuration` pins admin-controlled defaults onto every new agent.
|
|
8
|
-
|
|
9
|
-
## Quickstart
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
import { MastraEditor } from '@mastra/editor'
|
|
13
|
-
|
|
14
|
-
new MastraEditor({
|
|
15
|
-
builder: {
|
|
16
|
-
enabled: true,
|
|
17
|
-
features: {
|
|
18
|
-
agent: { browser: false },
|
|
19
|
-
},
|
|
20
|
-
configuration: {
|
|
21
|
-
agent: {
|
|
22
|
-
memory: { observationalMemory: true },
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
})
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
This hides the browser tab in the Builder UI and pins observational memory as the default for every Builder-created agent.
|
|
30
|
-
|
|
31
|
-
## Feature toggles
|
|
32
|
-
|
|
33
|
-
`builder.features.agent` controls which sections appear in the Agent Builder UI. Set a key to `false` to hide the corresponding surface.
|
|
34
|
-
|
|
35
|
-
```typescript
|
|
36
|
-
new MastraEditor({
|
|
37
|
-
builder: {
|
|
38
|
-
enabled: true,
|
|
39
|
-
features: {
|
|
40
|
-
agent: {
|
|
41
|
-
tools: true,
|
|
42
|
-
agents: true,
|
|
43
|
-
workflows: true,
|
|
44
|
-
scorers: true,
|
|
45
|
-
skills: true,
|
|
46
|
-
memory: true,
|
|
47
|
-
variables: true,
|
|
48
|
-
favorites: true,
|
|
49
|
-
avatarUpload: true,
|
|
50
|
-
model: true,
|
|
51
|
-
browser: true,
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
})
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
The UI consumes these `AgentFeatures` keys: `tools`, `agents`, `workflows`, `scorers`, `skills`, `memory`, `variables`, `favorites`, `avatarUpload`, `model`, and `browser`. See the [AgentBuilderOptions reference](https://mastra.ai/reference/editor/agent-builder/agent-builder-options) for the full schema.
|
|
59
|
-
|
|
60
|
-
## Admin defaults
|
|
61
|
-
|
|
62
|
-
`builder.configuration.agent` pins admin-controlled defaults onto every agent the Builder produces.
|
|
63
|
-
|
|
64
|
-
`configuration.agent` accepts `models`, `memory`, `workspace`, `browser`, `tools`, `agents`, and `workflows`. See the [BuilderAgentDefaults reference](https://mastra.ai/reference/editor/agent-builder/builder-agent-defaults) for the full shape.
|
|
65
|
-
|
|
66
|
-
## Making tools, agents, and workflows available
|
|
67
|
-
|
|
68
|
-
The Builder picks from whatever you register on the `Mastra` instance. Tools registered through `Mastra({ tools })`, agents registered through `Mastra({ agents })`, and workflows registered through `Mastra({ workflows })` are all candidates for Builder-created agents.
|
|
69
|
-
|
|
70
|
-
```typescript
|
|
71
|
-
import { Mastra } from '@mastra/core/mastra'
|
|
72
|
-
import { MastraEditor } from '@mastra/editor'
|
|
73
|
-
import { createBuilderAgent } from '@mastra/editor/ee'
|
|
74
|
-
import { weatherInfo } from './tools/weather-info'
|
|
75
|
-
import { webSearch } from './tools/web-search'
|
|
76
|
-
|
|
77
|
-
export const mastra = new Mastra({
|
|
78
|
-
tools: {
|
|
79
|
-
weatherInfo,
|
|
80
|
-
webSearch,
|
|
81
|
-
// add MCP tools or additional tools here
|
|
82
|
-
},
|
|
83
|
-
agents: {
|
|
84
|
-
builderAgent: createBuilderAgent(),
|
|
85
|
-
// add additional agents here
|
|
86
|
-
},
|
|
87
|
-
workflows: {
|
|
88
|
-
// add workflows here
|
|
89
|
-
},
|
|
90
|
-
editor: new MastraEditor({
|
|
91
|
-
builder: { enabled: true },
|
|
92
|
-
}),
|
|
93
|
-
})
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
With no `configuration.agent.tools.allowed` set, both `weather-info` and `web-search` appear in the Builder's tool picker. End users can attach either tool to any agent they create.
|
|
97
|
-
|
|
98
|
-
Entries match on `tool.id`, `Agent.id`, or `workflow.id`, the string the entity reports at runtime, not the export name.
|
|
99
|
-
|
|
100
|
-
MCP tools work the same way: load them via `MCPClient.getTools()` and spread the result into the `tools` map.
|
|
101
|
-
|
|
102
|
-
## Tool, agent, and workflow allowlists
|
|
103
|
-
|
|
104
|
-
`configuration.agent.tools`, `configuration.agent.agents`, and `configuration.agent.workflows` constrain which registered entries appear in the Builder's pickers. Allowlist semantics are the same for all three:
|
|
105
|
-
|
|
106
|
-
- **Omitted**: Unrestricted. The picker shows every registered entry.
|
|
107
|
-
- **`allowed: []`**: Explicit lockdown. The picker is empty.
|
|
108
|
-
- **`allowed: [...ids]`**: The picker shows only the listed IDs.
|
|
109
|
-
|
|
110
|
-
Unknown IDs are dropped and surfaced as warnings through `getModelPolicyWarnings()` and the server logs.
|
|
111
|
-
|
|
112
|
-
```typescript
|
|
113
|
-
new MastraEditor({
|
|
114
|
-
builder: {
|
|
115
|
-
enabled: true,
|
|
116
|
-
configuration: {
|
|
117
|
-
agent: {
|
|
118
|
-
tools: { allowed: ['weather-info', 'web-search'] },
|
|
119
|
-
agents: { allowed: ['weather-agent'] },
|
|
120
|
-
workflows: { allowed: ['greet-workflow'] },
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
})
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
## Related
|
|
128
|
-
|
|
129
|
-
- [Model policy](https://mastra.ai/docs/agent-builder/model-policy): Pin the allowed models and default model.
|
|
130
|
-
- [Memory](https://mastra.ai/docs/agent-builder/memory): Set the default memory shape for new agents.
|
|
131
|
-
- [AgentBuilderOptions reference](https://mastra.ai/reference/editor/agent-builder/agent-builder-options): Full property list.
|
|
132
|
-
- [BuilderAgentDefaults reference](https://mastra.ai/reference/editor/agent-builder/builder-agent-defaults): Every field on `configuration.agent`.
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
-
|
|
3
|
-
# Deploying
|
|
4
|
-
|
|
5
|
-
> **Note:** The Agent Builder is part of the Mastra Enterprise Edition. Production deployments require a valid EE license. [Contact sales](https://mastra.ai/contact) for more information.
|
|
6
|
-
|
|
7
|
-
Production deployments swap the local primitives in the Quickstart for cloud-backed equivalents. The shape of the `Mastra` and `MastraEditor` config doesn't change, only the providers behind it.
|
|
8
|
-
|
|
9
|
-
## What a production deployment needs
|
|
10
|
-
|
|
11
|
-
1. **EE license**: A valid `MASTRA_EE_LICENSE` so the server will start with the Builder enabled.
|
|
12
|
-
2. **Hosted storage**: A shared store for agents, skills, runs, and memory.
|
|
13
|
-
3. **Shared workspace filesystem**: Survives across instances. `local` is single-node only.
|
|
14
|
-
4. **Cloud sandbox**: Runs agent commands safely. `local` is unsafe in shared environments.
|
|
15
|
-
5. **Auth and RBAC**: Gates the Builder UI and `/agent-builder/*` routes.
|
|
16
|
-
6. **Public base URL for channels**: Slack and other channel providers need a reachable URL.
|
|
17
|
-
|
|
18
|
-
## EE license
|
|
19
|
-
|
|
20
|
-
Set `MASTRA_EE_LICENSE` in the deployment environment. The server refuses to start when `builder.enabled` is truthy without a valid license. Treat the license key as a secret.
|
|
21
|
-
|
|
22
|
-
## Storage
|
|
23
|
-
|
|
24
|
-
Replace the file-backed LibSQL store with a hosted backend. LibSQL Cloud, PostgreSQL, and any other Mastra storage adapter all work.
|
|
25
|
-
|
|
26
|
-
```typescript
|
|
27
|
-
import { Mastra } from '@mastra/core/mastra'
|
|
28
|
-
import { LibSQLStore } from '@mastra/libsql'
|
|
29
|
-
|
|
30
|
-
new Mastra({
|
|
31
|
-
storage: new LibSQLStore({
|
|
32
|
-
id: 'mastra-storage',
|
|
33
|
-
url: process.env.DATABASE_URL!,
|
|
34
|
-
authToken: process.env.DATABASE_AUTH_TOKEN,
|
|
35
|
-
}),
|
|
36
|
-
})
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Workspace filesystem and sandbox
|
|
40
|
-
|
|
41
|
-
`local` filesystem works only on the node that owns the directory. For multi-instance deployments, register cloud filesystem and sandbox providers on `MastraEditor` and reference them by id in the inline workspace config.
|
|
42
|
-
|
|
43
|
-
**npm**:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
npm install @mastra/s3 @mastra/e2b
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
**pnpm**:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
pnpm add @mastra/s3 @mastra/e2b
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**Yarn**:
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
yarn add @mastra/s3 @mastra/e2b
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
**Bun**:
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
bun add @mastra/s3 @mastra/e2b
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
```typescript
|
|
68
|
-
import { Mastra } from '@mastra/core/mastra'
|
|
69
|
-
import { MastraEditor } from '@mastra/editor'
|
|
70
|
-
import { s3FilesystemProvider } from '@mastra/s3'
|
|
71
|
-
import { e2bSandboxProvider } from '@mastra/e2b'
|
|
72
|
-
|
|
73
|
-
new Mastra({
|
|
74
|
-
editor: new MastraEditor({
|
|
75
|
-
filesystems: { [s3FilesystemProvider.id]: s3FilesystemProvider },
|
|
76
|
-
sandboxes: { [e2bSandboxProvider.id]: e2bSandboxProvider },
|
|
77
|
-
builder: {
|
|
78
|
-
enabled: true,
|
|
79
|
-
configuration: {
|
|
80
|
-
agent: {
|
|
81
|
-
workspace: {
|
|
82
|
-
type: 'inline',
|
|
83
|
-
config: {
|
|
84
|
-
name: 'builder-workspace',
|
|
85
|
-
filesystem: {
|
|
86
|
-
provider: s3FilesystemProvider.id,
|
|
87
|
-
config: {
|
|
88
|
-
bucket: process.env.S3_BUCKET!,
|
|
89
|
-
region: process.env.S3_REGION!,
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
sandbox: {
|
|
93
|
-
provider: e2bSandboxProvider.id,
|
|
94
|
-
config: { apiKey: process.env.E2B_API_KEY! },
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
|
-
},
|
|
98
|
-
},
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
}),
|
|
102
|
-
})
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
`S3Filesystem` uses the default AWS credential chain (environment variables, `~/.aws` config, IAM roles, EC2 instance profile). For long-running deployments, use a credential provider function so credentials refresh automatically.
|
|
106
|
-
|
|
107
|
-
`DockerSandbox`, `VercelSandbox`, and `VercelServerlessSandbox` are alternative cloud sandbox providers. Pick whichever matches your runtime.
|
|
108
|
-
|
|
109
|
-
> **Warning:** A local sandbox can't run commands safely in a shared environment. Always register a cloud sandbox provider and reference it in the workspace config before deploying.
|
|
110
|
-
|
|
111
|
-
## Auth and RBAC
|
|
112
|
-
|
|
113
|
-
A production deployment without authentication exposes the Builder to the public internet. Register a `Mastra.server.auth` provider (for example, WorkOS or your own provider) and a `Mastra.server.rbac` provider to gate access.
|
|
114
|
-
|
|
115
|
-
See [Access control](https://mastra.ai/docs/agent-builder/access-control) for the required role permissions and a WorkOS quickstart.
|
|
116
|
-
|
|
117
|
-
## Public URL for channels
|
|
118
|
-
|
|
119
|
-
Slack needs to reach your server through a public URL. Pass `baseUrl` to `SlackProvider` with the deployed URL (no trailing slash). See [Channels](https://mastra.ai/docs/agent-builder/channels) for the full setup.
|
|
120
|
-
|
|
121
|
-
## Related
|
|
122
|
-
|
|
123
|
-
- [Access control](https://mastra.ai/docs/agent-builder/access-control): Auth and RBAC setup.
|
|
124
|
-
- [Channels](https://mastra.ai/docs/agent-builder/channels): Slack `baseUrl` and channel-specific setup.
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
-
|
|
3
|
-
# Tool providers
|
|
4
|
-
|
|
5
|
-
> **Note:** The Agent Builder is part of the Mastra Enterprise Edition. Production deployments require a valid EE license. [Contact sales](https://mastra.ai/contact) for more information.
|
|
6
|
-
|
|
7
|
-
Tool providers let Builder-created agents call tools from third-party apps such as Gmail, Slack, or GitHub. The Builder reuses the same tool providers as the editor, so any provider registered on `MastraEditor` is available in the Builder.
|
|
8
|
-
|
|
9
|
-
This page covers Builder-specific connection setup, scope selection, and management. To register a provider and enable its toolkits, see [Tools](https://mastra.ai/docs/editor/tools).
|
|
10
|
-
|
|
11
|
-
## Setup at a glance
|
|
12
|
-
|
|
13
|
-
To connect a toolkit like Gmail and use it from a Builder agent:
|
|
14
|
-
|
|
15
|
-
1. [Register a tool provider](#register-a-tool-provider) on `MastraEditor` with your Composio API key.
|
|
16
|
-
2. [Set up a Composio auth config](#set-up-a-composio-auth-config) for the toolkit and enable it.
|
|
17
|
-
3. In the Builder, [connect the toolkit](#connect-a-toolkit) and authorize the connection.
|
|
18
|
-
4. [Choose a connection scope](#connection-scope) if the default author-owned account isn't what you want.
|
|
19
|
-
|
|
20
|
-
The rest of this page covers each step in detail.
|
|
21
|
-
|
|
22
|
-
## Prerequisites
|
|
23
|
-
|
|
24
|
-
Before agents can use integration tools in the Builder:
|
|
25
|
-
|
|
26
|
-
- Register a tool provider on the `toolProviders` map of `MastraEditor` (see below).
|
|
27
|
-
- Set up a Composio auth config for each toolkit you want to use (see below).
|
|
28
|
-
- Configure a storage adapter on the `Mastra` instance. Connection state persists through `Mastra.storage`.
|
|
29
|
-
|
|
30
|
-
## Register a tool provider
|
|
31
|
-
|
|
32
|
-
The Builder reuses the editor's tool providers. Register each provider you want to expose on the `toolProviders` map of `MastraEditor`. Mastra includes providers for [Composio](https://composio.dev) and [Arcade](https://arcade.dev). Add a provider by giving it a key and an instance.
|
|
33
|
-
|
|
34
|
-
```typescript
|
|
35
|
-
import { Mastra } from '@mastra/core'
|
|
36
|
-
import { MastraEditor } from '@mastra/editor'
|
|
37
|
-
import { ComposioToolProvider } from '@mastra/editor/composio'
|
|
38
|
-
|
|
39
|
-
export const mastra = new Mastra({
|
|
40
|
-
agents: {/* your agents */},
|
|
41
|
-
editor: new MastraEditor({
|
|
42
|
-
toolProviders: {
|
|
43
|
-
composio: new ComposioToolProvider({
|
|
44
|
-
apiKey: process.env.COMPOSIO_API_KEY!,
|
|
45
|
-
allowedToolkits: ['gmail', 'googlecalendar'],
|
|
46
|
-
}),
|
|
47
|
-
},
|
|
48
|
-
}),
|
|
49
|
-
})
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Each provider's toolkits become available in the Builder once it's registered. Use `allowedToolkits` to restrict which toolkits the provider exposes, by slug, such as `gmail` or `googlecalendar`. Omit it to expose every toolkit the provider offers. To add another provider, import it and add another entry to `toolProviders`. For the full list of providers and their options, see [Tools, Integration providers](https://mastra.ai/docs/editor/tools).
|
|
53
|
-
|
|
54
|
-
`ComposioToolProvider` needs a Composio **project** API key (the `x-api-key` type from a project's settings in the [Composio dashboard](https://dashboard.composio.dev)). Store it in an environment variable, as shown with `COMPOSIO_API_KEY` above.
|
|
55
|
-
|
|
56
|
-
## Set up a Composio auth config
|
|
57
|
-
|
|
58
|
-
Each toolkit a user can connect needs its own auth config in the [Composio dashboard](https://dashboard.composio.dev). An auth config defines how Composio authenticates with an app, its OAuth client, scopes, and credentials. Each toolkit needs its own because requirements vary by app: some share common OAuth methods, while others need extra setup. Without an enabled config, the connection flow fails.
|
|
59
|
-
|
|
60
|
-
1. Open the [Composio dashboard](https://dashboard.composio.dev) and select the toolkit you want to enable, for example **Gmail** or **GitHub**.
|
|
61
|
-
2. Create an auth config for the toolkit and complete the app-specific setup. Composio's [auth config docs](https://docs.composio.dev/docs/authenticating-tools) cover the fields each app requires.
|
|
62
|
-
3. Enable the auth config.
|
|
63
|
-
|
|
64
|
-
Keep exactly one auth config enabled per toolkit. When a user connects the toolkit, the provider resolves the single enabled config for that toolkit and starts the OAuth flow against it.
|
|
65
|
-
|
|
66
|
-
> **Warning:** The provider throws if a toolkit has zero enabled auth configs or more than one. With no enabled config, the connection flow fails with an error like `No ENABLED auth config for toolkit "github"`. Enable one in the Composio dashboard to fix it. Enable exactly one auth config per toolkit you expose in the Builder.
|
|
67
|
-
|
|
68
|
-
## Connect a toolkit
|
|
69
|
-
|
|
70
|
-
Once a provider is registered and its auth config is enabled, the toolkit can be connected from the Builder:
|
|
71
|
-
|
|
72
|
-
1. Open the agent and add the toolkit's tools.
|
|
73
|
-
2. Click **Connect** on the toolkit and complete the OAuth flow for the account you want to use.
|
|
74
|
-
|
|
75
|
-
The connected account is bound to the agent, and its tools are ready to use on the next run.
|
|
76
|
-
|
|
77
|
-
## Connection scope
|
|
78
|
-
|
|
79
|
-
Each connection determines which account a tool call uses at runtime, and its _scope_ controls who shares that credential. A scope maps each call to a _bucket_, the identity partition that a connected account is stored under. Scope is a tenancy decision made by you, the app author, not by the end user connecting an account, so you set it on the provider, not in the Builder UI.
|
|
80
|
-
|
|
81
|
-
- `per-author` (default): the connection belongs to the agent's author. Any invoker runs the agent with the author's account. Use this for personal agents or a single shared team account.
|
|
82
|
-
- `shared`: every caller uses one shared bucket, regardless of who invokes the agent. Use this for a platform-owned account that all users should share.
|
|
83
|
-
- `caller-supplied`: each call is bucketed by the caller's `resourceId`, read from the request context. Use this for multi-tenant SaaS, where the host app authenticates the end user upstream and each tenant should use their own connected account.
|
|
84
|
-
|
|
85
|
-
Set `defaultScope` on the provider to apply a scope to every connection authorized against it:
|
|
86
|
-
|
|
87
|
-
```typescript
|
|
88
|
-
const composio = new ComposioToolProvider({
|
|
89
|
-
apiKey: process.env.COMPOSIO_API_KEY!,
|
|
90
|
-
allowedToolkits: ['github'],
|
|
91
|
-
defaultScope: 'caller-supplied',
|
|
92
|
-
})
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
With `caller-supplied`, the host app must forward a `resourceId` on every request so each tenant is routed to its own bucket. Set `mapUserToResourceId` on the server's auth config to derive the `resourceId` from the authenticated user, so every request carries it automatically:
|
|
96
|
-
|
|
97
|
-
```typescript
|
|
98
|
-
export const mastra = new Mastra({
|
|
99
|
-
server: {
|
|
100
|
-
auth: {
|
|
101
|
-
authenticateToken: async token => verifyToken(token),
|
|
102
|
-
mapUserToResourceId: user => user.id,
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
})
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
> **Warning:** When a `caller-supplied` connection runs without a `resourceId`, every tenant falls back to a single shared `default` bucket. All callers then share one set of credentials, which can expose one tenant's connected account to another. Always wire `mapUserToResourceId` (or otherwise set `resourceId` on the request context) for multi-tenant deployments.
|
|
109
|
-
|
|
110
|
-
## Related
|
|
111
|
-
|
|
112
|
-
- [Tools](https://mastra.ai/docs/editor/tools): Register providers and browse toolkits in the editor.
|
|
113
|
-
- [ToolProvider reference](https://mastra.ai/reference/editor/tool-provider): Provider API details.
|
|
114
|
-
- [Agent Builder API reference](https://mastra.ai/reference/client-js/agent-builder): Manage connections programmatically with the `@mastra/client-js` SDK.
|
|
115
|
-
- [Agent Builder overview](https://mastra.ai/docs/agent-builder/overview)
|