@mastra/mcp 1.17.3-alpha.1 → 1.17.3

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/README.md CHANGED
@@ -6,17 +6,31 @@ Mastra can also be used to author MCP servers, exposing agents, tools, and other
6
6
 
7
7
  ## Installation
8
8
 
9
- To use MCP, install the required dependency:
10
-
11
9
  ```bash
12
- npm install @mastra/mcp@latest
10
+ npm install @mastra/mcp
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ Provide an MCP server URL or stdio command.
16
+
17
+ ```typescript
18
+ import { MCPClient } from '@mastra/mcp';
19
+
20
+ const client = new MCPClient({
21
+ servers: { docs: { url: new URL('https://example.com/mcp') } },
22
+ });
23
+ const tools = await client.listTools();
13
24
  ```
14
25
 
15
- ## Overview
26
+ ## Documentation
27
+
28
+ - [@mastra/mcp documentation](https://mastra.ai/reference/tools/mcp-client)
29
+
30
+ ## Changelog
16
31
 
17
- Mastra currently supports two MCP classes:
32
+ See the [package changelog](https://github.com/mastra-ai/mastra/blob/main/packages/mcp/CHANGELOG.md) for version history and release notes.
18
33
 
19
- - `MCPClient`: Connects to one or many MCP servers to access their tools, resources, prompts, and handle elicitation requests.
20
- - `MCPServer`: Exposes Mastra tools, agents, workflows, prompts, and resources to MCP-compatible clients.
34
+ ## Support
21
35
 
22
- Read the [official MCP documentation](https://mastra.ai/docs/mcp/overview) to learn more.
36
+ We have an [open community Discord](https://discord.gg/mastra-ai). Come and say hello and let us know if you have any questions or need any help getting things running.
@@ -3,7 +3,7 @@ name: mastra-mcp
3
3
  description: Documentation for @mastra/mcp. Use when working with @mastra/mcp APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/mcp"
6
- version: "1.17.3-alpha.1"
6
+ version: "1.17.3"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.17.3-alpha.1",
2
+ "version": "1.17.3",
3
3
  "package": "@mastra/mcp",
4
4
  "exports": {},
5
5
  "modules": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp",
3
- "version": "1.17.3-alpha.1",
3
+ "version": "1.17.3",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -41,6 +41,7 @@
41
41
  "devDependencies": {
42
42
  "@hono/node-server": "^2.0.0",
43
43
  "@mendable/firecrawl-js": "^1.29.3",
44
+ "@modelcontextprotocol/server-filesystem": "2026.8.31",
44
45
  "@types/node": "22.20.1",
45
46
  "@types/semver": "^7.7.1",
46
47
  "@vitest/coverage-v8": "4.1.10",
@@ -57,14 +58,14 @@
57
58
  "vitest": "4.1.10",
58
59
  "zod": "^4.4.3",
59
60
  "zod-to-json-schema": "^3.25.1",
60
- "@internal/ai-sdk-v5": "0.0.76",
61
- "@internal/lint": "0.0.129",
62
- "@internal/test-utils": "0.0.65",
63
- "@internal/llm-recorder": "0.0.65",
64
- "@internal/types-builder": "0.0.104",
65
- "@mastra/core": "1.64.0-alpha.5",
66
- "@mastra/schema-compat": "1.3.8-alpha.0",
67
- "@mastra/observability": "1.17.5-alpha.0"
61
+ "@internal/ai-sdk-v5": "0.0.77",
62
+ "@internal/test-utils": "0.0.66",
63
+ "@internal/llm-recorder": "0.0.66",
64
+ "@internal/types-builder": "0.0.105",
65
+ "@internal/lint": "0.0.130",
66
+ "@mastra/observability": "1.17.5",
67
+ "@mastra/core": "1.64.0",
68
+ "@mastra/schema-compat": "1.3.8"
68
69
  },
69
70
  "homepage": "https://mastra.ai",
70
71
  "repository": {