---
schema_version: "1"
id: 0e3a3abf12617b5bccff796434651b6dbb7bb10b160a819d2b56e6026a263151
title: Using MuleSoft DX MCP Server
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/mulesoft-mcp-server/using-mulesoft-mcp-server.md
canonical_url: https://docs.mulesoft.com/mulesoft-mcp-server/using-mulesoft-mcp-server
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b335893119daf45c893f491e9e3bb71f7d804679270a6d70ef5c23c65c52ba9e
description: MuleSoft Documentation Site
latest: true
---
---
product: MuleSoft MCP Servers
---

# Using MuleSoft DX MCP Server

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

MuleSoft DX MCP Server integrates with MuleSoft Vibes so that you can build, deploy, and manage
projects using natural language prompts. Whether you use Anypoint Code Builder, Cursor, Windsurf, or
another MCP-compatible IDE, you keep the full Mule application lifecycle in your editor.

To learn more about MuleSoft Vibes, see
[Get Started with MuleSoft Vibes](https://docs.mulesoft.com/anypoint-code-builder/vibes-get-started).

To learn more about the MuleSoft DX MCP Server tools, see
[MuleSoft DX MCP Server Tool Reference](https://docs.mulesoft.com/mulesoft-mcp-server/reference-mcp-tools).

## Before You Begin

Before you get started, make sure you meet these prerequisites.

- If you’re using Anypoint Code Builder, make sure that you:

  - [Set up and access the desktop IDE](https://docs.mulesoft.com/anypoint-code-builder/start-acb).

  - Set the
    [required Anypoint Code Builder permissions](https://docs.mulesoft.com/anypoint-code-builder/start-configure-permissions#permissions),
    including the Mule Developer Generative AI User permission.

  - [Enabling or Disabling Generative AI for Anypoint Platform](https://docs.mulesoft.com/access-management/enabling-generative-ai).

- If you’re using Cursor, Windsurf, or any MCP-compatible IDE, make sure you set up and configure
  MuleSoft DX MCP Server for your IDE, including all permissions. See
  [Getting Started with MuleSoft DX MCP Server](https://docs.mulesoft.com/mulesoft-mcp-server/getting-started).

## Example: Create a Network Using MuleSoft Vibes

1.  In the Anypoint Code Builder activity bar (or similar location in your IDE), click the agent
    icon ![](/mulesoft/current/en-us/mulesoft-mcp-server/_images/af-acb-dev-agent-icon.png).

2.  In the prompt field, describe your agent network, including the brokers, agents, MCP servers,
    and LLMs you want to connect. MuleSoft Vibes does the rest.

For example, consider this prompt entered using the agent’s
[Plan mode](https://docs.mulesoft.com/anypoint-code-builder/vibes-get-started#plan-and-act-modes):
`Create a new agent network project called "Employee Onboarding." Add HR agent and CRM agent.`

The agent asks for `projectPath`, which is a required parameter for the
[`create_agent_network_project`](https://docs.mulesoft.com/mulesoft-mcp-server/reference-mcp-tools#create-agent-network-project) tool.

After successfully running, the agent creates an `agent-network.yaml` file and responds with a final
success summary.

```json
{
  "success": true,
  "projectPath": "/Users/test/src/mulesoft/mulesoft-mcp-server/Employee Onboarding",
  "message": "Employee Onboarding agent network created successfully",
  "components": {
    "agents": ["hr-agent", "crm-agent"],
    "brokers": ["onboarding-coordinator"],
    "connections": 1,
    "filesCreated": ["agent-network.yaml", "exchange.json", "README.md"]
  },
  "nextSteps": [
    "Deploy to runtime environment using deploy_agent_network",
    "Publish to Exchange using publish_agent_network_assets",
    "Open project in workspace using open_project"
  ],
  "validationStatus": "passed"
}
```

## Example Prompts

Use these example prompts to guide MuleSoft Vibes in completing common tasks. Customize the values
to match your project or environment.

### Application Deployment and Projects

- **Task**: Deploy an app to CloudHub or Runtime Fabric.

  **Prompt**: Deploy the \[application\_name\] app from Anypoint Exchange.

- **Task**: Create an integration project.

  **Prompt**: Create a Mule project that creates an order in NetSuite every time an opportunity in
  Salesforce is updated to the ‘Closed Won’ stage.

- **Task**: Deploy an integration application.

  **Prompt**: Deploy \[application\_name\] app in the current project. Deploy it with high security,
  high availability, and performance optimized settings.

- **Task**: Modify an existing application.

  **Prompt**: Update \[application\_name\] so that it meets \[specific business requirements\].

- **Task**: Generate an MCP server using Anypoint connectors.

  **Prompt**: Generate an MCP server that exposes three tools from the following operations:
  Workday - Absence Management - Get Time Off Plan Balances, Workday - Absence Management - Enter
  Time Off, and Google Calendar - Create Calendar Event.

### Exchange Asset Management

- **Task**: Create an asset in Exchange.

  **Prompt**: Publish \[this asset type\] in Exchange using this \[name\].

- **Task**: Search for an asset in Exchange.

  **Prompt**: Do I have any assets for order notifications in Exchange?

- **Task**: Search for an asset within a specific organization.

  **Prompt**: Find \[asset name\] in \[organization name\].

### API Instances

- **Task**: Create an app instance and apply a policy.

  **Prompt**: Create an instance for the \[application\_name\] and apply the rate limiting policy to
  that instance.

- **Task**: View performance metrics for your APIs or apps.

  **Prompt**: Which apps generated the most errors this month?

### Custom Metadata

- **Task**: Set custom metadata that uses sample data.

  **Prompt**: Can you help me define custom metadata on the following component? This is how the
  sample data looks: \[sample data\].

- **Task**: Set custom metadata using a file.

  **Prompt**: Define custom metadata using the sample file below and attach it to
  \[processor\_name\] @\[path\_to\_file\].

### Agent Network Operations

- **Task**: Create an Agent Network

  **Prompt**: Create an Agent Network for called "Employee Onboarding".

- **Task**: Publish an Agent Network.

  **Prompt**: Publish the "Employee Onboarding" Agent Network project to Exchange.

- **Task**: Deploy an instance of the "Employee Onboarding" Agent Network to staging.

  **Prompt**: Deploy this Agent Network project.
