@mastra/mcp 0.14.2 → 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/CHANGELOG.md +74 -13
- package/README.md +8 -8
- package/dist/__fixtures__/tools.d.ts +1 -7
- package/dist/__fixtures__/tools.d.ts.map +1 -1
- package/dist/client/client.d.ts +4 -9
- package/dist/client/client.d.ts.map +1 -1
- package/dist/client/configuration.d.ts +10 -64
- package/dist/client/configuration.d.ts.map +1 -1
- package/dist/client/index.d.ts +0 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/index.cjs +175 -96
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +175 -94
- package/dist/index.js.map +1 -1
- package/dist/server/server.d.ts +44 -6
- package/dist/server/server.d.ts.map +1 -1
- package/dist/server/types.d.ts +0 -54
- package/dist/server/types.d.ts.map +1 -1
- package/package.json +8 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,31 +1,92 @@
|
|
|
1
1
|
# @mastra/mcp
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 1.0.0-beta.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- Fix MCP auth context propagation to tools called by agents ([#9948](https://github.com/mastra-ai/mastra/pull/9948))
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
- @mastra/core@0.24.0
|
|
9
|
+
Fixes the issue where MCP authentication context wasn't being passed to tools when called by agents. Tools can now access MCP context via `context.requestContext.get('mcp.extra')` when invoked via agents.
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
- Updated dependencies [[`465ac05`](https://github.com/mastra-ai/mastra/commit/465ac0526a91d175542091c675181f1a96c98c46)]:
|
|
12
|
+
- @mastra/core@1.0.0-beta.2
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
## 1.0.0-beta.0
|
|
15
|
+
|
|
16
|
+
### Major Changes
|
|
17
|
+
|
|
18
|
+
- Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
|
|
19
|
+
|
|
20
|
+
- Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
|
|
21
|
+
|
|
22
|
+
- Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
|
|
15
23
|
|
|
16
|
-
-
|
|
24
|
+
- Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
|
|
17
25
|
|
|
18
|
-
-
|
|
19
|
-
- @mastra/core@0.24.0-alpha.0
|
|
26
|
+
- Remove deprecated `mcpClient.getResources()`, `MCPConfiguration` class and `MCPConfigurationOptions` ([#9669](https://github.com/mastra-ai/mastra/pull/9669))
|
|
20
27
|
|
|
21
|
-
|
|
28
|
+
### Minor Changes
|
|
29
|
+
|
|
30
|
+
- Update peer dependencies to match core package version bump (1.0.0) ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
|
|
31
|
+
|
|
32
|
+
- Update peer dependencies to match core package version bump (0.22.2) ([#9134](https://github.com/mastra-ai/mastra/pull/9134))
|
|
22
33
|
|
|
23
34
|
### Patch Changes
|
|
24
35
|
|
|
25
|
-
-
|
|
36
|
+
- add flag to skip sessions and streaming in serverless mcp ([#9585](https://github.com/mastra-ai/mastra/pull/9585))
|
|
26
37
|
|
|
27
|
-
-
|
|
28
|
-
|
|
38
|
+
- Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
39
|
+
|
|
40
|
+
- Update tool execution signature ([#9587](https://github.com/mastra-ai/mastra/pull/9587))
|
|
41
|
+
|
|
42
|
+
Consolidated the 3 different execution contexts to one
|
|
43
|
+
|
|
44
|
+
```typescript
|
|
45
|
+
// before depending on the context the tool was executed in
|
|
46
|
+
tool.execute({ context: data });
|
|
47
|
+
tool.execute({ context: { inputData: data } });
|
|
48
|
+
tool.execute(data);
|
|
49
|
+
|
|
50
|
+
// now, for all contexts
|
|
51
|
+
tool.execute(data, context);
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Before:**
|
|
55
|
+
|
|
56
|
+
```typescript
|
|
57
|
+
inputSchema: z.object({ something: z.string() }),
|
|
58
|
+
execute: async ({ context, tracingContext, runId, ... }) => {
|
|
59
|
+
return doSomething(context.string);
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**After:**
|
|
64
|
+
|
|
65
|
+
```typescript
|
|
66
|
+
inputSchema: z.object({ something: z.string() }),
|
|
67
|
+
execute: async (inputData, context) => {
|
|
68
|
+
const { agent, mcp, workflow, ...sharedContext } = context
|
|
69
|
+
|
|
70
|
+
// context that only an agent would get like toolCallId, messages, suspend, resume, etc
|
|
71
|
+
if (agent) {
|
|
72
|
+
doSomething(inputData.something, agent)
|
|
73
|
+
// context that only a workflow would get like runId, state, suspend, resume, etc
|
|
74
|
+
} else if (workflow) {
|
|
75
|
+
doSomething(inputData.something, workflow)
|
|
76
|
+
// context that only a workflow would get like "extra", "elicitation"
|
|
77
|
+
} else if (mcp) {
|
|
78
|
+
doSomething(inputData.something, mcp)
|
|
79
|
+
} else {
|
|
80
|
+
// Running a tool in no execution context
|
|
81
|
+
return doSomething(inputData.something);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
- Breaking change to move mcp related tool execute arguments nested under an `mcp` argument that is only populated if the tool is passed to an MCPServer. This simpliflies tool definitions and gives you the correct types when working with tools meant for MCP servers. ([#9134](https://github.com/mastra-ai/mastra/pull/9134))
|
|
87
|
+
|
|
88
|
+
- Updated dependencies [[`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
|
|
89
|
+
- @mastra/core@1.0.0-beta.0
|
|
29
90
|
|
|
30
91
|
## 0.14.0
|
|
31
92
|
|
package/README.md
CHANGED
|
@@ -117,10 +117,10 @@ const mcp = new MCPClient({
|
|
|
117
117
|
});
|
|
118
118
|
|
|
119
119
|
// Get all tools from all configured servers namespaced with the server name
|
|
120
|
-
const tools = await mcp.
|
|
120
|
+
const tools = await mcp.listTools();
|
|
121
121
|
|
|
122
122
|
// Get tools grouped into a toolset object per-server
|
|
123
|
-
const toolsets = await mcp.
|
|
123
|
+
const toolsets = await mcp.listToolsets();
|
|
124
124
|
```
|
|
125
125
|
|
|
126
126
|
## Logging
|
|
@@ -221,7 +221,7 @@ See the `examples/server-logging.ts` file for comprehensive examples of various
|
|
|
221
221
|
|
|
222
222
|
The MCPClient class provides two ways to access MCP tools:
|
|
223
223
|
|
|
224
|
-
#### Tools (`
|
|
224
|
+
#### Tools (`listTools()`)
|
|
225
225
|
|
|
226
226
|
Use this when:
|
|
227
227
|
|
|
@@ -235,14 +235,15 @@ import { Agent } from '@mastra/core/agent';
|
|
|
235
235
|
import { openai } from '@ai-sdk/openai';
|
|
236
236
|
|
|
237
237
|
const agent = new Agent({
|
|
238
|
+
id: 'cli-assistant',
|
|
238
239
|
name: 'CLI Assistant',
|
|
239
240
|
instructions: 'You help users with CLI tasks',
|
|
240
241
|
model: openai('gpt-4'),
|
|
241
|
-
tools: await mcp.
|
|
242
|
+
tools: await mcp.listTools(), // Tools are fixed at agent creation
|
|
242
243
|
});
|
|
243
244
|
```
|
|
244
245
|
|
|
245
|
-
#### Toolsets (`
|
|
246
|
+
#### Toolsets (`listToolsets()`)
|
|
246
247
|
|
|
247
248
|
Use this when:
|
|
248
249
|
|
|
@@ -284,7 +285,7 @@ const mcp = new MCPClient({
|
|
|
284
285
|
});
|
|
285
286
|
|
|
286
287
|
// Get the current toolsets configured for this user
|
|
287
|
-
const toolsets = await mcp.
|
|
288
|
+
const toolsets = await mcp.listToolsets();
|
|
288
289
|
|
|
289
290
|
// Use the agent with user-specific tool configurations
|
|
290
291
|
const response = await agent.generate('What is the weather in London?', {
|
|
@@ -321,7 +322,7 @@ const mcp = new MCPClient({
|
|
|
321
322
|
});
|
|
322
323
|
|
|
323
324
|
// Get resources from all connected MCP servers
|
|
324
|
-
const resources = await mcp.
|
|
325
|
+
const resources = await mcp.resources.get();
|
|
325
326
|
|
|
326
327
|
// Resources are grouped by server name
|
|
327
328
|
console.log(Object.keys(resources)); // ['weather', 'dataService']
|
|
@@ -557,5 +558,4 @@ The client includes comprehensive error handling:
|
|
|
557
558
|
- [Model Context Protocol Specification](https://modelcontextprotocol.io/specification)
|
|
558
559
|
- [@modelcontextprotocol/sdk Documentation](https://github.com/modelcontextprotocol/typescript-sdk)
|
|
559
560
|
- [Mastra Docs: Using MCP With Mastra](/docs/agents/mcp-guide)
|
|
560
|
-
- [Mastra Docs: MCPConfiguration Reference](/reference/tools/mcp-configuration)
|
|
561
561
|
- [Mastra Docs: MastraMCPClient Reference](/reference/tools/client)
|
|
@@ -5,11 +5,5 @@ export declare const weatherTool: import("@mastra/core/tools").Tool<z.ZodObject<
|
|
|
5
5
|
location: string;
|
|
6
6
|
}, {
|
|
7
7
|
location: string;
|
|
8
|
-
}>, undefined, any, any, import("@mastra/core").ToolExecutionContext<
|
|
9
|
-
location: z.ZodString;
|
|
10
|
-
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
location: string;
|
|
12
|
-
}, {
|
|
13
|
-
location: string;
|
|
14
|
-
}>, any, any>>;
|
|
8
|
+
}>, undefined, any, any, import("@mastra/core/tools").ToolExecutionContext<any, any>>;
|
|
15
9
|
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/__fixtures__/tools.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/__fixtures__/tools.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW;;;;;;qFAUtB,CAAC"}
|
package/dist/client/client.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MastraBase } from '@mastra/core/base';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RequestContext } from '@mastra/core/di';
|
|
3
|
+
import type { Tool } from '@mastra/core/tools';
|
|
3
4
|
import type { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
4
5
|
import type { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
5
6
|
import type { ClientCapabilities, ElicitRequest, ElicitResult, GetPromptResult, ListPromptsResult, LoggingLevel } from '@modelcontextprotocol/sdk/types.js';
|
|
@@ -23,7 +24,7 @@ export interface LogMessage {
|
|
|
23
24
|
serverName: string;
|
|
24
25
|
/** Optional additional details */
|
|
25
26
|
details?: Record<string, any>;
|
|
26
|
-
|
|
27
|
+
requestContext?: RequestContext | null;
|
|
27
28
|
}
|
|
28
29
|
/**
|
|
29
30
|
* Handler function for processing log messages from MCP servers.
|
|
@@ -408,12 +409,6 @@ export declare class InternalMastraMCPClient extends MastraBase {
|
|
|
408
409
|
setElicitationRequestHandler(handler: ElicitationHandler): void;
|
|
409
410
|
private convertInputSchema;
|
|
410
411
|
private convertOutputSchema;
|
|
411
|
-
tools(): Promise<Record<string, any
|
|
412
|
-
}
|
|
413
|
-
/**
|
|
414
|
-
* @deprecated MastraMCPClient is deprecated and will be removed in a future release. Please use MCPClient instead.
|
|
415
|
-
*/
|
|
416
|
-
export declare class MastraMCPClient extends InternalMastraMCPClient {
|
|
417
|
-
constructor(args: InternalMastraMCPClientOptions);
|
|
412
|
+
tools(): Promise<Record<string, Tool<any, any, any, any>>>;
|
|
418
413
|
}
|
|
419
414
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI/C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAGzF,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,oDAAoD,CAAC;AAG/G,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,YAAY,EACb,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAKL,iCAAiC,EAMlC,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,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IACG,SAAS,CAAC,EACd,IAAI,EACJ,IAAI,EACJ,OAAO,GACR,EAAE;QACD,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,GAAG,OAAO,CAAC,eAAe,CAAC;IAS5B;;;OAGG;IACH,uCAAuC,CAAC,OAAO,EAAE,MAAM,IAAI,GAAG,IAAI;IAOlE,qCAAqC,CACnC,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC,QAAQ,CAAC,KAAK,IAAI,GACrF,IAAI;IAOP,yCAAyC,CAAC,OAAO,EAAE,MAAM,IAAI,GAAG,IAAI;IAOpE,4BAA4B,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI;YAQjD,kBAAkB;YA0ClB,mBAAmB;IA2C3B,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;CAwDjE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MastraBase } from '@mastra/core/base';
|
|
2
|
+
import type { Tool } from '@mastra/core/tools';
|
|
2
3
|
import type { ElicitRequest, ElicitResult, Prompt, Resource, ResourceTemplate } from '@modelcontextprotocol/sdk/types.js';
|
|
3
4
|
import type { MastraMCPServerDefinition } from './client.js';
|
|
4
5
|
/**
|
|
@@ -38,10 +39,11 @@ export interface MCPClientOptions {
|
|
|
38
39
|
* });
|
|
39
40
|
*
|
|
40
41
|
* const agent = new Agent({
|
|
42
|
+
* id: 'multi-tool-agent',
|
|
41
43
|
* name: 'Multi-tool Agent',
|
|
42
44
|
* instructions: 'You have access to multiple tools.',
|
|
43
45
|
* model: 'openai/gpt-4o',
|
|
44
|
-
* tools: await mcp.
|
|
46
|
+
* tools: await mcp.listTools(),
|
|
45
47
|
* });
|
|
46
48
|
* ```
|
|
47
49
|
*/
|
|
@@ -484,18 +486,19 @@ export declare class MCPClient extends MastraBase {
|
|
|
484
486
|
* @example
|
|
485
487
|
* ```typescript
|
|
486
488
|
* const agent = new Agent({
|
|
489
|
+
* id: 'multi-tool-agent',
|
|
487
490
|
* name: 'Multi-tool Agent',
|
|
488
491
|
* instructions: 'You have access to weather and stock tools.',
|
|
489
492
|
* model: 'openai/gpt-4',
|
|
490
|
-
* tools: await mcp.
|
|
493
|
+
* tools: await mcp.listTools(), // weather_getWeather, stockPrice_getPrice
|
|
491
494
|
* });
|
|
492
495
|
* ```
|
|
493
496
|
*/
|
|
494
|
-
|
|
497
|
+
listTools(): Promise<Record<string, Tool<any, any, any, any>>>;
|
|
495
498
|
/**
|
|
496
499
|
* Returns toolsets organized by server name for dynamic tool injection.
|
|
497
500
|
*
|
|
498
|
-
* Unlike
|
|
501
|
+
* Unlike listTools(), this returns tools grouped by server without namespacing.
|
|
499
502
|
* This is intended to be passed dynamically to the generate() or stream() method.
|
|
500
503
|
*
|
|
501
504
|
* @returns Object mapping server names to their tool collections
|
|
@@ -504,37 +507,18 @@ export declare class MCPClient extends MastraBase {
|
|
|
504
507
|
* @example
|
|
505
508
|
* ```typescript
|
|
506
509
|
* const agent = new Agent({
|
|
510
|
+
* id: 'dynamic-agent',
|
|
507
511
|
* name: 'Dynamic Agent',
|
|
508
512
|
* instructions: 'You can use tools dynamically.',
|
|
509
513
|
* model: 'openai/gpt-4',
|
|
510
514
|
* });
|
|
511
515
|
*
|
|
512
516
|
* const response = await agent.stream(prompt, {
|
|
513
|
-
* toolsets: await mcp.
|
|
517
|
+
* toolsets: await mcp.listToolsets(), // { weather: {...}, stockPrice: {...} }
|
|
514
518
|
* });
|
|
515
519
|
* ```
|
|
516
520
|
*/
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* @deprecated all resource actions have been moved to the this.resources object. Use this.resources.list() instead.
|
|
520
|
-
*/
|
|
521
|
-
getResources(): Promise<Record<string, {
|
|
522
|
-
[x: string]: unknown;
|
|
523
|
-
name: string;
|
|
524
|
-
uri: string;
|
|
525
|
-
_meta?: {
|
|
526
|
-
[x: string]: unknown;
|
|
527
|
-
} | undefined;
|
|
528
|
-
title?: string | undefined;
|
|
529
|
-
description?: string | undefined;
|
|
530
|
-
icons?: {
|
|
531
|
-
[x: string]: unknown;
|
|
532
|
-
src: string;
|
|
533
|
-
mimeType?: string | undefined;
|
|
534
|
-
sizes?: string[] | undefined;
|
|
535
|
-
}[] | undefined;
|
|
536
|
-
mimeType?: string | undefined;
|
|
537
|
-
}[]>>;
|
|
521
|
+
listToolsets(): Promise<Record<string, Record<string, Tool<any, any, any, any>>>>;
|
|
538
522
|
/**
|
|
539
523
|
* Gets current session IDs for all connected MCP clients using Streamable HTTP transport.
|
|
540
524
|
*
|
|
@@ -555,42 +539,4 @@ export declare class MCPClient extends MastraBase {
|
|
|
555
539
|
private getConnectedClientForServer;
|
|
556
540
|
private eachClientTools;
|
|
557
541
|
}
|
|
558
|
-
/**
|
|
559
|
-
* @deprecated MCPConfigurationOptions is deprecated and will be removed in a future release. Use {@link MCPClientOptions} instead.
|
|
560
|
-
*
|
|
561
|
-
* This interface has been renamed to MCPClientOptions. The API is identical.
|
|
562
|
-
*/
|
|
563
|
-
export interface MCPConfigurationOptions {
|
|
564
|
-
/** @deprecated Use MCPClientOptions.id instead */
|
|
565
|
-
id?: string;
|
|
566
|
-
/** @deprecated Use MCPClientOptions.servers instead */
|
|
567
|
-
servers: Record<string, MastraMCPServerDefinition>;
|
|
568
|
-
/** @deprecated Use MCPClientOptions.timeout instead */
|
|
569
|
-
timeout?: number;
|
|
570
|
-
}
|
|
571
|
-
/**
|
|
572
|
-
* @deprecated MCPConfiguration is deprecated and will be removed in a future release. Use {@link MCPClient} instead.
|
|
573
|
-
*
|
|
574
|
-
* This class has been renamed to MCPClient. The API is identical but the class name changed
|
|
575
|
-
* for clarity and consistency.
|
|
576
|
-
*
|
|
577
|
-
* @example
|
|
578
|
-
* ```typescript
|
|
579
|
-
* // Old way (deprecated)
|
|
580
|
-
* const config = new MCPConfiguration({
|
|
581
|
-
* servers: { myServer: { command: 'npx', args: ['tsx', 'server.ts'] } }
|
|
582
|
-
* });
|
|
583
|
-
*
|
|
584
|
-
* // New way (recommended)
|
|
585
|
-
* const client = new MCPClient({
|
|
586
|
-
* servers: { myServer: { command: 'npx', args: ['tsx', 'server.ts'] } }
|
|
587
|
-
* });
|
|
588
|
-
* ```
|
|
589
|
-
*/
|
|
590
|
-
export declare class MCPConfiguration extends MCPClient {
|
|
591
|
-
/**
|
|
592
|
-
* @deprecated Use MCPClient constructor instead
|
|
593
|
-
*/
|
|
594
|
-
constructor(args: MCPClientOptions);
|
|
595
|
-
}
|
|
596
542
|
//# sourceMappingURL=configuration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/client/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/client/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,gBAAgB,EACjB,MAAM,oCAAoC,CAAC;AAI5C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAI1D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,wHAAwH;IACxH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,mFAAmF;IACnF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC;IACnD,iFAAiF;IACjF,OAAO,CAAC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,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACpH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACpH,cAAc,iBAAiB,CAAC"}
|