@mastra/mcp 1.8.0 → 1.8.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/_types/hono/dist/types/client/client.d.ts +4 -0
  3. package/dist/_types/hono/dist/types/client/fetch-result-please.d.ts +35 -0
  4. package/dist/_types/hono/dist/types/client/index.d.ts +7 -0
  5. package/dist/_types/hono/dist/types/client/types.d.ts +229 -0
  6. package/dist/_types/hono/dist/types/client/utils.d.ts +18 -0
  7. package/dist/_types/hono/dist/types/context.d.ts +455 -0
  8. package/dist/_types/hono/dist/types/helper/streaming/index.d.ts +8 -0
  9. package/dist/_types/hono/dist/types/helper/streaming/sse.d.ts +13 -0
  10. package/dist/_types/hono/dist/types/helper/streaming/stream.d.ts +3 -0
  11. package/dist/_types/hono/dist/types/helper/streaming/text.d.ts +3 -0
  12. package/dist/_types/hono/dist/types/hono-base.d.ts +220 -0
  13. package/dist/_types/hono/dist/types/hono.d.ts +19 -0
  14. package/dist/_types/hono/dist/types/index.d.ts +36 -0
  15. package/dist/_types/hono/dist/types/request/constants.d.ts +1 -0
  16. package/dist/_types/hono/dist/types/request.d.ts +311 -0
  17. package/dist/_types/hono/dist/types/router.d.ts +97 -0
  18. package/dist/_types/hono/dist/types/types.d.ts +573 -0
  19. package/dist/_types/hono/dist/types/utils/body.d.ts +79 -0
  20. package/dist/_types/hono/dist/types/utils/headers.d.ts +8 -0
  21. package/dist/_types/hono/dist/types/utils/http-status.d.ts +32 -0
  22. package/dist/_types/hono/dist/types/utils/mime.d.ts +70 -0
  23. package/dist/_types/hono/dist/types/utils/stream.d.ts +31 -0
  24. package/dist/_types/hono/dist/types/utils/types.d.ts +74 -0
  25. package/dist/_types/hono-mcp-server-sse-transport/build/index.d.ts +1 -0
  26. package/dist/_types/hono-mcp-server-sse-transport/build/sse.d.ts +25 -0
  27. package/dist/docs/SKILL.md +1 -1
  28. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  29. package/dist/docs/references/docs-mcp-mcp-apps.md +3 -3
  30. package/dist/index.cjs +2 -2
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.js +2 -2
  33. package/dist/index.js.map +1 -1
  34. package/dist/server/server.d.ts +2 -2
  35. package/package.json +8 -9
@@ -11,8 +11,8 @@ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
11
11
  import type { StreamableHTTPServerTransportOptions } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
12
12
  import type { Resource } from '@modelcontextprotocol/sdk/types.js';
13
13
  import type { jsonSchemaValidator } from '@modelcontextprotocol/sdk/validation/types.js';
14
- import type { SSEStreamingApi } from 'hono/streaming';
15
- import { SSETransport } from 'hono-mcp-server-sse-transport';
14
+ import type { SSEStreamingApi } from '../_types/hono/dist/types/helper/streaming/index.d.ts';
15
+ import { SSETransport } from '../_types/hono-mcp-server-sse-transport/build/index.d.ts';
16
16
  import { ServerPromptActions } from './promptActions.js';
17
17
  import { ServerResourceActions } from './resourceActions.js';
18
18
  import type { MCPServerPrompts, MCPServerResources, ElicitationActions, AppResources } from './types.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -32,8 +32,7 @@
32
32
  "fast-deep-equal": "^3.1.3"
33
33
  },
34
34
  "peerDependencies": {
35
- "@mastra/core": ">=1.0.0-0 <2.0.0-0",
36
- "zod": "^3.25.0 || ^4.0.0"
35
+ "@mastra/core": ">=1.0.0-0 <2.0.0-0"
37
36
  },
38
37
  "devDependencies": {
39
38
  "@hono/node-server": "^1.19.11",
@@ -49,14 +48,14 @@
49
48
  "tsx": "^4.21.0",
50
49
  "typescript": "^6.0.3",
51
50
  "vitest": "4.1.5",
52
- "zod": "^4.3.6",
51
+ "zod": "^4.4.3",
53
52
  "zod-to-json-schema": "^3.25.1",
54
- "@internal/lint": "0.0.97",
55
- "@internal/llm-recorder": "0.0.33",
56
- "@internal/test-utils": "0.0.33",
57
- "@internal/types-builder": "0.0.72",
53
+ "@internal/lint": "0.0.98",
54
+ "@internal/llm-recorder": "0.0.34",
55
+ "@internal/types-builder": "0.0.73",
56
+ "@internal/test-utils": "0.0.34",
58
57
  "@mastra/schema-compat": "1.2.10",
59
- "@mastra/core": "1.36.0"
58
+ "@mastra/core": "1.37.0"
60
59
  },
61
60
  "homepage": "https://mastra.ai",
62
61
  "repository": {