MuleSoft Model Context Protocol (MCP) with Cursor

Glue4Enterprise · Intermediate ·🧠 Large Language Models ·9mo ago

About this lesson

The Mulesoft MCP Server is a Model Context Protocol (MCP) implementation that facilitates interaction between large language models (LLMs) and the Mulesoft Anypoint Platform. Through natural language interactions, you can build agent networks, create and deploy Mule applications, create API specs, manage governance rulesets, get platform insights, and more. MuleSoft MCP Server acts as a bridge between AI-powered IDEs like Cursor, Windsurf, and VS Code and MuleSoft’s platform services—​enabling developers to build, deploy, and manage applications using natural language interactions in their editor.

Full Transcript

Hello. So in this tutorial we are going to see like uh Mudoft has already provided the MCP server uh which is related with the mostly the point platforms and we are going to see like how we can able to configure uh that particular MCP server into the cursor. So here uh I am I am I'm taking the example of the cursor. Okay. So to add this we need to make sure uh make sure that add this snip to the cursor MCP.json which is going to hold uh the each MCP server okay whether it is uh like uh designed and developed into the muse or which is the external one. Okay where any point reason is optional and one of these values we can able to pass it. Okay. So what are the mandatory thing we are supposed to so these all are the mandatory things. Okay. Including the environment. Okay. Because for each environment we know like we have the a specific client ID on client secret. So that we are supposed to pass it here. Okay. If you are going to pass this uh reason as a uh like any produ or produ so that we are going to restrict the reason against our LLM client which is going to operate in this particular reason for this environment. Okay. So that we are not going to see how we are going to pass this reason but we'll see how we have passed this in reason. Okay. So let's quickly jump into our MCP uh this cursor one. Okay. So if you see we have the cursor dot settings. Okay, that is available into the preference and cursor dot settings. Once you are going to that cursor dot setting, we can able to see the tab MCP. Okay, once you are going to click this new MCP server, it is going to open nothing but the MCP dot JSON. And here if you see exactly I have added the same thing except I I haven't added the this reasons. Okay. And I have given the name of the Moft platforms. Okay. So just I'm closing this. Okay. And if you see I haven't enabled it. Okay. But if you want to use it, you are make sure you have to enable it. Okay. So let me enable it. Okay. So enabling means we are allowing this uh this connection between LLM to the MCP server. And here we can able to see this all available tools. Okay. So these tools are nothing but if you go to here reference into this if you see here it is given the all the 187 available tools here which is the related with the applications. Okay this is the application management governance. So these all tools which is going to appear here means all the operations which is fall under these tools LLM can able to performs. So take a one examples like suppose I'm giving provide list of all stop apps from the sandbox environment. Okay before giving this prompt okay you need to make sure that okay this mcp.json okay so how you are going to because you are going to restrict your llm provide the context of the mcp server. Okay so it it is not going to work broadly. Okay so let me add this context here. So here I have added mcp.json. Okay, which means that once we are going to write this prompt, it is going to uh search against this emcp.json. Okay, so let me sit this prompt and see how it is going to be here. So what ideally it is going to see if you clearly see it is going to calling the list of the applications which means it is calling. Okay. So it's already called where you can see the list of the application it's giving. Okay. Let me fetch all the remaining page to get it's saying maybe the three page or four page it is again it is calling the four page. Okay maybe the page by page in the chunk it's calling. So here if you see how it is going to planning. Okay. So here you can see a stopped application in the Salesforce in the sandbox environment. Okay. So if you see application with status undeployed. Okay. Splunk mu. So these are the all the like uh applications which are stopped here. So it's saying at the end of this summary total application sandbox 38 running application 24 stopped application 14 like this way. Okay. Let me suppose fake uh provide details about about a app. Okay. Or we we can able to see provide help check of an app called mure MCP server. P. So suppose there is a one already I have deployed in MCP server. Okay. And let me don't forget to add this context. Okay. And I'm asking provide the health check of an particular app. See how it is going to behave here. Okay. So the user want to h checke of an application called mule MCP server. Let's see to get a proper health check. I will retrieve. So it's calling. See it's calling the list application. Okay. And it is going to search for a particular applications and I suppose it should bring all the statistics of the uh that particular app. Okay. Like what is the throughput when it is deployed whether it is like running or so overall status is giving the healthy. Okay. If you see the application is running deployed like this this this so like each and every information it's giving. Okay. What is the memory utilizations? Correct. So it's if you see this information it's coming like pretty much like uh earlier what is happening we are going to log into the any point platforms then dashboard of that particular app to check okay but this is in one command in one prompt it is bringing entire things. Okay. So apart from that there are lots of the other uh like tools are which is available. You can create and manage assert you can search assert. Okay. Uh few things are you can see the generate API specifications you can also try it. Okay. Create API specification project that you can also try it. Okay. There is also called you can also see deployed mule application. So it is doing the CI/CD as well. Okay. You can also create the MCP server here. Okay. If you see these all the information which we are fetching is falling under the list applications. Okay. Suppose you have created API specification project. Okay. From that you can also able to generate the mule flow. So there are lots of the things we can able to achieve through. Okay. So hope you are going to like uh explore all these things and you able to understand how we can able to uh connect this Mulesoft MCP server through this cursors. Okay. So hope you like this. Thank you. Thank you very much.

Original Description

The Mulesoft MCP Server is a Model Context Protocol (MCP) implementation that facilitates interaction between large language models (LLMs) and the Mulesoft Anypoint Platform. Through natural language interactions, you can build agent networks, create and deploy Mule applications, create API specs, manage governance rulesets, get platform insights, and more. MuleSoft MCP Server acts as a bridge between AI-powered IDEs like Cursor, Windsurf, and VS Code and MuleSoft’s platform services—​enabling developers to build, deploy, and manage applications using natural language interactions in their editor.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
Kimi: Threat or menace?
Understand the controversy surrounding Kimi, a new AI model release, and its potential implications on AI development
TechCrunch AI
📰
Sharing your ideas to ai
Sharing ideas with AI can provide different perspectives, improve ideas, and affect their perceived value, as seen in personal project experiences with various AI tools
Reddit r/artificial
📰
Inside Kimi K3: The Architecture, the Training, and the Tasks It Actually Wins
Explore the architecture, training, and capabilities of Kimi K3, the largest open model announced, and understand its winning tasks
Medium · AI
📰
Getting Started with Microsoft Foundry Local: Running AI Models Without the Cloud
Run AI models locally without the cloud using Microsoft Foundry Local and build a fully local RAG assistant
Medium · Python
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →