Basic information
About Filesystem MCP Server
# Filesystem MCP Server
Filesystem MCP Server is a MCP server in the Files & Storage category listed in the AddMCP.net directory, published by lxiaolong068. Supported transport: stdio. Runtime: node. License: MIT license. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"filesystem": {
"command": "node",
"args": [
"path/to/filesystem-server/build/index.js"
]
}
}
}
{
"mcpServers": {
"filesystem": {
"command": "node",
"args": [
"path/to/filesystem-server/build/index.js"
]
}
}
}
{
"servers": {
"filesystem": {
"command": "node",
"args": [
"path/to/filesystem-server/build/index.js"
]
}
}
}
Filesystem MCP Server (lxiaolong068/mcp-filesystem-server) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"filesystem": {
"command": "node",
"args": [
"path/to/filesystem-server/build/index.js"
]
}
}
}
Filesystem MCP Server (lxiaolong068/mcp-filesystem-server) tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Filesystem MCP Server?
A Model Context Protocol (MCP) server that provides file system operations, analysis, and manipulation capabilities through a standardized tool interface. It is designed for applications needing to interact with the local file system programmatically.
How to use Filesystem MCP Server?
Clone the repository, install dependencies (npm install --save @modelcontextprotocol/sdk chardet mime-types archiver extract-zip file-type), build with npm run build, then configure MCP settings in cline_mcp_settings.json with the node command pointing to the built index.js file.
Key features of Filesystem MCP Server
- Directory listing with metadata (recursive)
- File read, write, and append with encoding support
- Text analysis (line, word, character counts, encoding)
- File hashing (MD5, SHA1, SHA256, SHA512)
- Duplicate file detection
- ZIP creation and extraction
Use cases of Filesystem MCP Server
- Automating file and directory management in scripts
- Analyzing text file properties and encoding
- Detecting duplicate files in large directories
- Compressing or extracting archives programmatically
- Building MCP hosts that require file system access
Frequently asked questions
1 What dependencies does it require?
@modelcontextprotocol/sdk, chardet, mime-types, archiver, extract-zip, file-type, crypto-js, and iconv-lite for core operations.
2 How is the server configured?
It is configured via MCP settings (e.g., cline_mcp_settings.json) with the command set to node and args pointing to the built index.js file.
3 What error codes does it use?
Standard MCP error codes: ParseError (-32700), InvalidRequest (-32600), MethodNotFound (-32601), InvalidParams (-32602), InternalError (-32603). Error responses include code, message, and optional context.
4 Can it handle different file encodings?
Yes — read, write, and append operations support an optional encoding parameter (default UTF-8), and encoding detection is provided via the chardet library.
5 What file operations are supported?
Directory operations (list, create), file operations (read, write, append), analysis (text analysis, hashing, duplicate detection), and compression (create ZIP, extract ZIP).
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In