Filesystem MCP Server
@jayessdeesea
关于 Filesystem MCP Server
暂无概览
基本信息
配置
工具
1List files in a directory
概览
What is Filesystem MCP Server?
The Filesystem MCP Server is a Model Context Protocol (MCP) server that provides resources for accessing file metadata and content. It allows clients to retrieve information about files and directories, as well as read the content of files.
How to use Filesystem MCP Server?
Build with mvn clean package (requires Java 17+ and Maven). Run with java -jar target/filesystem-mcp-1.0-SNAPSHOT-jar-with-dependencies.jar. The server exposes resources at file://metadata/{path} and file://content/{path} and a tool list_files.
Key features of Filesystem MCP Server
- Get metadata for files and directories (name, path, size, timestamps, permissions)
- Read content of text and binary files
- Automatic MIME type detection based on file extension
- Comprehensive logging
- Dependency injection using Spring Framework for maintainability
Use cases of Filesystem MCP Server
- Retrieve file metadata through MCP resources
- Read file contents via MCP protocol
- List files in a directory using the
list_filestool - Integrate file system access into MCP-compatible applications
FAQ from Filesystem MCP Server
What are the prerequisites to build and run the server?
Java 17 or higher, Maven, and Spring Framework (automatically managed by Maven).
How does the server handle file content?
It can read the content of both text and binary files, with automatic MIME type detection based on file extension.
What resources and tools does the server provide?
Resources: file://metadata/{path} for metadata, file://content/{path} for content. Tool: list_files for listing directory contents.
What architecture does the server use?
A layered architecture: Configuration Layer (Spring), Service Layer (core operations), Resource Layer (MCP resources), Utility Layer.
Where can I find more documentation?
Documentation is available under docs/ for resources, tools, prompts, and Spring integration. A license is provided (MIT).
文件与存储 分类下的更多 MCP 服务器
Google Drive MCP Server
hxie-pallasA google drive mcp servers based on Python
Google Drive server
isaacphiModel Context Protocol (MCP) Server for reading from Google Drive and editing Google Sheets
PDF Extraction MCP Server (Claude Code Fork)
xraywuMCP server to extract contents from a PDF file
Filesystem MCP Server SSE
ysthinkThe SSE version of the MCP service is modified from the Filesystem MCP server
Claude Document MCP Server
alejandroBallesterosCA lightweight MCP server for processing, editing, and interacting with PDF, Word, Excel, and CSV documents.
评论