How to register Azure AI Search as a resource? #220
Replies: 1 comment 2 replies
-
There's no easy out of the box way to do this. It's not even certain you'll want to expose this as a resource, due to the way resources require the MCP Client host application to decide how to handle the resources and when to inject them into model context. You can create a tool which wraps your Azure AI Search queries (https://learn.microsoft.com/en-us/azure/search/search-query-overview) and thus lets the model do agentic search. If you want to do classic application-layer RAG, then MCP currently doesn't have any support for it on the protocol level. There are some discussions and open proposals on how to add this, which would for example make it easier to wrap Azure AI Search semantic queries in a standardized way. But currently you have to do a lot of the heavy-lifting yourself, and you get agentic / model-controlled search, with the advantages and disadvantages of that approach. You could wrap some of the query types in a Resource Template, but I wouldn't recommend that - as I don't think any client applications exist which would work well with this approach. |
Beta Was this translation helpful? Give feedback.
-
Pre-submission Checklist
Question Category
Your Question
I have data stored in an Azure AI Search service.
How can I expose this as a resource that an MCP client can query and retrieve data from?
In other words, how do I register my Azure AI Search index so it's accessible to the client through the MCP ecosystem?
Beta Was this translation helpful? Give feedback.
All reactions