Ragflow-MCP
Einfaches RAGFlow MCP. Nur nützlich, bis das RAGFlow-Team den offiziellen MCP-Server veröffentlicht
Installation
Wir bieten zwei Installationsmethoden an. Methode 2 (mit UV) wird für eine schnellere Installation und ein besseres Abhängigkeitsmanagement empfohlen.
Methode 1: Verwenden von conda
- Erstellen Sie eine neue Conda-Umgebung:
conda create -n ragflow_mcp python=3.12
conda activate ragflow_mcp
- Klonen Sie das Repository:
git clone https://github.com/oraichain/ragflow-mcp.git
cd ragflow-mcp
- Installieren Sie Abhängigkeiten:
pip install -r requirements.txt
Methode 2: Verwenden von UV (empfohlen)
- Installieren Sie uv (ein schnelles Installations- und Resolverprogramm für Python-Pakete):
curl -LsSf https://astral.sh/uv/install.sh | sh
- Klonen Sie das Repository:
git clone https://github.com/oraichain/ragflow-mcp.git
cd ragflow-mcp
- Erstellen Sie eine neue virtuelle Umgebung und aktivieren Sie sie:
uv venv --python 3.12
source .venv/bin/activate # On Unix/macOS
# Or on Windows:
# .venv\Scripts\activate
- Installieren Sie Abhängigkeiten:
uv pip install -r pyproject.toml
Führen Sie MCP Server Inspector zum Debuggen aus
- Starten Sie den MCP-Server
- Starten Sie den Inspector mit dem folgenden Befehl:
# you can choose a different server
SERVER_PORT=9000 npx @modelcontextprotocol/inspector