Filesystem
Storage
System
Access and manipulate the local file system through a controlled API.
Overview
The Filesystem MCP Server provides a secure and controlled API that allows AI models to interact with the local file system. Through this server, models can read, write, and manage files while ensuring security and privacy protection. All file operations are performed within specific permission boundaries to prevent unauthorized access to sensitive data.
Features
- Secure file reading and writing
- Directory navigation and management
- File metadata access
- Permission-controlled operations
- Multiple encoding support
API Guide
API Overview
Available endpoints and interactions
Endpoints 1
/api/filesystem/read
/api/filesystem/write
/api/filesystem/delete
/api/filesystem/list
File Operations
Basic file read, write and management operations
File Operations 1
fs_read
Read file contentfs_write
Write content to filefs_append
Append content to existing filefs_delete
Delete a file
File Operations 2
fs_exists
Check if file existsfs_stats
Get file metadata and statsfs_copy
Copy a file to another location
Directory Operations
Directory management and navigation functions
Directory Operations 1
dir_list
List directory contentsdir_create
Create a new directorydir_remove
Delete a directory
Directory Operations 2
dir_exists
Check if directory existsdir_current
Get current working directorydir_change
Change current directory
Path Utilities
Path manipulation and information utilities
Path Utilities 1
path_join
Join path segmentspath_resolve
Resolve to absolute pathpath_dirname
Get directory portion of path
Path Utilities 2
path_basename
Get base name of filepath_extension
Get file extension
Usage Example
How to use this server
javascript
const response = await mcp.invoke('filesystem', {
operation: 'read',
path: '/path/to/file.txt',
encoding: 'utf-8'
});
console.log(response.content);
Usage Statistics
Response Time
45.2 ms
Average latency
Throughput
1250 req/s
Maximum capacity
Uptime
99.9%
Service reliability
Provided by
M
MCP Foundation
Visit websiteTags
files
storage
io
system