This project is a standalone FastMCP server for public-facing RAG chatbots. It exposes a small set of read-only tools over HTTP/SSE so a chatbot can search a knowledge base, search the web, inspect public GitHub repositories, and answer time-based questions without exposing write-capable actions.
- FastMCP server with 5 read-only tools
- Knowledge base search using OpenAI embeddings and Pinecone
- Optional full-document hydration from AWS S3
- Web search powered by Tavily
- Public GitHub README exploration
- GitHub code search
- Current date and time lookup
- Heroku-friendly Python project layout
search_knowledge_baseweb_searchget_current_datetimeexplore_public_repo_readmessearch_github_code
Copy .env.example to .env and provide values for:
OPENAI_API_KEY
PINECONE_API_KEY
PINECONE_INDEX
S3_BUCKET
AWS_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
TAVILY_API_KEY
GITHUB_TOKEN
PORT
pip install -r requirements.txt
python server.pyThe server listens on PORT, defaulting to 8000.