Contact Us 1-800-596-4880

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

  1. Open the MuleSoft Dev Agent panel in Anypoint Code Builder.

  2. 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.
  3. 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

  1. In MCP Server settings, select the Marketplace tab.

  2. Browse the available MCP servers or filter by category.

  3. 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.

Add a Remote MCP Server

  1. Select the Remote Servers tab.

  2. Enter a Server Name and a Service URL for the remote MCP server.

  3. Click Add Server to connect to the remote instance.

  4. (Optional) Select Edit Configuration to manually configure the MCP server by updating the a4d_mcp_settings.json file.

Manually Configure the JSON File

If needed, you can configure MCP servers directly by editing the a4d_mcp_settings.json file:

  1. From the Remote Servers tab, select Edit Configuration.

  2. Update fields such as server names, URLs, and additional settings.

  3. Save your changes to apply the configuration.

Manage Installed MCP Servers

Once an MCP server has been installed, you can manage it from the Installed tab.

Enable, Disable, or Restart Servers

  1. Select the Installed tab.

  2. Toggle each MCP server on or off.

  3. 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:

  1. In the Installed tab, select a server to expand its details.

  2. View the list of available tools for that server.

  3. 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.
  4. 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:

  1. In the server details panel, locate Request Timeout.

  2. Select a timeout value.

Delete an MCP Server

To remove an MCP server:

  1. Open the server’s configuration panel from the Installed tab.

  2. Scroll to the bottom of the tools list.

  3. Select Delete Server.

  4. 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.