rag-mcp-server / README.md
frascuchon's picture
frascuchon HF Staff
Update readme
ddfde92
|
raw
history blame
1.14 kB
metadata
title: Rag Mcp Server
emoji: 🏢
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 5.31.0
app_file: app.py
pinned: false
short_description: 'This space defines a RAG MCP server '

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Rag MCP server

This is a simple gradio server that allows you to run a RAG (Retrieval-Augmented Generation) model using the MCP (Model Control Protocol) interface.

Requirements

Since the server uses SERPER API, you will need to set the SERPER_API_KEY environment variable to enable the search functionality. You can export it in your shell:

export SERPER_API_KEY=your_serper_api_key

Installation

uv sync

Usage

Just run the gradio application:

uv run gradio app.py

Access the server

Open your browser and go to http://localhost:7860 to access the RAG MCP server.

You can see the gradio docs for more information on how to use the interface.