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-secretflag (no value after it) tells Claude Code to read the secret from theMCP_CLIENT_SECRETenvironment variable. The--callback-port 8976must match the redirect URI you registered in the Connected App (http://localhost:8976/callback).
Authenticate
- Start Claude Code:
claude - Run
/mcp— you should seemulesoft-platformlisted with a ⚠ needs authentication badge - Select mulesoft-platform → choose Authenticate
- Claude Code opens your browser to the Anypoint OAuth login — sign in and click Grant access
- You’ll see: Authentication Successful. You can close this window.
- Back in Claude Code, run
/mcpagain — the badge should now show ✓ connected · 66 tools
Continue to Connect Claude Desktop (Optional) →