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

What is MCP? The 'Universal Translator' Making AI Tool-Ready 🤖

Imagine a world where your AI applications can effortlessly connect to and use any tool or data source… without needing a deep dive into complex, custom API documentation every single time. Right now, connecting Large Language Models (LLMs) to the tools they need often looks like a tangled web of custom, brittle integrations. 🕸️ Every new tool requires another piece of unique code, creating a bottleneck that’s complex and prone to errors. ...

October 25, 2025 · 4 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

Connecting to an MCP Server: 3 Key Lessons I Learned

Connecting a Mule application to an MCP Server is a core task for building modern, AI-driven integrations. While the MCP Connector makes this process straightforward, a few key details can make the difference between a smooth implementation and a frustrating debugging session. Having gone through the process, I want to share the three most important lessons I learned to help you get it right the first time. Lesson 1: Your Server URI Must Be Exact When you first set up the MCP Client configuration, your immediate instinct might be to just enter the hostname of your deployed MCP server. This is a common pitfall. ...

July 15, 2025 · 4 min · Patryk Bandurski

Implementing MCP Server with Tool on MuleSoft

Hello there Muley! 👋 I’m so excited to bring you the latest on expanding your integration capabilities! I’ve got some fantastic news and insights to share about implementing an MCP (Model Context Protocol) Server with MuleSoft. This is a game-changer for connecting my existing APIs to the world of AI agents! 🚀 What is an MCP Server and Why it Matters for MuleSoft? You might be wondering, what exactly is an MCP Server? 🤔 Simply put, it’s a way for AI agents to discover and interact with various tools and resources. An MCP service acts as a bridge, allowing AI models to understand and utilize external capabilities, effectively extending their reach beyond their core functions. You can read more about unlocking AI’s potential with MCP in this article: Unlocking AI’s Potential with MCP. ...

July 7, 2025 · 5 min · Patryk Bandurski

MuleSoft APIs as AI Assets: A Practical Guide to x-SFDC Tags

Unlock AI Power: How to Enable Your MuleSoft APIs as AI Assets! Are you ready to make your APIs smarter and open them up to the world of Artificial Intelligence? The future of integration is here, and it involves turning your APIs into powerful AI assets. This means your APIs can be understood and used directly by AI tools, like Salesforce’s Agentforce. Let’s dive into how you can enable your APIs to become these intelligent assets, using practical examples from an OAS 3 specification. ...

July 4, 2025 · 5 min · Patryk Bandurski

Agentforce, API Catalog, MuleSoft Topics: Your AI Integration Guide

Get Ready! Agentforce, API Catalog, and MuleSoft Topics Explained for Developers! Do you want to know about the newest technology? Do you want ideas that help you build powerful solutions? Then this is for you! The latest changes in Agentforce, the Salesforce API Catalog, and MuleSoft Topics are amazing and will change how you connect systems! We talked about these exciting new things at the Warsaw MuleSoft Meetup, and the message is clear: smart automation is here now. ...

July 2, 2025 · 4 min · Patryk Bandurski

AsyncAPI: Describing Event-Driven APIs

What You’ll Learn When and why to use AsyncAPI in real projects How to describe asynchronous APIs using version 2.0–2.6 Key components of an AsyncAPI document Practical, MuleSoft-compatible examples using Anypoint MQ The Challenge: Describing Event-Driven APIs Imagine you’re building a system that integrates with Anypoint MQ. Instead of REST calls, components exchange messages — events that trigger behavior or transfer data asynchronously. You need a way to: Describe how events flow between producers and consumers Ensure alignment between teams Maintain consistent, machine-readable documentation This is exactly where AsyncAPI comes in. ...

June 4, 2025 · 3 min · Patryk Bandurski

Understanding One-Way vs. Two-Way TLS for APIs

When building secure APIs, TLS (Transport Layer Security) is a must. But not all TLS setups are created equal. If you’ve ever wondered what exactly two-way TLS is — or when to use it — you’re in the right place. Let’s break it down in a simple way. 🔐 One-Way TLS (Standard TLS) We all use it every day. Every time you log in to your bank account or shop online, you’re using one-way TLS. Your browser verifies the identity of the server via a certificate, usually signed by a trusted Certificate Authority (CA). ...

April 3, 2025 · 3 min · Patryk Bandurski

Step-by-Step Guide: Configuring 2-Way TLS on MuleSoft DLB

Setting up 2-Way TLS (mutual TLS) on MuleSoft’s Dedicated Load Balancer (DLB) can feel daunting. We get it — there are keystores, truststores, certs, and configurations across systems. But don’t worry — this guide walks you through it clearly, step by step. 🔧 What You’ll Need Before starting, make sure you have: ✅ A working MuleSoft application deployed to CloudHub ✅ A configured Dedicated Load Balancer (DLB) ✅ Your client certificate (X.509 PEM) ✅ Your truststore (to trust the client’s cert) ✅ Access to Anypoint Platform & Runtime Manager ...

April 3, 2025 · 4 min · Patryk Bandurski