{
"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"
}
Using the MuleSoft MCP Server
The MuleSoft MCP Server integrates with the MuleSoft Dev Agent. Through this integration, you can build, deploy, and manage your projects using natural language prompts.Whether you’re using Anypoint Code Builder, Cursor, Windsurf, or any MCP-compatible IDE, you have direct access to the full lifecycle of Mule application development without leaving your editor.
To learn more about the MuleSoft Dev Agent, see Get Started with MuleSoft Dev Agent.
To learn more about the MuleSoft MCP Server tools, see MuleSoft MCP Server Tool Reference
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 the required Anypoint Code Builder permissions, including the Mule Developer Generative AI User permission.
-
If you’re using Cursor, Windsurf, or any MCP-compatible IDE, make sure you set up and configure MuleSoft MCP Server for your IDE, including all permissions. See Getting Started with MuleSoft MCP Server.
Example: Create a Network Using the MuleSoft Dev Agent
-
In the Anypoint Code Builder activity bar (or similar location in your IDE), click the agent icon
. -
In the prompt field, describe your agent network, including the brokers, agents, MCP servers, and LLMs you want to connect. MuleSoft Dev Agent does the rest.
For example, consider this prompt entered using the agent’s Plan mode: 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 tool.
After successfully running, the agent creates a agent-network.yaml file and responds with a final success summary.
Example Prompts
Use these example prompts to guide MuleSoft Dev Agent 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.



