MCP.so
登录

Ragflow Knowledge MCP Server

@lumerix7

基本信息

分类

记忆与知识

许可证

MIT license

传输方式

stdio

作者

lumerix7

关于 Ragflow Knowledge MCP Server

A simple MCP server of knowledge base for RAGFlow.

Ragflow Knowledge MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "ragflow-knowledge-mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "ragflow_knowledge_mcp_server",
        "--config=/path/to/config.yaml"
      ]
    }
  }
}

Ragflow Knowledge MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is ragflow-knowledge-mcp-server?

An MCP (Model Context Protocol) server that provides a knowledge base interface for RAGFlow, enabling AI assistants to search and retrieve knowledge from configured datasets. It is intended for developers integrating RAGFlow knowledge bases with MCP-compatible clients.

How to use ragflow-knowledge-mcp-server?

Install via pip (pip install ragflow-knowledge-mcp-server) or from source. Configure via a config.yaml file specifying the RAGFlow API base URL, API key, and dataset definitions. Run with ragflow-knowledge-mcp-server --config=/path/to/config.yaml, using Python or uv, or through Docker/Docker Compose. The server supports both stdio and SSE transports.

Key features of ragflow-knowledge-mcp-server

  • Dynamic knowledge base searching tools configured per dataset.
  • List knowledge bases (optional, disabled by default).
  • Get information of a specific knowledge base (optional, disabled by default).
  • Configurable via YAML file and environment variables.
  • Supports both stdio and SSE transports.
  • Compatible with RAGFlow versions 0.17.2 and 0.18.0.
  • Logging via simp-logger with file and console output.

Use cases of ragflow-knowledge-mcp-server

  • Integrate RAGFlow knowledge bases with MCP-compatible AI assistants.
  • Enable dynamic search of specific knowledge datasets during AI interactions.
  • List and inspect available knowledge bases for management purposes.
  • Retrieve metadata about a particular knowledge base.

常见问题

1

What RAGFlow versions does this server support?

It supports RAGFlow versions 0.17.2 and 0.18.0.

2

How do I configure the server?

Configuration is done via a YAML file (default `config.yaml`) or environment variables. Required settings include `default-base-url` and `default-api-key`, plus dataset definitions.

3

Does the server support SSE transport?

Yes, SSE transport is supported (the default is stdio). Set `transport: sse` in the config and optionally configure `sse-port`.

4

Can I list all knowledge bases?

Yes, the `list_knowledge_bases` tool is available but disabled by default. Enable it by setting `list-bases-enabled: true` in the config.

5

What authentication is used?

The server uses an API key (`api-key`) to authenticate with the RAGFlow instance. This can be set globally or per dataset.

评论

记忆与知识 分类下的更多 MCP 服务器