ragflow mcp
简单的RAGFlow MCP。仅在RAGFlow团队发布官方MCP服务器之前有用
安装
我们提供两种安装方法。建议使用方法2(使用uv)来更快地安装和更好地管理依赖关系。
方法1:使用conda
- 创建一个新的conda环境:
conda create -n ragflow_mcp python=3.12
conda activate ragflow_mcp- 克隆存储库:
git clone https://github.com/oraichain/ragflow-mcp.git
cd ragflow-mcp- 安装依赖项:
pip install -r requirements.txt方法2:使用紫外线(推荐)
- 安装uv(一个快速的Python包安装程序和解析器):
curl -LsSf https://astral.sh/uv/install.sh | sh- 克隆存储库:
git clone https://github.com/oraichain/ragflow-mcp.git
cd ragflow-mcp- 创建一个新的虚拟环境并激活它:
uv venv --python 3.12
source .venv/bin/activate # On Unix/macOS
# Or on Windows:
# .venv\Scripts\activate- 安装依赖项:
uv pip install -r pyproject.toml运行MCP服务器检查器进行调试
- 启动MCP服务器
- 使用以下命令启动检查器:
# you can choose a different server
SERVER_PORT=9000 npx @modelcontextprotocol/inspector```