mulesoft-mcp-server 1.2.35 → 1.3.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.
- package/LICENSE.txt +7 -0
- package/README.md +7 -90
- package/dist/cjs/cli/index.js +1 -1
- package/dist/esm/cli/index.js +1 -1
- package/package.json +6 -2
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
MuleSoft MCP Server is subject to the terms of your Main Services Agreement with Salesforce.
|
|
2
|
+
|
|
3
|
+
If you do not have a Main Services Agreement in place with Salesforce, by accessing or downloading MuleSoft MCP Server you agree to the terms of the Main Services Agreement (the "Agreement") found here:
|
|
4
|
+
|
|
5
|
+
https://www.salesforce.com/en-us/wp-content/uploads/sites/4/documents/legal/Salesforce_MSA.pdf
|
|
6
|
+
|
|
7
|
+
You acknowledge that if you are accepting this Agreement on behalf of a company or other legal entity, you have the authority to bind such entity and affiliates to the Agreement.
|
package/README.md
CHANGED
|
@@ -1,96 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# mulesoft-mcp-server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Overview
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The MuleSoft MCP Server is a Model Context Protocol (MCP) implementation that facilitates interaction between large language models (LLMs) and the Anypoint Platform. Create and deploy Mule applications, create API specs, search for assets in Anypoint Exchange, get platform insights, and more.
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Available Tools
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
# Clone the repository
|
|
11
|
-
git clone <repository-url>
|
|
12
|
-
cd mulesoft-mcp-server
|
|
9
|
+
The MuleSoft MCP Server has tools for application development, application management, policy management, and usage and insights. For more information, see [MuleSoft MCP Server Overview](https://docs.mulesoft.com/mulesoft-mcp-server).
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
pnpm install
|
|
11
|
+
### Setup and Configuration
|
|
16
12
|
|
|
17
|
-
|
|
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/`
|
|
13
|
+
Set up authentication by creating a connected app that acts on its own behalf. Then, you can install the server and configure it for your IDE. For more information, see [Getting Started](https://docs.mulesoft.com/mulesoft-mcp-server/getting-started).
|