Work

AI-Powered Customer Support Platform Using Retrieval-Augmented Generation, LangGraph and Model Context Protocol

Year: 2026
Type: preprint
Abstract: Customer support is an essential component of modern business applications. Traditional systems depend on human agents, e-mail and rule-based chatbots, which can lead to delayed responses and a heavy workload for support staff. General-purpose Large Language Models (LLMs) can automate conversation, but they may produce answers that are not grounded in an organization's own documents. This paper presents an AI-powered Customer Support Platform that combines LLMs, Retrieval-Augmented Generation (RAG), LangChain, LangGraph, MongoDB and the Model Context Protocol (MCP). Customers can chat with an AI assistant, upload PDF documents and ask questions answered from the uploaded content. The RAG pipeline extracts text, splits it into chunks, generates embeddings and retrieves relevant passages for context-aware answers. LangGraph orchestrates the processing workflow as an explicit graph, while MCP provides a standard way to connect explicitly authorized external tools. Separate modules for customers, employees and administrators are protected by role-based access control (RBAC) and document-ownership checks. The platform is implemented with a React and TypeScript web interface, a FastAPI backend, MongoDB Atlas with Atlas Vector Search, LangChain, LangGraph and MCP tools for calculation, knowledge search and support-ticket operations, and provides streaming answers with page-level source references. The paper presents the architecture, data model, methodology, implementation, security design, an experimental evaluation protocol and limitations. Performance figures are not reported in this version.
Author: Mulla, Abrar
Language: English
Open Access status: green
OpenAlex ID: W7230894533
Cites:
Cited by:
Related to: 10