MCP.so
登录

FS-MCP: Universal File Reader & Intelligent Search MCP Server

@boleyn

关于 FS-MCP: Universal File Reader & Intelligent Search MCP Server

文件资料查找mcp服务

基本信息

分类

搜索

许可证

MIT

运行时

python

传输方式

stdio

发布者

boleyn

配置

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

{
  "mcpServers": {
    "fs-mcp-server": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is FS-MCP: Universal File Reader & Intelligent Search MCP Server?

FS-MCP: Universal File Reader & Intelligent Search MCP Server is a powerful MCP (Model Context Protocol) server that provides intelligent file reading and semantic search capabilities. It automatically detects text files, supports multiple document formats, and offers AI-powered vector search for developers using MCP-compatible clients.

How to use FS-MCP: Universal File Reader & Intelligent Search MCP Server?

Clone the repository, install dependencies with uv sync or pip install -r requirements.txt, and configure environment variables (e.g., SAFE_DIRECTORY, MAX_FILE_SIZE_MB, and embedding API keys) in a .env file. Start the server with python main.py, then connect via SSE at http://localhost:3002 or add the server to your MCP client configuration (e.g., Claude Desktop).

Key features of FS-MCP: Universal File Reader & Intelligent Search MCP Server?

  • Intelligent text detection without relying on file extensions
  • Multi-format support (text, Word, Excel, PDF, etc.) with automatic Markdown conversion
  • Security-first access restricted to configured safe directories
  • Line range reading for large files and quick file previews
  • Semantic vector search using AI embeddings (BAAI/bge-m3 model)
  • Multi-language support for English and Chinese content

Use cases of FS-MCP: Universal File Reader & Intelligent Search MCP Server?

  • Search code semantically for “authentication logic” and find related “login verification” code
  • Read specific line ranges from large log or source files efficiently
  • Preview file contents and list files with pattern matching for quick exploration
  • Rebuild vector indexes and retrieve index statistics for monitoring

FAQ from FS-MCP: Universal File Reader & Intelligent Search MCP Server

What file formats does the server support?

It supports auto-detected text files (.py, .js, .json, .md, etc.) and document formats (.docx, .xlsx, .pptx, .pdf, .odt, .ods, .odp) that are automatically converted to Markdown.

How do I restrict which directories the server can access?

Set the SAFE_DIRECTORY environment variable to the root directory you want to allow; the server will limit all file

评论

搜索 分类下的更多 MCP 服务器