file-finder-mcp

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文件的内容替换为以下配置:

{ "mcpServers": { "file-finder-mcp": { "command": "uv", "args": [ "--directory", "/Users/stleubaev/Desktop/ClineTest/file-finder-mcp", "run", "file-finder-mcp" ] } } }

测试

测试使用 Gemini 模型进行,提示如下:

hi can you find files called file_to_find on my desktop using my mcp server

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

MCP 服务器允许根据路径片段在文件系统中搜索文件,返回文件元数据,包括名称、路径、大小和创建日期。

  1. Components
    1. Resources
    2. Tools
  2. Quickstart
    1. Install
  3. Testing
    ID: ylzwo0zfry