@mastra/mcp 0.10.9 → 0.10.10-alpha.0

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @mastra/mcp@0.10.9-alpha.0 build /home/runner/work/mastra/mastra/packages/mcp
2
+ > @mastra/mcp@0.10.10-alpha.0 build /home/runner/work/mastra/mastra/packages/mcp
3
3
  > tsup --silent --config tsup.config.ts
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @mastra/mcp
2
2
 
3
+ ## 0.10.10-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
8
+ - Updated dependencies [cb36de0]
9
+ - Updated dependencies [a82b851]
10
+ - Updated dependencies [41a0a0e]
11
+ - Updated dependencies [2871020]
12
+ - Updated dependencies [4a406ec]
13
+ - Updated dependencies [5d377e5]
14
+ - @mastra/core@0.13.0-alpha.2
15
+
3
16
  ## 0.10.9
4
17
 
5
18
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { MCPServer } from '../server/server';
1
+ import { MCPServer } from '../server/server.js';
2
2
  declare const mcpServer: MCPServer;
3
3
  export { mcpServer as server };
4
4
  //# sourceMappingURL=weather.d.ts.map
@@ -5,9 +5,9 @@ import type { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol
5
5
  import type { ClientCapabilities, ElicitRequest, ElicitResult, GetPromptResult, ListPromptsResult, LoggingLevel } from '@modelcontextprotocol/sdk/types.js';
6
6
  import { ResourceUpdatedNotificationSchema } from '@modelcontextprotocol/sdk/types.js';
7
7
  import { z } from 'zod';
8
- import { ElicitationClientActions } from './elicitationActions';
9
- import { PromptClientActions } from './promptActions';
10
- import { ResourceClientActions } from './resourceActions';
8
+ import { ElicitationClientActions } from './elicitationActions.js';
9
+ import { PromptClientActions } from './promptActions.js';
10
+ import { ResourceClientActions } from './resourceActions.js';
11
11
  export type { LoggingLevel } from '@modelcontextprotocol/sdk/types.js';
12
12
  export interface LogMessage {
13
13
  level: LoggingLevel;
@@ -1,6 +1,6 @@
1
1
  import { MastraBase } from '@mastra/core/base';
2
2
  import type { ElicitRequest, ElicitResult, Prompt, Resource, ResourceTemplate } from '@modelcontextprotocol/sdk/types.js';
3
- import type { MastraMCPServerDefinition } from './client';
3
+ import type { MastraMCPServerDefinition } from './client.js';
4
4
  export interface MCPClientOptions {
5
5
  id?: string;
6
6
  servers: Record<string, MastraMCPServerDefinition>;
@@ -1,6 +1,6 @@
1
- import type { IMastraLogger } from "@mastra/core/logger";
2
- import type { ElicitRequest, ElicitResult } from "@modelcontextprotocol/sdk/types.js";
3
- import type { InternalMastraMCPClient } from "./client";
1
+ import type { IMastraLogger } from '@mastra/core/logger';
2
+ import type { ElicitRequest, ElicitResult } from '@modelcontextprotocol/sdk/types.js';
3
+ import type { InternalMastraMCPClient } from './client.js';
4
4
  interface ElicitationClientActionsConfig {
5
5
  client: InternalMastraMCPClient;
6
6
  logger: IMastraLogger;
@@ -1,4 +1,4 @@
1
- export type { LoggingLevel, LogMessage, LogHandler, MastraMCPServerDefinition, ElicitationHandler } from './client';
2
- export { MastraMCPClient } from './client';
3
- export * from './configuration';
1
+ export type { LoggingLevel, LogMessage, LogHandler, MastraMCPServerDefinition, ElicitationHandler } from './client.js';
2
+ export { MastraMCPClient } from './client.js';
3
+ export * from './configuration.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
- import type { IMastraLogger } from "@mastra/core/logger";
2
- import type { GetPromptResult, Prompt } from "@modelcontextprotocol/sdk/types.js";
3
- import type { InternalMastraMCPClient } from "./client";
1
+ import type { IMastraLogger } from '@mastra/core/logger';
2
+ import type { GetPromptResult, Prompt } from '@modelcontextprotocol/sdk/types.js';
3
+ import type { InternalMastraMCPClient } from './client.js';
4
4
  interface PromptClientActionsConfig {
5
5
  client: InternalMastraMCPClient;
6
6
  logger: IMastraLogger;
@@ -1,6 +1,6 @@
1
- import type { IMastraLogger } from "@mastra/core/logger";
2
- import type { Resource, ResourceTemplate } from "@modelcontextprotocol/sdk/types.js";
3
- import type { InternalMastraMCPClient } from "./client";
1
+ import type { IMastraLogger } from '@mastra/core/logger';
2
+ import type { Resource, ResourceTemplate } from '@modelcontextprotocol/sdk/types.js';
3
+ import type { InternalMastraMCPClient } from './client.js';
4
4
  interface ResourceClientActionsConfig {
5
5
  client: InternalMastraMCPClient;
6
6
  logger: IMastraLogger;
package/dist/index.cjs CHANGED
@@ -1022,7 +1022,7 @@ var MCPConfiguration = class extends MCPClient {
1022
1022
  }
1023
1023
  };
1024
1024
 
1025
- // ../../node_modules/.pnpm/hono@4.8.9/node_modules/hono/dist/utils/stream.js
1025
+ // ../../node_modules/.pnpm/hono@4.8.12/node_modules/hono/dist/utils/stream.js
1026
1026
  var StreamingApi = class {
1027
1027
  writer;
1028
1028
  encoder;
@@ -1089,7 +1089,7 @@ var StreamingApi = class {
1089
1089
  }
1090
1090
  };
1091
1091
 
1092
- // ../../node_modules/.pnpm/hono@4.8.9/node_modules/hono/dist/helper/streaming/utils.js
1092
+ // ../../node_modules/.pnpm/hono@4.8.12/node_modules/hono/dist/helper/streaming/utils.js
1093
1093
  var isOldBunVersion = () => {
1094
1094
  const version = typeof Bun !== "undefined" ? Bun.version : void 0;
1095
1095
  if (version === void 0) {
@@ -1100,7 +1100,7 @@ var isOldBunVersion = () => {
1100
1100
  return result;
1101
1101
  };
1102
1102
 
1103
- // ../../node_modules/.pnpm/hono@4.8.9/node_modules/hono/dist/utils/html.js
1103
+ // ../../node_modules/.pnpm/hono@4.8.12/node_modules/hono/dist/utils/html.js
1104
1104
  var HtmlEscapedCallbackPhase = {
1105
1105
  Stringify: 1};
1106
1106
  var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => {
@@ -1131,7 +1131,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) =>
1131
1131
  }
1132
1132
  };
1133
1133
 
1134
- // ../../node_modules/.pnpm/hono@4.8.9/node_modules/hono/dist/helper/streaming/sse.js
1134
+ // ../../node_modules/.pnpm/hono@4.8.12/node_modules/hono/dist/helper/streaming/sse.js
1135
1135
  var SSEStreamingApi = class extends StreamingApi {
1136
1136
  constructor(writable, readable) {
1137
1137
  super(writable, readable);