MCP Agent Streamlit RAG logo

MCP Agent Streamlit RAG

by saqadri

This repository provides a Streamlit-based RAG (Retrieval Augmented Generation) agent for interacting with MCP (presumably a server or service). It includes instructions for both fetch/finder MCP servers and QDrant for RAG.

View on GitHub

Last updated: N/A

Run instructions:

For using fetch or finder MCP servers:

  1. cp mcp_agent.secrets.yaml.example mcp_agent.secrets.yaml --> then update with your API key (openai api key is enough)
  2. uv sync
  3. uv run streamlit run main.py

For using QDrant for RAG:

  1. Uncomment line 63-70 in main.py, and comment out the current instruction and server_names
  2. docker pull qdrant/qdrant
  3. docker run -p 6333:6333 -v $(pwd)/qdrant_storage:/qdrant/storage qdrant/qdrant
  4. uv run streamlit run main.py