Enabling AI on MuleSoft APIs with MCP Server: A Dual-Exposure Pattern Walkthrough

Are you looking at all the new AI tools and wondering how you can connect them to your powerful, battle-tested APIs? You’re in the right place! In this walkthrough, we’ll enhance an existing Salesforce System API by implementing the Dual-Exposure Pattern. This is a fancy way of saying we’ll make your API “AI-ready” by adding a new, smart entry point for AI agents without breaking your existing RESTful interface. We will expose three core operations—create a case, get case details, and update a case—as discoverable AI tools, all from the comfort of Anypoint Code Builder. ...

October 25, 2025 · 5 min · Patryk Bandurski

Best Practices: The Anatomy of a Great Error Message

In API development, we often focus on the “happy path,” ensuring our integrations work perfectly when everything goes right. But the true measure of a professional, production-grade API is how it behaves when things go wrong. An error message is more than just a notification of failure; it is a critical diagnostic tool that can mean the difference between a five-minute fix and a five-hour investigation, especially in a live production environment. ...

September 10, 2025 · 6 min · Patryk Bandurski