Step 4

Connect Claude Code (Optional)

Optional: This step requires a paid Claude plan (Pro, Max, Team, or Enterprise) or Anthropic Console API access. Skip to Connect Claude Desktop → or proceed to Explore Available Tools → if you completed the Slackbot step.

Add the MuleSoft MCP Server to Claude Code

The Platform MCP Server lives at https://omni.mulesoft.com/mcp. Run the following command in your terminal, replacing the placeholders with the Client ID and Secret from your Connected App:

MCP_CLIENT_SECRET=<YOUR_CLIENT_SECRET> \
  claude mcp add --transport http mulesoft-platform \
  https://omni.mulesoft.com/mcp \
  --client-id <YOUR_CLIENT_ID> \
  --client-secret \
  --callback-port 8976

You should see:

Added HTTP MCP server mulesoft-platform with URL: https://omni.mulesoft.com/mcp to local config

Important: The bare --client-secret flag (no value after it) tells Claude Code to read the secret from the MCP_CLIENT_SECRET environment variable. The --callback-port 8976 must match the redirect URI you registered in the Connected App (http://localhost:8976/callback).


Authenticate

  1. Start Claude Code:
    claude
    
  2. Run /mcp — you should see mulesoft-platform listed with a ⚠ needs authentication badge
  3. Select mulesoft-platform → choose Authenticate
  4. Claude Code opens your browser to the Anypoint OAuth login — sign in and click Grant access
  5. You’ll see: Authentication Successful. You can close this window.
  6. Back in Claude Code, run /mcp again — the badge should now show ✓ connected · 66 tools

Continue to Connect Claude Desktop (Optional) →