MCP-RAG Server
Integrates a knowledge base into the MCP server to provide context for RAG (Retrieval-Augmented Generation) applications
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP-RAG Serversearch for recent developments in quantum computing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-rag
Connecting a RAG application to open-webui by means of MCP
1. Bare bones MCP PoC / Hello World
pip install mcp[cli]look up documentation on sse snippets
run server using uvicorn
doesnt work -> look up documentation in
SseServerTranpsortclass which differs from MCP websitechange Route -> Mount for starlette_app, then it works
starlette gives 307 temporary redirect, testing it with curl shows that it is due to a missing trailing slash
looked up on github repo, there the routes end with trailing slash for server code, especially the
sse = SseServerTransport("/messages/")part which I guess tells the client what to calladd some prompts and check on client side
Writeup
I want to try out the model context protocol because I have been experimenting with RAG prototypes for use with open-webui. MCP looks similar to LSP. Since server and client won't be on the same machine, we have to use the SSE transport.
MCP comes with some snippets on the official documentation, I had to adapt them a bit following the docstrings provided by the mcp python library. Took me a while to get things working, initially dealt with 307 Temporary Redirect errors since the server was sending the wrong endpoint.
Test it! Build a small REPL that can interact with the server
Goal
understand what MCP is
implement a simple server and client
try out function calling / tool usage
Related MCP server: MCP SSE Ory Server
2. Implement a basic KnowlegdeBase
I want to build a simple KnowledgeBase that we can stick into the MCP server and call through the client to retrieve some context.
3. MCP Client + Open-WebUI
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA Server-Sent Events implementation using FastAPI framework that integrates Model Context Protocol (MCP), allowing AI models to access external tools and data sources like weather information.Last updated51MIT

MCP SSE Ory Serverofficial
Alicense-qualityDmaintenanceImplements a Model Context Protocol server using Server-Sent Events for real-time communication with OAuth 2.1 integration via Ory Network, enabling secure AI model communication with authentication and client management.Last updatedApache 2.0- Alicense-qualityDmaintenanceA Model Context Protocol (MCP) server that supports STDIO, SSE and Streamable HTTP protocols for AI model interactions.Last updated371MIT
- Flicense-quality-maintenanceA Model Context Protocol (MCP) server implementation that uses Server-Sent Events (SSE) to enable real-time, server-pushed updates between AI models and tools over HTTP connections.Last updated1
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Local-first RAG engine with MCP server for AI agent integration.
MCP (Model Context Protocol) server for Appwrite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/felixscherz/mcp-rag'
If you have feedback or need assistance with the MCP directory API, please join our Discord server