Filesystem MCP Server SSE
@ysthink
About Filesystem MCP Server SSE
The SSE version of the MCP service is modified from the Filesystem MCP server
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Filesystem-MCP-Server-SSE": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/filesystem",
"-f",
"Dockerfile",
"."
]
}
}
}Tools
10Read complete contents of a file
Read multiple files simultaneously
Create new file or overwrite existing (exercise caution with this)
Make selective edits using advanced pattern matching and formatting
Create new directory or ensure it exists
List directory contents with [FILE] or [DIR] prefixes
Move or rename files and directories
Recursively search for files/directories
Get detailed file/directory metadata
List all directories the server is allowed to access
Overview
What is Filesystem MCP Server SSE?
Filesystem MCP Server SSE is a Node.js server that implements the Model Context Protocol (MCP) for filesystem operations, allowing AI assistants to read, write, and manage files and directories. It is intended for users who need sandboxed filesystem access via MCP.
How to use Filesystem MCP Server SSE?
Install dependencies with npm install, build, and run the server with the allowed directories as arguments (e.g., node .\dist\index.js C:\Users\User\Desktop\project). Alternatively, use Docker by building the image and mounting directories to /projects. Configure your MCP client (e.g., Cherry Stdio Desktop) to point baseUrl to the server's SSE endpoint.
Key features of Filesystem MCP Server SSE
- Read, write, and edit files with advanced pattern matching
- Create, list, and delete directories
- Move or rename files and directories
- Recursive file search with exclude patterns
- Get detailed file metadata (size, timestamps, permissions)
Use cases of Filesystem MCP Server SSE
- An AI coding assistant reads and modifies source files in a project directory
- Automated file organization: move, rename, or delete files based on criteria
- Preview file edits with dry-run mode before applying changes
- List allowed directories to verify sandbox boundaries
FAQ from Filesystem MCP Server SSE
Which directories does the server have access to?
Only the directories specified via command-line arguments at startup. The server will refuse operations outside these paths.
How can I preview edits before applying?
Use the edit_file tool with the dryRun parameter set to true. The server returns a diff and match information without modifying the file.
What happens if I try to move a file to a destination that already exists?
The move_file operation fails if the destination already exists, to prevent accidental overwrites.
How do I run the server using Docker?
Build with docker build -t mcp/filesystem . and run with docker run -i --mount type=bind,src=... mounting allowed directories under /projects. See the README for full command.
Can I read multiple files at once?
Yes, use the read_multiple_files tool with an array of paths. Failed reads do not stop the entire operation.
More Files & Storage MCP servers
MCP Filesystem Server
mark3labsGo server implementing Model Context Protocol (MCP) for filesystem operations.
mcp-v8: V8 JavaScript MCP Server
r33drichardsMCP server that exposes a V8 JavaScript runtime as a tool for AI agents like Claude and Cursor. Supports persistent heap snapshots via S3 or local filesystem, and is ready for integration with modern AI development environments.
PDF Extraction MCP Server (Claude Code Fork)
xraywuMCP server to extract contents from a PDF file
mcp-rquest
xxxbrianA MCP server providing realistic browser-like HTTP request capabilities with accurate TLS/JA3/JA4 fingerprints for bypassing anti-bot measures. It also supports converting PDF and HTML documents to Markdown for easier processing by LLMs.
Claude Document MCP Server
alejandroBallesterosCA lightweight MCP server for processing, editing, and interacting with PDF, Word, Excel, and CSV documents.
Comments