Configure an MCP Server
Add and manage MCP servers in Anypoint Code Builder to extend MuleSoft Dev Agent with tools for API design, integrations, governance, and agent networks.
Use the MuleSoft MCP Server
The MuleSoft MCP Server is integrated within Anypoint Code Builder and provides built-in tools to extend MuleSoft Dev Agent’s capabilities.
You can use these tools to generate API specifications, create and deploy integrations, manage governance rulesets, and build Agent Fabric agent networks. You can also work with DataWeave and gain insights into the performance of your applications and APIs—all directly from Anypoint Code Builder.
MuleSoft MCP Server tools are available in Anypoint Code Builder and are also supported when you use the Anypoint Extension Pack in compatible IDEs such as VS Code, Cursor, and Windsurf.
For more information about the MuleSoft MCP Server tools and their parameters, see: MuleSoft MCP Server Tool Reference.
Add and Manage Custom MCP Servers
From the MuleSoft Dev Agent panel, you can add your own MCP server or manage connected MCP servers through the MCP Server settings.
Open MCP Server Settings
-
Open the MuleSoft Dev Agent panel in Anypoint Code Builder.
-
Select Manage MCP Servers.
From this view, you can enable or disable MCP servers that have been installed. The MuleSoft MCP Server comes pre-installed with Dev Agent. -
Select the gear icon to open the full MCP Server settings.
This opens the MCP Servers UI with three tabs:
-
Marketplace
-
Remote Servers
-
Installed
With these views, you can install new MCP servers, connect to remote MCP servers, and manage existing MCP servers.
Add an MCP Server
You can add a custom MCP server by installing the server from the Marketplace, adding a remote MCP server, or manually editing the configuration file.
Install From Marketplace
-
In MCP Server settings, select the Marketplace tab.
-
Browse the available MCP servers or filter by category.
-
Click Install to add the selected MCP server to your environment.
Marketplace servers include community-provided MCP servers. Not all servers are supported by Salesforce.
Manage Installed MCP Servers
Once an MCP server has been installed, you can manage it from the Installed tab.
Enable, Disable, or Restart Servers
-
Select the Installed tab.
-
Toggle each MCP server on or off.
-
To restart a server, select Restart Server from its configuration panel.
Manage Tools for an MCP Server
Each MCP server provides a set of tools that Dev Agent can use. The following steps show you how to work with an MCP server:
-
In the Installed tab, select a server to expand its details.
-
View the list of available tools for that server.
-
To auto-approve an individual tool, check the Auto-approve box next to that tool.
Auto-approval for tools is available only if Auto-approve has been enabled in Dev Agent settings. -
To auto-approve all tools from a server, scroll to the bottom of the list and enable Auto-approve all tools.
Configure Request Timeout
Follow these steps to configure how long Dev Agent waits for a response from an MCP server:
-
In the server details panel, locate Request Timeout.
-
Select a timeout value.
Delete an MCP Server
To remove an MCP server:
-
Open the server’s configuration panel from the Installed tab.
-
Scroll to the bottom of the tools list.
-
Select Delete Server.
-
Confirm the deletion.
Tool availability, behavior, and stability may vary depending on the MCP server version and configuration, as well as whether the server is community-provided or supported by Salesforce.



