mulesoft-mcp-server 1.2.35

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 ADDED
@@ -0,0 +1,96 @@
1
+ # mule-mcp-server
2
+
3
+ The Mule MCP Server package provides a command-line interface and server implementation for Mule integration with Cursor and Windsurf IDEs using the Model Context Protocol (MCP).
4
+
5
+ ## Installation
6
+
7
+ ### For Developers
8
+
9
+ ```bash
10
+ # Clone the repository
11
+ git clone <repository-url>
12
+ cd mulesoft-mcp-server
13
+
14
+ # Install dependencies
15
+ pnpm install
16
+
17
+ # Build the package
18
+ cd packages/mule-mcp-server
19
+ pnpm run build
20
+
21
+ # Start the server
22
+ pnpm run start
23
+
24
+ # Build the binary (optional)
25
+ pnpm run build:binary
26
+ ```
27
+
28
+ ## Environment Configuration
29
+
30
+ The server requires certain environment variables to be set. A template file `.env.template` is provided in the root directory.
31
+
32
+ 1. Create a copy of `.env.template` and rename it to `.env`:
33
+ ```bash
34
+ cp .env.template .env
35
+ ```
36
+
37
+ 2. Edit the `.env` file and fill in the required configuration:
38
+ ```
39
+ # Anypoint Configuration
40
+ ANYPOINT_BASE_URL = "https://anypoint.mulesoft.com"
41
+
42
+ # Deployment Configuration
43
+ TARGET_ID=cloudhub-us-east-2
44
+ MULE_RUNTIME_VERSION=4.9.2:6-java17
45
+ ```
46
+
47
+ ## Development
48
+
49
+ ### Local Development
50
+
51
+ First, make sure you're in the correct directory:
52
+ ```bash
53
+ cd packages/mule-mcp-server
54
+ ```
55
+
56
+ You have two main options for local development:
57
+
58
+ #### Option 1: Direct Development Mode
59
+ This option is simpler and good for quick testing:
60
+ ```bash
61
+ # Start the server in development mode
62
+ pnpm run start:dev
63
+ ```
64
+
65
+ #### Option 2: Watch Mode (Recommended for Active Development)
66
+ This option is better for active development as it automatically rebuilds when you make changes:
67
+ ```bash
68
+ # Terminal 1: Start watch mode to automatically rebuild on changes
69
+ pnpm run dev
70
+
71
+ # Terminal 2: Start the server in development mode
72
+ pnpm run start:dev
73
+ ```
74
+
75
+ ### Testing
76
+
77
+ ```bash
78
+ # Run all tests
79
+ pnpm run test
80
+
81
+ # Run tests in watch mode
82
+ pnpm run test --watch
83
+ ```
84
+
85
+ ### Building
86
+
87
+ ```bash
88
+ # Build for production
89
+ pnpm run build
90
+
91
+ # Build binary distribution
92
+ pnpm run build:binary
93
+ ```
94
+
95
+ The build process creates:
96
+ - `dist/`