Contact Us 1-800-596-4880

MCP Server Issues

logo cloud IDE Cloud IDE

logo desktop IDE Desktop IDE

Open Beta Release: The cloud IDE is in open beta. Any use of Anypoint Code Builder in its beta state is subject to the applicable beta services terms and conditions, available from the IDE.

When using the MuleSoft MCP Server in Anypoint Code Builder, you might encounter issues that prevent the server from functioning correctly. Follow these troubleshooting steps to diagnose and resolve common MCP server problems.

Verify the MCP Server Is Running

If MuleSoft Dev Agent isn’t responding to commands or tools aren’t available, verify that the MuleSoft MCP Server is running:

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

  2. Click Manage MCP Servers.

  3. Click (Settings) to open the MCP Server settings.

  4. In the Installed tab, verify that the MuleSoft MCP Server is enabled (toggled on and marked in green).

    If the server is disabled, toggle it on to enable it.

    The MCP server panel showing the Settings icon and the Enable toggle.

Check MCP Server Logs

When the MCP server isn’t working as expected, check the logs to identify the cause:

  1. Open the Output panel.

    Show me how
    • Use the keyboard shortcuts:

      • Mac: Cmd+Shift+u

      • Windows: Ctrl+Shift+u

    • In the desktop IDE, select View > Output.

    • In the cloud IDE, click the (menu) icon, and select View > Output.

  2. From the dropdown list in the Output panel, select Anypoint Code Builder - MCP Server.

    The outputs panel showing the MCP Server selected in the dropdown menu.

  3. Review the logged information for errors or warnings.

    The logs provide details about server operations, tool executions, and any errors that occur.

You can also check the Tasks section in the Output panel for additional errors or warnings related to MCP server operations.

Restart the MCP Server

If the MCP server stops responding or behaves unexpectedly, restart it:

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

  2. Click Manage MCP Servers.

  3. Click (Settings) to open the MCP Server settings.

  4. In the Installed tab, locate the MuleSoft MCP Server.

  5. Click (Restart Server).

    When the server restarts successfully, you see a confirmation message in the Output panel.

If restarting doesn’t resolve the issue, try disabling and then re-enabling the server.

Validate MCP Server Configuration

You can validate whether the MCP server is running correctly by using third-party tools:

  1. In the MCP Server settings, select Configure MCP Servers to view the server configuration.

  2. Use an API client like Postman to send test requests to the MCP server endpoint.

  3. Verify that the server responds correctly to your requests.

If the server doesn’t respond, check that the configuration in the a4d_mcp_settings.json file is correct.

MCP Server Tools Are Unavailable

If MCP server tools aren’t appearing or aren’t responding:

  1. Verify that the MuleSoft MCP Server is enabled in the Installed tab of the MCP Server settings.

  2. Check that the tools are enabled for the server:

    1. In the Installed tab, select the MuleSoft MCP Server to expand its details.

    2. Verify that the required tools are listed and enabled.

  3. Restart the MCP server.

  4. If the issue persists, check the MCP server logs for errors.

MCP Server Request Timeout

If requests to the MCP server are timing out:

  1. Open the MCP Server settings.

  2. In the Installed tab, select the MuleSoft MCP Server.

  3. Locate the Request Timeout setting.

  4. Increase the timeout value to allow more time for the server to respond.

For complex operations, a longer timeout might be required.