The Mulesoft MCP Server is a Model Context Protocol (MCP) implementation that facilitates interaction between large language models (LLMs) and the Mulesoft Anypoint Platform. Create and deploy Mule applications, search for assets in Anypoint Exchange, and more.
- Anypoint Extension Pack version 1.8.2 or later
- Git
- Organization administrator access (for creating a connected app)
- To run the generate_mule_flow tool, enable Einstein in Access Management. For more information, see Enabling Einstein for Anypoint Platform.
- create_mule_project: Create an integration project.
- generate_mule_flow: Create a flow using AI.
- run_local_mule_application: Deploy and run your application locally.
- search_asset: Find an Anypoint Exchange asset by name or other parameters you specify. Returns the first asset that matches input criteria.
- create_and_manage_assets: Create an asset in Anypoint Exchange, update some Anypoint Exchange asset properties without republishing the asset, and delete an asset in Anypoint Exchange. Asset properties are the asset name, description, icon, contact name, and contact email.
- deploy_mule_application: Deploy your application to CloudHub 2.0 or Runtime Fabric and run it. You can deploy from a local project or Anypoint Exchange asset. This tool supports security, high availability, and performance optimization deployment options.
- list_applications: Get information about all applications in the environment you specify. You can also specify an optional deployment name. Results are sorted by last update date and time, in descending order.
See Example Commands.
You can deploy applications to CloudHub 2.0 and Runtime Fabric only.
Create a connected app that acts on its own behalf using the steps in Create a Connected App That Acts on Its Own Behalf.
In step 6, add the following scopes:
Anypoint Code Builder
- Mule Developer Generative AI User
General
- View Organization
- View Connected Applications
Exchange
- Exchange Administrator
- Exchange Contributor
- Exchange Creator
- Exchange Viewer
Runtime Manager
- Read Applications
- Create Applications
- Read Runtime Fabrics
- Cloudhub Network Viewer
Anypoint Monitoring
- Monitoring Viewer
To install the server with node, run:
npm install -g @mulesoft/mcp-server
You can configure Claude Desktop, Zed, Cursor, Windsurf, and other IDEs to work with the MuleSoft MCP Server.
Add this snippet to claude_desktop_config.json
where ANYPOINT_REGION
(optional) is one of these values: PROD_US
, PROD_EU
, PROD_CA
, or PROD_JP
.
{
"mcpServers": {
"mulesoft": {
"command": "npx",
"args": ["-y", "@mulesoft/mcp-server", "start"],
"env": {
"ANYPOINT_CLIENT_ID": "<YOUR_CLIENT_ID>",
"ANYPOINT_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"ANYPOINT_REGION": "<REGION_NAME>"
}
}
}
}
Add this snippet to Zed settings.json
where ANYPOINT_REGION
(optional) is one of these values: PROD_US
, PROD_EU
, PROD_CA
, or PROD_JP
.
{
"context_servers": {
"mulesoft": {
"command": "npx",
"args": ["-y", "@mulesoft/mcp-server", "start"],
"env": {
"ANYPOINT_CLIENT_ID": "<YOUR_CLIENT_ID>",
"ANYPOINT_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"ANYPOINT_REGION": "<REGION_NAME>"
}
}
}
}
Add this snippet to Cursor mcp.json
where ANYPOINT_REGION
(optional) is one of these values: PROD_US
, PROD_EU
, PROD_CA
, or PROD_JP
.
{
"mcpServers": {
"mulesoft": {
"command": "npx",
"args": ["-y", "@mulesoft/mcp-server", "start"],
"env": {
"ANYPOINT_CLIENT_ID": "<YOUR_CLIENT_ID>",
"ANYPOINT_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"ANYPOINT_REGION": "<REGION_NAME>"
}
}
}
}
Add this snippet to Windsurf mcp_config.json
where ANYPOINT_REGION
(optional) is one of these values: PROD_US
, PROD_EU
, PROD_CA
, or PROD_JP
.
{
"mcpServers": {
"mulesoft": {
"command": "npx",
"args": ["-y", "@mulesoft/mcp-server", "start"],
"env": {
"ANYPOINT_CLIENT_ID": "<YOUR_CLIENT_ID>",
"ANYPOINT_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"ANYPOINT_REGION": "<REGION_NAME>"
}
}
}
}
Add this snippet to Cline config.json
where ANYPOINT_REGION
(optional) is one of these values: PROD_US
, PROD_EU
, PROD_CA
, or PROD_JP
.
{
"mcpServers": {
"mulesoft": {
"command": "npx",
"args": ["-y", "@mulesoft/mcp-server", "start"],
"env": {
"ANYPOINT_CLIENT_ID": "<YOUR_CLIENT_ID>",
"ANYPOINT_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"ANYPOINT_REGION": "<REGION_NAME>"
}
}
}
}
Add this snippet to VS Code settings.json
or .vscode/mcp.json
where (optional) ANYPOINT_REGION
is one of these values: PROD_US
, PROD_EU
, PROD_CA
, or PROD_JP
.
{
"mcp": {
"servers": {
"mulesoft": {
"command": "npx",
"args": ["-y", "@mulesoft/mcp-server", "start"],
"env": {
"ANYPOINT_CLIENT_ID": "<YOUR_CLIENT_ID>",
"ANYPOINT_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"ANYPOINT_REGION": "<REGION_NAME>"
}
}
}
}
}
Add this snippet to Trae mcp_settings.json
or .vscode/mcp.json
where ANYPOINT_REGION
(optional) is one of these values: PROD_US
, PROD_EU
, PROD_CA
, or PROD_JP
.
{
"mcpServers": {
"mulesoft": {
"command": "npx",
"args": ["-y", "@mulesoft/mcp-server", "start"],
"env": {
"ANYPOINT_CLIENT_ID": "<YOUR_CLIENT_ID>",
"ANYPOINT_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"ANYPOINT_REGION": "<REGION_NAME>"
}
}
}
}
If you want to... | Try this... |
---|---|
Deploy an existing asset in Anypoint Exchange to CloudHub 2.0 or Runtime Fabric | Deploy app using sample-asset-name from Anypoint Exchange. |
Create an implementation project | Create a Mule project that creates an order in NetSuite every time an opportunity in Salesforce is updated to stage Closed Won. |
Deploy an implementation application | Deploy Mule application in current project. Deploy with high security, high availability, and performance optimized settings. |