<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Librechat on Marian Zeis Blog</title>
    <link>https://blog.zeis.de/tags/librechat/</link>
    <description>Recent content in Librechat on Marian Zeis Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 03 Mar 2026 09:00:00 +0100</lastBuildDate>
    <atom:link href="https://blog.zeis.de/tags/librechat/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building an Enterprise-Ready SAP AI Agent with Open Source</title>
      <link>https://blog.zeis.de/posts/2026-02-16-librechat-enterprise-gpt/</link>
      <pubDate>Tue, 03 Mar 2026 09:00:00 +0100</pubDate>
      <guid>https://blog.zeis.de/posts/2026-02-16-librechat-enterprise-gpt/</guid>
      <description>&lt;p&gt;There is currently a huge hype around the new &lt;strong&gt;MCP (Model Context Protocol)&lt;/strong&gt; servers. I&amp;rsquo;ve built one for &lt;a href=&#34;https://github.com/marianfoo/mcp-sap-docs&#34;&gt;SAP Docs&lt;/a&gt;, and there are excellent community projects like the &lt;a href=&#34;https://github.com/oisee/vibing-steampunk&#34;&gt;ADT API MCP Server&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;These tools are fantastic for individual developers. You install them, connect them to your IDE or a local LLM, and suddenly your AI assistant knows about SAP.&lt;/p&gt;&#xA;&lt;h3 id=&#34;architecture-overview-in-one-picture&#34;&gt;Architecture overview (in one picture)&lt;/h3&gt;&#xA;&lt;p&gt;Before diving into the details, here is the high-level architecture I’m aiming for:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img alt=&#34;Enterprise SAP AI agent architecture overview: user, LibreChat, LLM (local or cloud), and MCP-based knowledge sources&#34; loading=&#34;lazy&#34; src=&#34;https://blog.zeis.de/posts/2026-02-16-librechat-enterprise-gpt/images/architecture.png&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;The idea is simple: users talk to &lt;strong&gt;LibreChat&lt;/strong&gt; (the UI + orchestrator). LibreChat calls an &lt;strong&gt;LLM&lt;/strong&gt; (local inside the company network, or a trusted cloud model) and enriches answers via &lt;strong&gt;MCP servers&lt;/strong&gt;. Those MCP servers connect to your knowledge sources (SAP docs, your SAP system via a read-only ADT connection, and internal SharePoint) without turning this into an “AI tool with write access to prod”.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;But here is the problem:&lt;/strong&gt; For a common SAP consultant, architect, or developer in a corporate environment, this setup is often a nightmare.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Complexity:&lt;/strong&gt; Setting up a local LLM, configuring MCP, and dealing maybe with Docker isn&amp;rsquo;t everyone&amp;rsquo;s cup of tea.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Security:&lt;/strong&gt; This is the big one. The default ADT MCP server, for example, is powerful, it allows reading and &lt;em&gt;writing&lt;/em&gt; to the SAP system. No security department in their right mind would allow a &amp;ldquo;random&amp;rdquo; AI tool to have write access to the entire development system without strict governance.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Governance:&lt;/strong&gt; Companies need to know where the data is going. Is it staying in Europe? Is it training the model?&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;This is not mainly a &amp;ldquo;developer toy&amp;rdquo;. The biggest value is for everyone who needs to understand what is going on in an SAP system: consultants, architects, project leads, support, and developers who are new to a system.&lt;/p&gt;&#xA;&lt;p&gt;For ABAP developers specifically, the best enterprise-ready setup today is often &lt;strong&gt;GitHub Copilot in ADT&lt;/strong&gt; because Agent Mode is available and you can add ABAP-specific knowledge through my &lt;a href=&#34;https://github.com/marianfoo/abap-mcp-server&#34;&gt;ABAP MCP Server&lt;/a&gt;. But this IDE setup still has a gap: it does not give a complete overview of the system and it cannot reliably retrieve additional classes, programs, and related objects on demand to build the full context for an answer.&#xA;Neverthless, it is a great tool for many ABAP developers to query the system and get a complete context for an answer. As you can see in the sample workflow below, it is possible to use the MCP servers to build the full context for an answer and just copy-paste the code into Eclipse.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-enterprise-struggle&#34;&gt;The Enterprise Struggle&lt;/h3&gt;&#xA;&lt;p&gt;I recently saw a discussion that perfectly illustrates this struggle. Companies are desperately searching for &amp;ldquo;Enterprise Ready&amp;rdquo; AI usage, but they are hitting walls.&lt;/p&gt;&#xA;&lt;p&gt;Some are trying manual workarounds, such as exporting their entire codebase to SharePoint for Microsoft Copilot to index. This often involves flattening package hierarchies to bypass navigation limits and manually creating &lt;code&gt;README.md&lt;/code&gt; or cross-reference files to provide context, all while battling hallucinations where the AI fails to find existing transactions due to indexing errors.&lt;/p&gt;&#xA;&lt;p&gt;Then there is &lt;strong&gt;SAP Joule&lt;/strong&gt;. SAP&amp;rsquo;s own AI assistant is available for consultants, but it is quite limited in&#xA;what it can do. It doesn&amp;rsquo;t connect to your custom codebase, can&amp;rsquo;t search your internal SharePoint documentation,&#xA;and has no way to follow references across ABAP objects the way an MCP-based agent can. It is a nice chatbot for&#xA;general SAP questions, but it is far from a tool that understands &lt;em&gt;your&lt;/em&gt; system.&lt;/p&gt;&#xA;&lt;p&gt;This also matches the broader picture. In the &lt;a href=&#34;https://dsag.de/presse/dsag-investment-report-2026-companies-are-investing-more-selectively-ai-is-becoming-established-cloud-computing-is-being-put-to-the-test/&#34;&gt;DSAG Investment Report 2026&lt;/a&gt;, most respondents who already run AI use cases do so with &lt;strong&gt;non-SAP solutions&lt;/strong&gt;, not SAP&amp;rsquo;s AI offerings.&lt;/p&gt;&#xA;&lt;p&gt;On the other end of the spectrum, you have high-end commercial solutions like &lt;strong&gt;Nova Intelligence&lt;/strong&gt;. They do exactly what you want: they read the SAP system directly, understand the context, and are enterprise-ready. But they are also &lt;strong&gt;really expensive&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-middle-ground-a-secure-open-source-alternative&#34;&gt;The &amp;ldquo;Middle Ground&amp;rdquo;: A Secure, Open Source Alternative&lt;/h3&gt;&#xA;&lt;p&gt;So, is there nothing in between? Do you have to choose between a hacking-together-files-on-SharePoint workaround and a six-figure enterprise contract?&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;No.&lt;/strong&gt; I want to show you that there is a &amp;ldquo;Middle Ground.&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;You can build a secure, enterprise-grade setup using Open Source tools. Think of it as &lt;strong&gt;building your own internal &amp;ldquo;SAP Copilot&amp;rdquo;&lt;/strong&gt; that runs entirely under your control.&lt;/p&gt;&#xA;&lt;p&gt;This setup allows you to:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Search your SAP System&lt;/strong&gt; (Reports, Classes, Tables)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Search SAP Documentation&lt;/strong&gt; (Help, GitHub, SAP Community)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Use your internal SharePoint&lt;/strong&gt; (Specs, Docs)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Keep it Secure&lt;/strong&gt; (Read-Only access, Authentication via Entra ID)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;the-stack&#34;&gt;The Stack&lt;/h3&gt;&#xA;&lt;p&gt;I used &lt;strong&gt;LibreChat&lt;/strong&gt; as the UI and Orchestrator to showcase what is possible. It&amp;rsquo;s an open-source web interface that looks and feels like ChatGPT but gives full control.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Client:&lt;/strong&gt; &lt;a href=&#34;https://www.librechat.ai/&#34;&gt;LibreChat&lt;/a&gt; (supports Entra ID, SharePoint, and MCP out of the box).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Knowledge Source 1:&lt;/strong&gt; &lt;a href=&#34;https://github.com/marianfoo/mcp-sap-docs&#34;&gt;SAP Docs MCP Server&lt;/a&gt; (for public documentation).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Knowledge Source 2:&lt;/strong&gt; &lt;a href=&#34;https://github.com/oisee/vibing-steampunk&#34;&gt;ADT MCP Server&lt;/a&gt; (for your SAP System).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;LLM:&lt;/strong&gt; A local LLM via Ollama.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;step-1-security-first-the-adt-connection&#34;&gt;Step 1: Security First (The ADT Connection)&lt;/h3&gt;&#xA;&lt;p&gt;The biggest concern is the SAP connection. I did &lt;strong&gt;not&lt;/strong&gt; want the AI to write code or change things autonomously.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://github.com/oisee/vibing-steampunk&#34;&gt;ADT MCP Server&lt;/a&gt; has a specific mode for this. I configured it to be &lt;strong&gt;Read-Only&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Furthermore, I connected it using a &lt;strong&gt;Technical User&lt;/strong&gt; in SAP that has &lt;em&gt;only&lt;/em&gt; display authorizations. This ensures that even if the AI wanted to (or was tricked to), it effectively cannot change anything in the system. It can only &amp;ldquo;look&amp;rdquo;, just like a developer using SE80 in display mode.&lt;/p&gt;&#xA;&lt;h3 id=&#34;step-2-the-setup&#34;&gt;Step 2: The Setup&lt;/h3&gt;&#xA;&lt;p&gt;The entire setup can be containerized with Docker. This means you can run it on a secure server within your company network. No requests need to leave your intranet if you use a local model, or they only go to your trusted Azure OpenAI instance.&lt;/p&gt;&#xA;&lt;p&gt;Here is the high-level concept:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Deploy LibreChat&lt;/strong&gt;: Configure it with your company&amp;rsquo;s Entra ID (Azure AD). This means users log in with their standard company Microsoft accounts. No separate user management needed.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Connect SharePoint&lt;/strong&gt;: LibreChat has native SharePoint support. Connect it to your project&amp;rsquo;s documentation libraries.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Connect MCP Servers&lt;/strong&gt;: Add the SAP Docs and ADT MCP servers to the configuration.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;why-this-works-better&#34;&gt;Why this works better&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Context is Key&lt;/strong&gt;: Unlike the SharePoint export method, the ADT MCP server understands the structure of ABAP. If you ask about a class, it knows to look for the definition and implementation. It doesn&amp;rsquo;t rely on a flat list of text files.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Data Privacy&lt;/strong&gt;: If you use a local model (like Llama 3) or a private Azure instance, your code never trains a public model.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;User Experience&lt;/strong&gt;: Developers get a chat interface they are used to (like ChatGPT), but it has &amp;ldquo;superpowers&amp;rdquo; to look up SAP notes and internal code.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;sample-workflow-understanding-what-is-going-on-in-your-system&#34;&gt;Sample Workflow: Understanding What Is Going On in Your System&lt;/h3&gt;&#xA;&lt;p&gt;This is the day-to-day use case for consultants, architects, support, and anyone onboarding onto an SAP landscape.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;The Request:&lt;/strong&gt;&#xA;Someone asks: &amp;ldquo;Tell me what &lt;code&gt;BAPI_DISPUTE_CREATE&lt;/code&gt; is doing in my SAP system. Use SAP docs and my system source code.&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;The Process:&lt;/strong&gt;&#xA;The agent uses SAP Docs MCP to understand the standard context (what the BAPI is meant to do), then uses the ADT MCP server to find the function module in the actual system, pull the source and function group, and summarize what happens step by step.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img alt=&#34;Researching SAP System&#34; loading=&#34;lazy&#34; src=&#34;https://blog.zeis.de/posts/2026-02-16-librechat-enterprise-gpt/images/researching-sap-system.jpg&#34;&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;sample-workflow-implementing-a-rap-action&#34;&gt;Sample Workflow: Implementing a RAP Action&lt;/h3&gt;&#xA;&lt;p&gt;Instead of just answering simple questions, the agent can plan and implement features.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;The Request:&lt;/strong&gt;&#xA;A developer uploads a PDF specification and asks: &lt;em&gt;&amp;ldquo;Please suggest what to change in my SAP System as specified in the Specification&amp;hellip;&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;The Process:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;System Research (ADT MCP):&lt;/strong&gt; The Agent autonomously explores the system. It executes &lt;code&gt;SearchObject&lt;/code&gt; and &lt;code&gt;GetSource&lt;/code&gt; to find the relevant Business Object (&lt;code&gt;ZI_FOOTBALL_CLUBS&lt;/code&gt;), the Behavior Definition, and the Projection view.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Impact Analysis:&lt;/strong&gt; It identifies that a new action &lt;code&gt;UpdateFoundedYear&lt;/code&gt; is needed and lists the exact objects that need to be created or changed (BDEF, Class, Projection, Metadata).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Best Practice Lookup (SAP Docs MCP):&lt;/strong&gt; When asked for the implementation code, the agent searches SAP Help Portal for &amp;ldquo;Non-factory action&amp;rdquo; and &amp;ldquo;Action input parameter&amp;rdquo; to ensure the code follows best practices.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Code Generation:&lt;/strong&gt; It generates the complete ABAP implementation for the &lt;code&gt;ZCL_FOOTBALL_CLUBS&lt;/code&gt; class, including error handling (&lt;code&gt;FAILED&lt;/code&gt;/&lt;code&gt;REPORTED&lt;/code&gt;) and EML statements.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;img alt=&#34;RAP Integration Step 1&#34; loading=&#34;lazy&#34; src=&#34;https://blog.zeis.de/posts/2026-02-16-librechat-enterprise-gpt/images/integration-rap-action-1.jpg&#34;&gt;&#xA;&lt;img alt=&#34;RAP Integration Step 2&#34; loading=&#34;lazy&#34; src=&#34;https://blog.zeis.de/posts/2026-02-16-librechat-enterprise-gpt/images/integration-rap-action-2.jpg&#34;&gt;&#xA;&lt;img alt=&#34;RAP Integration Step 3&#34; loading=&#34;lazy&#34; src=&#34;https://blog.zeis.de/posts/2026-02-16-librechat-enterprise-gpt/images/integration-rap-action-3.jpg&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;This turns the agent into a true pair programmer that understands &lt;em&gt;your&lt;/em&gt; specific system architecture.&lt;/p&gt;&#xA;&lt;h3 id=&#34;not-just-for-librechat-and-local-models&#34;&gt;Not Just for LibreChat and Local Models&lt;/h3&gt;&#xA;&lt;p&gt;I used LibreChat and Ollama because they are free and open source, which makes them perfect for a showcase. But the beauty of this architecture is its flexibility.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Want better models?&lt;/strong&gt;&#xA;You can swap Ollama for Azure OpenAI, Anthropic, or Mistral in seconds. LibreChat supports them out of the box. I even benchmarked different models for ABAP recently: &lt;a href=&#34;https://blog.zeis.de/posts/2026-02-09-abap-llm-benchmark/&#34;&gt;Benchmarking LLMs for ABAP&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Want to use Microsoft Copilot?&lt;/strong&gt;&#xA;Since MCP is an open standard, you aren&amp;rsquo;t tied to LibreChat. You can host these MCP servers as simple HTTP services and connect them to other clients, including Microsoft Copilot or other agent platforms that support the protocol. The MCP servers are just &amp;ldquo;infrastructure&amp;rdquo;, the client is interchangeable.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Want more data sources?&lt;/strong&gt;&#xA;There are MCP servers for GitHub, Jira, Confluence, and many more. You can &amp;ldquo;dock&amp;rdquo; them onto your agent just like we did with the SAP Docs server.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Want to extend it?&lt;/strong&gt;&#xA;You can add more MCP servers, create custom tools, or even build your own agents with specialized knowledge. The possibilities are endless.&lt;/p&gt;&#xA;&lt;h3 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h3&gt;&#xA;&lt;p&gt;You don&amp;rsquo;t need to wait for a perfect, expensive enterprise product to start using AI securely with SAP. With Open Source tools like LibreChat and the ecosystem of MCP servers, you can build a solution that is secure, compliant, and incredibly powerful.&lt;/p&gt;&#xA;&lt;p&gt;It requires a bit of setup (Docker, Entra ID), but the payoff is a tool that actually understands your SAP system, without compromising on security.&lt;/p&gt;&#xA;&lt;p&gt;If you are interested in the technical details, check out my &lt;strong&gt;&lt;a href=&#34;https://github.com/marianfoo/llm-client-sap-system-integration-sharepoint/blob/main/docs/GUIDE.md&#34;&gt;Setup Guide&lt;/a&gt;&lt;/strong&gt; in the GitHub repository &lt;a href=&#34;https://github.com/marianfoo/llm-client-sap-system-integration-sharepoint&#34;&gt;marianfoo/llm-client-sap-system-integration-sharepoint&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h3 id=&#34;references--resources&#34;&gt;References &amp;amp; Resources&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Setup Guide &amp;amp; Repository:&lt;/strong&gt; &lt;a href=&#34;https://github.com/marianfoo/llm-client-sap-system-integration-sharepoint&#34;&gt;marianfoo/llm-client-sap-system-integration-sharepoint&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;SAP Docs MCP Server:&lt;/strong&gt; &lt;a href=&#34;https://github.com/marianfoo/mcp-sap-docs&#34;&gt;marianfoo/mcp-sap-docs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ABAP MCP Server (for Copilot in ADT):&lt;/strong&gt; &lt;a href=&#34;https://github.com/marianfoo/abap-mcp-server&#34;&gt;marianfoo/abap-mcp-server&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ADT MCP Server (vibing-steampunk):&lt;/strong&gt; &lt;a href=&#34;https://github.com/oisee/vibing-steampunk&#34;&gt;oisee/vibing-steampunk&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;LibreChat:&lt;/strong&gt; &lt;a href=&#34;https://www.librechat.ai/&#34;&gt;librechat.ai&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;DSAG Investment Report 2026 (AI usage):&lt;/strong&gt; &lt;a href=&#34;https://dsag.de/presse/dsag-investment-report-2026-companies-are-investing-more-selectively-ai-is-becoming-established-cloud-computing-is-being-put-to-the-test/&#34;&gt;Companies are investing more selectively, AI is becoming established&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Benchmarking LLMs for ABAP:&lt;/strong&gt; &lt;a href=&#34;https://blog.zeis.de/posts/2026-02-09-abap-llm-benchmark/&#34;&gt;My Benchmark Post&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;MCP Protocol:&lt;/strong&gt; &lt;a href=&#34;https://modelcontextprotocol.io/&#34;&gt;modelcontextprotocol.io&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Supercharged Local Open Source Joule for Consultants: Search Your Data &amp; Code</title>
      <link>https://blog.zeis.de/posts/2025-10-29-librechat/</link>
      <pubDate>Wed, 29 Oct 2025 09:30:00 +0100</pubDate>
      <guid>https://blog.zeis.de/posts/2025-10-29-librechat/</guid>
      <description>&lt;p&gt;This post is a mirrored copy of my LinkedIn article, kept here so it remains searchable and independent from external platforms.&#xA;You can still find the original on LinkedIn: &lt;a href=&#34;https://www.linkedin.com/pulse/supercharged-local-open-source-joule-consultants-search-marian-zeis-gepbf/&#34;&gt;LinkedIn Pulse article&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://www.sap.com/germany/products/artificial-intelligence/ai-assistant/sap-consulting-capability.html&#34;&gt;Joule for Consultants&lt;/a&gt; costs 250 € and mainly searches SAP Help, SAP Community and SAP for Me (Notes). That is useful, but it stops where real projects start: your own systems, codebase and sensitive data. Even though public assistants like ChatGPT and Claude can already reach SAP Help and SAP Community, the real gap is internal/authenticated data and code.&lt;/p&gt;&#xA;&lt;p&gt;For this case I created a &lt;a href=&#34;https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat&#34;&gt;LibreChat fork&lt;/a&gt; that includes and auto-starts SAP MCP servers (Docs, Notes, S/4 OData and ABAP ADT) via Docker. So the MCP Server are local inside your Docker and no external MCP Server is used. &lt;a href=&#34;https://www.librechat.ai/&#34;&gt;LibreChat&lt;/a&gt; is an open‑source local chat UI with MCP support and built‑in Ollama integration, and it also supports many other model providers. You get a private assistant that can read official docs, inspect code and data from your systems without sending customer context to third‑party clouds. The fork’s documentation is here: &lt;a href=&#34;https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat/tree/main/sap-mcp-docs&#34;&gt;sap‑mcp‑docs&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Running the assistant locally means the client, tools and, if you choose, the model stay on your machine (LibreChat supports Ollama), so you avoid pasting sensitive context into public chats. By adding S/4 OData and ABAP ADT, you bring real metadata, code and data into the loop.&lt;/p&gt;&#xA;&lt;h3 id=&#34;which-mcp-servers-are-used-here&#34;&gt;Which MCP servers are used here?&lt;/h3&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://github.com/marianfoo/mcp-sap-docs&#34;&gt;SAP Docs MCP&lt;/a&gt; provides unified search and fetch across SAPUI5/OpenUI5, CAP, ABAP keyword docs, SAP Help and SAP Community. The &lt;a href=&#34;https://github.com/marianfoo/mcp-sap-notes&#34;&gt;SAP Notes MCP&lt;/a&gt; is for searching and fetching SAP Notes when you have an error, OSS number or concrete symptom; it requires an S‑User certificate (Passport). The &lt;a href=&#34;https://github.com/mario-andreschak/mcp-abap-adt&#34;&gt;ABAP ADT MCP&lt;/a&gt; reads ABAP sources, DDIC structures and tables content via ADT APIs so you never paste code into chat and still get precise context. The &lt;a href=&#34;https://github.com/lemaiwo/btp-sap-odata-to-mcp-server&#34;&gt;S/4 OData MCP&lt;/a&gt; discovers services and exposes safe CRUD tools so your assistant can read and write via approved APIs.&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-this-works-in-practice&#34;&gt;How this works in practice&lt;/h2&gt;&#xA;&lt;p&gt;In my example I used o4‑mini from OpenAI, but LibreChat supports many &lt;a href=&#34;https://www.librechat.ai/docs/configuration/pre_configured_ai&#34;&gt;model providers&lt;/a&gt; including OpenAI, Anthropic, Google, Azure AI Foundry and even SAP AI Core (not tested by me). The key point: you can also use a local &lt;a href=&#34;https://www.librechat.ai/blog/2024-03-02_ollama#getting-started-with-ollama&#34;&gt;model via Ollama&lt;/a&gt;. Depending on your use case, a local model is smart enough to call the right tools and MCP servers. I also use an ABAP Cloud Developer Trial instance connected via the S/4 OData and ADT MCP servers.&lt;/p&gt;&#xA;&lt;h3 id=&#34;sap-notes-lookup--abap-table-verification&#34;&gt;SAP Notes lookup + ABAP table verification&lt;/h3&gt;&#xA;&lt;p&gt;This first example flow combines the SAP Notes MCP and ABAP ADT MCP. First the assistant searches and fetches a specific SAP Note (&lt;code&gt;sap_note_search&lt;/code&gt;, &lt;code&gt;sap_note_get&lt;/code&gt;), then verifies the relevant DDIC table and fields via ADT. This confirms the symptom and the fix steps before proposing a safe, auditable corrective action (for example, an OData action). This is the pattern for many “error → note → verify → fix” tasks.&lt;/p&gt;&#xA;&lt;img src=&#34;example-sap-notes-lookup.jpg&#34; alt=&#34;LibreChat example flow: SAP Notes lookup plus ABAP table verification via ADT MCP tools&#34; loading=&#34;lazy&#34;&gt;&#xA;&lt;h3 id=&#34;service-metadata--valuelist-guidance&#34;&gt;Service metadata + ValueList guidance&lt;/h3&gt;&#xA;&lt;p&gt;The assistant uses the S/4 MCP to discover the Football service and inspect entity schema (&lt;code&gt;search-sap-services&lt;/code&gt;, &lt;code&gt;discover-service-entities&lt;/code&gt;, &lt;code&gt;get-entity-schema&lt;/code&gt;). It then pivots to the SAP Docs MCP to &lt;code&gt;sap_help_search&lt;/code&gt; and &lt;code&gt;sap_help_get&lt;/code&gt; the ValueList documentation and shows exactly where to add annotations. This marries live service metadata with the official docs so consultants can implement confidently, then validate in a Fiori app.&lt;/p&gt;&#xA;&lt;img src=&#34;example-service-metadata-valuelist.jpg&#34; alt=&#34;LibreChat example flow: S/4 service metadata plus ValueList guidance via SAP Docs MCP&#34; loading=&#34;lazy&#34;&gt;&#xA;&lt;h3 id=&#34;cds-view-value-help-research&#34;&gt;CDS view Value Help research&lt;/h3&gt;&#xA;&lt;p&gt;For CDS‑centric cases, the assistant focuses on SAP Docs MCP to collect the canonical examples for &lt;code&gt;Common.ValueList&lt;/code&gt; and relevant ABAP/CDS annotations. If needed, ABAP ADT MCP can retrieve the current CDS definition (&lt;code&gt;GetStructure&lt;/code&gt;/&lt;code&gt;GetInclude&lt;/code&gt;) to compare the as‑is state and generate the minimal edit plan.&lt;/p&gt;&#xA;&lt;img src=&#34;example-cds-value-help.jpg&#34; alt=&#34;LibreChat example flow: CDS value help research with ABAP ADT MCP context&#34; loading=&#34;lazy&#34;&gt;&#xA;&lt;h3 id=&#34;other-options-and-clients&#34;&gt;Other options and clients&lt;/h3&gt;&#xA;&lt;p&gt;There are other options and clients to use these MCP servers. If you prefer the Microsoft ecosystem, Visual Studio Code’s GitHub Copilot Chat supports MCP servers so you can connect the same SAP MCP endpoints there, as described in the &lt;a href=&#34;https://code.visualstudio.com/docs/copilot/chat/mcp-servers&#34;&gt;VS Code Copilot Chat MCP guide&lt;/a&gt;. This is a simpler setup compared to the LibreChat fork. For a more governed setup you can use &lt;a href=&#34;https://adoption.microsoft.com/ai-agents/copilot-studio/&#34;&gt;Copilot Studio&lt;/a&gt; together with the hosted S/4 OData MCP server from &lt;a href=&#34;https://www.sap.com/products/artificial-intelligence/partners/nessi-nv-ai-data-enabler.html?countryCode=US&#34;&gt;Nessi NV&lt;/a&gt; and the SAP Docs MCP Server.&lt;/p&gt;&#xA;&lt;p&gt;I talked about these MCP servers and showed a live example of Copilot Studio and other LLM clients at SAP Inside Track Munich 2025. The recording is here: &lt;a href=&#34;https://www.youtube.com/watch?v=vTZCeaxsOwU&#34;&gt;SAP Inside Track Munich 2025&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;You can also build your own LLM client and use the MCP servers directly. I tried a quick PoC with the current libraries and tools. It worked, but turning it into a production‑ready assistant with robust MCP support is non‑trivial; I would not recommend rolling your own for production. The PoC is here: &lt;a href=&#34;https://github.com/marianfoo/custom-llm-client&#34;&gt;Custom LLM Client&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h3 id=&#34;getting-started&#34;&gt;Getting started&lt;/h3&gt;&#xA;&lt;p&gt;To run this on your own machine, clone the repository, configure the &lt;code&gt;.env&lt;/code&gt; and &lt;code&gt;librechat.yaml&lt;/code&gt; files and start the Docker container. The docs are in this &lt;a href=&#34;https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat/tree/main/sap-mcp-docs&#34;&gt;folder&lt;/a&gt; and the setup guide is here: &lt;a href=&#34;https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat/blob/main/sap-mcp-docs/MCP_SETUP_GUIDE.md&#34;&gt;MCP_SETUP_GUIDE.md&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Minimal path (see guides for details):&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;# Clone and configure&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git clone https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cd local-llm-client-for-sap-consultants-librechat&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cp .env.example .env&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cp librechat.example.yaml librechat.yaml&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;# Configure the .env and librechat.yaml files&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;# Start in Docker&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;docker compose up -d&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;security-running-ai-and-mcp-locally&#34;&gt;Security: running AI and MCP locally&lt;/h3&gt;&#xA;&lt;p&gt;Because the client, MCP server and (optionally) the model run on your machine, prompts, retrieved docs and tool results stay inside your environment. When you do connect to external sources, do it intentionally and stick to trusted endpoints. Operationally keep it simple and start read-only by default and enable write tools only when you require it. The short version: a local, open-source stack is the safer option here; unlike cloud assistants, your information never leaves your machine unless you choose to send it.&lt;/p&gt;&#xA;&lt;h3 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h3&gt;&#xA;&lt;p&gt;With MCP servers, LLM clients become smarter and more useful in real projects. LLMs simply cannot know everything, especially internal context that lives on enterprise networks and changes quickly. Because the Model Context Protocol is still relatively new in the enterprise, treat adoption with care and integrate it securely. Keeping information on your own machine and using open-source libraries lets you see exactly what runs and how.&lt;/p&gt;&#xA;&lt;p&gt;SAP clearly wants to position Joule for Consultants as a unique product; today it still lags behind community projects for these use cases. At TechEd next week we’ll see whether community MCP servers are embraced and whether SAP’s own products improve enough to justify the price.&lt;/p&gt;&#xA;&lt;h3 id=&#34;references&#34;&gt;References&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Custom LLM Client PoC: &lt;a href=&#34;https://github.com/marianfoo/custom-llm-client&#34;&gt;https://github.com/marianfoo/custom-llm-client&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;SAP Inside Track Munich 2025 session: &lt;a href=&#34;https://www.youtube.com/watch?v=vTZCeaxsOwU&#34;&gt;https://www.youtube.com/watch?v=vTZCeaxsOwU&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;SAP partner listing (S/4 integration via OAuth): &lt;a href=&#34;https://www.sap.com/products/artificial-intelligence/partners/nessi-nv-ai-data-enabler.html?countryCode=US&#34;&gt;https://www.sap.com/products/artificial-intelligence/partners/nessi-nv-ai-data-enabler.html?countryCode=US&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;MCP clients overview (Claude Desktop etc.): &lt;a href=&#34;https://modelcontextprotocol.io/clients/&#34;&gt;https://modelcontextprotocol.io/clients/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Copilot Studio: &lt;a href=&#34;https://adoption.microsoft.com/ai-agents/copilot-studio/&#34;&gt;https://adoption.microsoft.com/ai-agents/copilot-studio/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;VS Code Copilot Chat MCP docs: &lt;a href=&#34;https://code.visualstudio.com/docs/copilot/chat/mcp-servers&#34;&gt;https://code.visualstudio.com/docs/copilot/chat/mcp-servers&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;CAP MCP server (official): &lt;a href=&#34;https://github.com/cap-js/mcp-server&#34;&gt;https://github.com/cap-js/mcp-server&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;CAP MCP plugin (community): &lt;a href=&#34;https://github.com/gavdilabs/cap-mcp-plugin&#34;&gt;https://github.com/gavdilabs/cap-mcp-plugin&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;S/4 OData MCP: &lt;a href=&#34;https://github.com/lemaiwo/btp-sap-odata-to-mcp-server&#34;&gt;https://github.com/lemaiwo/btp-sap-odata-to-mcp-server&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;ABAP ADT MCP: &lt;a href=&#34;https://github.com/mario-andreschak/mcp-abap-adt&#34;&gt;https://github.com/mario-andreschak/mcp-abap-adt&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;SAP Notes MCP: &lt;a href=&#34;https://github.com/marianfoo/mcp-sap-notes&#34;&gt;https://github.com/marianfoo/mcp-sap-notes&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;SAP Docs MCP: &lt;a href=&#34;https://github.com/marianfoo/mcp-sap-docs&#34;&gt;https://github.com/marianfoo/mcp-sap-docs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;LibreChat Ollama guide: &lt;a href=&#34;https://www.librechat.ai/blog/2024-03-02_ollama#getting-started-with-ollama&#34;&gt;https://www.librechat.ai/blog/2024-03-02_ollama#getting-started-with-ollama&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;LibreChat model providers: &lt;a href=&#34;https://www.librechat.ai/docs/configuration/pre_configured_ai&#34;&gt;https://www.librechat.ai/docs/configuration/pre_configured_ai&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;LibreChat website: &lt;a href=&#34;https://www.librechat.ai/&#34;&gt;https://www.librechat.ai/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;LibreChat fork setup guide: &lt;a href=&#34;https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat/blob/main/sap-mcp-docs/MCP_SETUP_GUIDE.md&#34;&gt;https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat/blob/main/sap-mcp-docs/MCP_SETUP_GUIDE.md&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;LibreChat fork docs folder: &lt;a href=&#34;https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat/tree/main/sap-mcp-docs&#34;&gt;https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat/tree/main/sap-mcp-docs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;LibreChat fork (SAP consultants, with MCP servers): &lt;a href=&#34;https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat&#34;&gt;https://github.com/marianfoo/local-llm-client-for-sap-consultants-librechat&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
  </channel>
</rss>
