mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-04 10:59:27 +00:00
### What problem does this PR solve? Using the mcp server in n8n sometimes (with smaller models) results in errors because the llm misses a char or adds one to the list of dataset_ids provided. It first asks for the list of datasets and if you got a larger list of them it makes a error recalling the list completely. So adding the feature to just search through all available datasets solves this and makes the retrieval of data more stable. The functionality to just call special datasets by id is not changed, the dataset_ids are now not required anymore (only the "question" is). You can provide (like before) a list of datasets, a empty list or no list at all. ### Type of change - [X] New Feature (non-breaking change which adds functionality) <img width="1897" height="880" alt="mcp error dataset id" src="https://github.com/user-attachments/assets/71076d24-f875-4663-a69a-60839fc7a545" />