Integrations
Allows searching and retrieving files and their metadata (name, path, size, creation date) from the filesystem using path fragments.
file-finder-mcp MCP 服务器
用于根据路径片段在文件系统中搜索文件的 MCP 服务器。
成分
资源
服务器实现了文件搜索系统:
- 每个文件资源包括:
- 文件名
- 完整路径
- 文件大小
- 创建日期
工具
服务器提供了一个工具:
search-files
:搜索与给定路径片段匹配的文件。- 将
query
作为必需的字符串参数。 - 接受
directory
作为可选字符串参数,用于指定搜索的基准目录。如果未提供,则搜索在根目录中运行。 - 返回匹配文件及其元数据的列表。
- 将
快速入门
安装
将cline_mcp_settings.json
文件的内容替换为以下配置:
Copy
测试
测试使用 Gemini 模型进行,提示如下:
Copy