Skip to main content

This mcp server is used to search content from the ragflow knowledge base.

Project description

RAGFlow Retrieval MCP Server 🚀

Python Version License

该MCP Server用于对接RagFlow知识库系统,提供基于内容的文档检索能力。

前置要求

  • Python 3.10+
  • RagFlow

生产运行

export SERVER_HOST=http://localhost
export SERVER_PORT=80
export RAGFLOW_BASE_URL=http://localhost:80
export RAGFLOW_API_KEY=<your-api-key>
export RAGFLOW_DATASET_ID=<your-dataset-id>
export RAGFLOW_TOP_K=10
export RAGFLOW_SIMILARITY_THRESHOLD=0.2
export RAGFLOW_TIMEOUT=60

uvx ragflow-retrieval-mcp-server

开发调试

# 创建虚拟环境
uv venv
source .venv/bin/activate

# 安装依赖
uv pip install -e .

# 运行
uv run ragflow-retrieval-mcp-server

贡献指南 🤝

欢迎通过以下方式参与贡献:

  1. Fork仓库并创建特性分支
  2. 提交清晰的commit message
  3. 发起Pull Request并描述变更内容

请确保: ✅ 更新相关文档 ✅ 保持代码风格一致

许可证 📄

本项目采用 MIT License

遇到问题? 请提交 Issue 或联系 data.hwc@live.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ragflow_retrieval_mcp_server-0.1.1.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ragflow_retrieval_mcp_server-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file ragflow_retrieval_mcp_server-0.1.1.tar.gz.

File metadata

File hashes

Hashes for ragflow_retrieval_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d83808ab4c9d4ccf09ff06fab8cb9699a3759ce402b2bf73f26b551b0971171d
MD5 82ab38494380d87228fa25fe8e981211
BLAKE2b-256 b750beb1ae7d89acb8a8b13aa1fe88f811837328073aa196c93f9c6d10b3cba0

See more details on using hashes here.

File details

Details for the file ragflow_retrieval_mcp_server-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ragflow_retrieval_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ac97a63738fe090de849e645fb18676e1f692ad9f9cd90e149263e946d7e03c
MD5 7ef074619779b125e4ab42ad92a0c7fd
BLAKE2b-256 023154fe70960bde6d0d36caa86551a788ad0e979004aa78bbe8e1fadf980069

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page