Save-To-NAS MCP
An MCP server for saving files and folders to a local NAS over NFS. Eliminates repetitive steps when transferring data to NAS storage.
Installation
Via mcpm (recommended)
Via npm
From source
Configuration
Configure the MCP server with environment variables:
Variable | Description | Default |
| IP address of your NAS |
|
| Local directory for NFS mounts |
|
| NAS volume path prefix |
|
Claude Code / Claude Desktop
Add to your MCP configuration:
Or if installed globally:
Tools
save_to_nas
Save a file or folder to a NAS share.
Parameters:
source(required): Path to the local file or foldershare(required): Name of the NAS share (e.g., "AI_Art", "Documents")destination_subfolder(optional): Subfolder within the share
Example:
list_nas_shares
List available NFS shares on the NAS and show which are mounted.
Parameters:
filter(optional): Filter shares by name
How It Works
Discovery: Queries the NAS via
showmount -eto find available NFS exportsMount Detection: Checks if the target share is already mounted locally
Smart Mounting: If not mounted, attempts to mount via NFS (requires sudo)
Transfer: Copies files/folders to the destination, preserving attributes
Requirements
Linux with NFS client tools (
nfs-commonon Ubuntu/Debian)Network access to the NAS
NFS exports configured on your NAS
Sudo privileges for mounting unmounted shares
License
MIT