@mastra/mcp 0.13.3 → 0.13.4

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @mastra/mcp
2
2
 
3
+ ## 0.13.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
8
+
9
+ - Updated dependencies [[`c621613`](https://github.com/mastra-ai/mastra/commit/c621613069173c69eb2c3ef19a5308894c6549f0), [`12b1189`](https://github.com/mastra-ai/mastra/commit/12b118942445e4de0dd916c593e33ec78dc3bc73), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`076b092`](https://github.com/mastra-ai/mastra/commit/076b0924902ff0f49d5712d2df24c4cca683713f), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa), [`c582906`](https://github.com/mastra-ai/mastra/commit/c5829065a346260f96c4beb8af131b94804ae3ad), [`fa2eb96`](https://github.com/mastra-ai/mastra/commit/fa2eb96af16c7d433891a73932764960d3235c1d), [`ee9108f`](https://github.com/mastra-ai/mastra/commit/ee9108fa29bb8368fc23df158c9f0645b2d7b65c), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`a739d0c`](https://github.com/mastra-ai/mastra/commit/a739d0c8b37cd89569e04a6ca0827083c6167e19), [`603e927`](https://github.com/mastra-ai/mastra/commit/603e9279db8bf8a46caf83881c6b7389ccffff7e), [`cd45982`](https://github.com/mastra-ai/mastra/commit/cd4598291cda128a88738734ae6cbef076ebdebd), [`874f74d`](https://github.com/mastra-ai/mastra/commit/874f74da4b1acf6517f18132d035612c3ecc394a), [`b728a45`](https://github.com/mastra-ai/mastra/commit/b728a45ab3dba59da0f5ee36b81fe246659f305d), [`0baf2ba`](https://github.com/mastra-ai/mastra/commit/0baf2bab8420277072ef1f95df5ea7b0a2f61fe7), [`10e633a`](https://github.com/mastra-ai/mastra/commit/10e633a07d333466d9734c97acfc3dbf757ad2d0), [`a6d69c5`](https://github.com/mastra-ai/mastra/commit/a6d69c5fb50c0875b46275811fece5862f03c6a0), [`84199af`](https://github.com/mastra-ai/mastra/commit/84199af8673f6f9cb59286ffb5477a41932775de), [`7f431af`](https://github.com/mastra-ai/mastra/commit/7f431afd586b7d3265075e73106eb73167edbb86), [`26e968d`](https://github.com/mastra-ai/mastra/commit/26e968db2171ded9e4d47aa1b4f19e1e771158d0), [`cbd3fb6`](https://github.com/mastra-ai/mastra/commit/cbd3fb65adb03a7c0df193cb998aed5ac56675ee)]:
10
+ - @mastra/core@0.20.1
11
+
12
+ ## 0.13.4-alpha.0
13
+
14
+ ### Patch Changes
15
+
16
+ - Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
17
+
18
+ - Updated dependencies [[`c621613`](https://github.com/mastra-ai/mastra/commit/c621613069173c69eb2c3ef19a5308894c6549f0), [`12b1189`](https://github.com/mastra-ai/mastra/commit/12b118942445e4de0dd916c593e33ec78dc3bc73), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`076b092`](https://github.com/mastra-ai/mastra/commit/076b0924902ff0f49d5712d2df24c4cca683713f), [`2aee9e7`](https://github.com/mastra-ai/mastra/commit/2aee9e7d188b8b256a4ddc203ccefb366b4867fa), [`c582906`](https://github.com/mastra-ai/mastra/commit/c5829065a346260f96c4beb8af131b94804ae3ad), [`fa2eb96`](https://github.com/mastra-ai/mastra/commit/fa2eb96af16c7d433891a73932764960d3235c1d), [`4783b30`](https://github.com/mastra-ai/mastra/commit/4783b3063efea887825514b783ba27f67912c26d), [`a739d0c`](https://github.com/mastra-ai/mastra/commit/a739d0c8b37cd89569e04a6ca0827083c6167e19), [`603e927`](https://github.com/mastra-ai/mastra/commit/603e9279db8bf8a46caf83881c6b7389ccffff7e), [`cd45982`](https://github.com/mastra-ai/mastra/commit/cd4598291cda128a88738734ae6cbef076ebdebd), [`874f74d`](https://github.com/mastra-ai/mastra/commit/874f74da4b1acf6517f18132d035612c3ecc394a), [`0baf2ba`](https://github.com/mastra-ai/mastra/commit/0baf2bab8420277072ef1f95df5ea7b0a2f61fe7), [`26e968d`](https://github.com/mastra-ai/mastra/commit/26e968db2171ded9e4d47aa1b4f19e1e771158d0), [`cbd3fb6`](https://github.com/mastra-ai/mastra/commit/cbd3fb65adb03a7c0df193cb998aed5ac56675ee)]:
19
+ - @mastra/core@0.20.1-alpha.1
20
+
3
21
  ## 0.13.3
4
22
 
5
23
  ### Patch Changes
@@ -9,25 +9,57 @@ import { ElicitationClientActions } from './elicitationActions.js';
9
9
  import { PromptClientActions } from './promptActions.js';
10
10
  import { ResourceClientActions } from './resourceActions.js';
11
11
  export type { LoggingLevel } from '@modelcontextprotocol/sdk/types.js';
12
+ /**
13
+ * Log message structure for MCP client logging.
14
+ */
12
15
  export interface LogMessage {
16
+ /** Logging level (debug, info, warning, error, etc.) */
13
17
  level: LoggingLevel;
18
+ /** Log message content */
14
19
  message: string;
20
+ /** Timestamp when the log was created */
15
21
  timestamp: Date;
22
+ /** Name of the MCP server that generated the log */
16
23
  serverName: string;
24
+ /** Optional additional details */
17
25
  details?: Record<string, any>;
18
26
  runtimeContext?: RuntimeContext | null;
19
27
  }
28
+ /**
29
+ * Handler function for processing log messages from MCP servers.
30
+ */
20
31
  export type LogHandler = (logMessage: LogMessage) => void;
32
+ /**
33
+ * Handler function for processing elicitation requests from MCP servers.
34
+ *
35
+ * @param request - The elicitation request parameters including message and schema
36
+ * @returns Promise resolving to the user's response (accept/decline/cancel with optional content)
37
+ */
21
38
  export type ElicitationHandler = (request: ElicitRequest['params']) => Promise<ElicitResult>;
39
+ /**
40
+ * Base options common to all MCP server definitions.
41
+ */
22
42
  type BaseServerOptions = {
43
+ /** Optional handler for server log messages */
23
44
  logger?: LogHandler;
45
+ /** Optional timeout in milliseconds for server operations */
24
46
  timeout?: number;
47
+ /** Optional client capabilities to advertise to the server */
25
48
  capabilities?: ClientCapabilities;
49
+ /** Whether to enable server log forwarding (default: true) */
26
50
  enableServerLogs?: boolean;
27
51
  };
52
+ /**
53
+ * Configuration for MCP servers using stdio (subprocess) transport.
54
+ *
55
+ * Used when the MCP server is spawned as a subprocess that communicates via stdin/stdout.
56
+ */
28
57
  type StdioServerDefinition = BaseServerOptions & {
58
+ /** Command to execute (e.g., 'node', 'python', 'npx') */
29
59
  command: string;
60
+ /** Optional arguments to pass to the command */
30
61
  args?: string[];
62
+ /** Optional environment variables for the subprocess */
31
63
  env?: Record<string, string>;
32
64
  url?: never;
33
65
  requestInit?: never;
@@ -36,25 +68,79 @@ type StdioServerDefinition = BaseServerOptions & {
36
68
  reconnectionOptions?: never;
37
69
  sessionId?: never;
38
70
  };
71
+ /**
72
+ * Configuration for MCP servers using HTTP-based transport (Streamable HTTP or SSE fallback).
73
+ *
74
+ * Used when connecting to remote MCP servers over HTTP. The client will attempt Streamable HTTP
75
+ * transport first and fall back to SSE if that fails.
76
+ */
39
77
  type HttpServerDefinition = BaseServerOptions & {
78
+ /** URL of the MCP server endpoint */
40
79
  url: URL;
41
80
  command?: never;
42
81
  args?: never;
43
82
  env?: never;
83
+ /** Optional request configuration for HTTP requests */
44
84
  requestInit?: StreamableHTTPClientTransportOptions['requestInit'];
85
+ /** Optional configuration for SSE fallback (required when using custom headers with SSE) */
45
86
  eventSourceInit?: SSEClientTransportOptions['eventSourceInit'];
87
+ /** Optional authentication provider for HTTP requests */
46
88
  authProvider?: StreamableHTTPClientTransportOptions['authProvider'];
89
+ /** Optional reconnection configuration for Streamable HTTP */
47
90
  reconnectionOptions?: StreamableHTTPClientTransportOptions['reconnectionOptions'];
91
+ /** Optional session ID for Streamable HTTP */
48
92
  sessionId?: StreamableHTTPClientTransportOptions['sessionId'];
49
93
  };
94
+ /**
95
+ * Configuration for connecting to an MCP server.
96
+ *
97
+ * Either stdio-based (subprocess) or HTTP-based (remote server). The transport type is
98
+ * automatically detected based on whether `command` or `url` is provided.
99
+ *
100
+ * @example
101
+ * ```typescript
102
+ * // Stdio server
103
+ * const stdioServer: MastraMCPServerDefinition = {
104
+ * command: 'npx',
105
+ * args: ['tsx', 'server.ts'],
106
+ * env: { API_KEY: 'secret' }
107
+ * };
108
+ *
109
+ * // HTTP server
110
+ * const httpServer: MastraMCPServerDefinition = {
111
+ * url: new URL('http://localhost:8080/mcp'),
112
+ * requestInit: {
113
+ * headers: { Authorization: 'Bearer token' }
114
+ * }
115
+ * };
116
+ * ```
117
+ */
50
118
  export type MastraMCPServerDefinition = StdioServerDefinition | HttpServerDefinition;
119
+ /**
120
+ * Options for creating an internal MCP client instance.
121
+ *
122
+ * @internal
123
+ */
51
124
  export type InternalMastraMCPClientOptions = {
125
+ /** Name identifier for this client */
52
126
  name: string;
127
+ /** Server connection configuration */
53
128
  server: MastraMCPServerDefinition;
129
+ /** Optional client capabilities */
54
130
  capabilities?: ClientCapabilities;
131
+ /** Optional client version */
55
132
  version?: string;
133
+ /** Optional timeout in milliseconds */
56
134
  timeout?: number;
57
135
  };
136
+ /**
137
+ * Internal MCP client implementation for connecting to a single MCP server.
138
+ *
139
+ * This class handles the low-level connection, transport management, and protocol
140
+ * communication with an MCP server. Most users should use MCPClient instead.
141
+ *
142
+ * @internal
143
+ */
58
144
  export declare class InternalMastraMCPClient extends MastraBase {
59
145
  name: string;
60
146
  private client;
@@ -64,9 +150,15 @@ export declare class InternalMastraMCPClient extends MastraBase {
64
150
  private serverConfig;
65
151
  private transport?;
66
152
  private currentOperationContext;
153
+ /** Provides access to resource operations (list, read, subscribe, etc.) */
67
154
  readonly resources: ResourceClientActions;
155
+ /** Provides access to prompt operations (list, get, notifications) */
68
156
  readonly prompts: PromptClientActions;
157
+ /** Provides access to elicitation operations (request handling) */
69
158
  readonly elicitation: ElicitationClientActions;
159
+ /**
160
+ * @internal
161
+ */
70
162
  constructor({ name, version, server, capabilities, timeout, }: InternalMastraMCPClientOptions);
71
163
  /**
72
164
  * Log a message at the specified level
@@ -79,10 +171,26 @@ export declare class InternalMastraMCPClient extends MastraBase {
79
171
  private connectStdio;
80
172
  private connectHttp;
81
173
  private isConnected;
174
+ /**
175
+ * Connects to the MCP server using the configured transport.
176
+ *
177
+ * Automatically detects transport type based on configuration (stdio vs HTTP).
178
+ * Safe to call multiple times - returns existing connection if already connected.
179
+ *
180
+ * @returns Promise resolving to true when connected
181
+ * @throws {MastraError} If connection fails
182
+ *
183
+ * @internal
184
+ */
82
185
  connect(): Promise<boolean>;
83
186
  /**
84
- * Get the current session ID if using the Streamable HTTP transport.
85
- * Returns undefined if not connected or not using Streamable HTTP.
187
+ * Gets the current session ID if using Streamable HTTP transport.
188
+ *
189
+ * Returns undefined if not connected or not using Streamable HTTP transport.
190
+ *
191
+ * @returns Session ID string or undefined
192
+ *
193
+ * @internal
86
194
  */
87
195
  get sessionId(): string | undefined;
88
196
  disconnect(): Promise<void>;
@@ -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;AAMtD,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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