How to Connect a Foundry IQ Knowledge Base to LangGraph via MCP Protocol

A new technical guide explains how to integrate Microsoft Foundry IQ's agentic retrieval system with LangGraph agents using the Model Context Protocol (MCP), eliminating the need to rebuild RAG pipelines for each new agent. Foundry IQ consolidates chunking, embedding, vector storage, and semantic reranking behind a single endpoint, with every knowledge base also functioning as a standalone MCP server exposing a retrieval tool. The tutorial highlights four key behavioral differences from standard retrievers, including token expiry handling, a distinct per-user permission token, and the interaction between two planners operating simultaneously per turn. Developers need an Azure AI Search service with agentic retrieval support, a Microsoft Foundry project with an LLM and embedding model deployment, and appropriate role assignments for identity management. The guide concludes with a working LangGraph agent that preserves citations in graph state and uses a token provider designed to sustain long-running sessions.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in