发布

  • feat(mcp): add ragflow_list_datasets and ragflow_list_chats tools (#15384)

    frostbyte_neo 发布于 2026-07-01 01:36:52 +00:00

    Summary

    Add two new MCP tools to the RAGFlow MCP server:

    1. ragflow_list_datasets - List all accessible datasets with IDs,
      names, descriptions
    2. ragflow_list_chats - List all accessible chat assistants with
      IDs, names, descriptions

    Implementation

    • Added list_chats() method to RAGFlowConnector
    • Registered both tools in list_tools() and call_tool()
    • Follows existing ragflow_retrieval pattern for error handling

    Usage via langchain-mcp-adapters


    Co-authored-by: saltsalt123 saltsalt123@users.noreply.github.com
    Co-authored-by: yzc yuzhichang@gmail.com

    下载附件