Save-To-NAS MCP
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 npm
npm install -g save-to-nas-mcpFrom source
git clone https://github.com/danielrosehill/Save-To-NAS-MCP.git
cd Save-To-NAS-MCP
npm installConfiguration
Configure the MCP server with environment variables:
Variable | Description | Default |
| IP address of your NAS |
|
| Local directory for NFS mounts |
|
| NAS volume path prefix |
|
| HTTP server port |
|
Adding to Claude Code / Claude Desktop
This MCP server uses Streamable HTTP transport. Add to your MCP settings:
{
"mcpServers": {
"save-to-nas": {
"type": "http",
"url": "http://localhost:3847/mcp"
}
}
}To run the server:
# If installed globally
NAS_IP=192.168.1.100 save-to-nas-mcp
# Or via npx
NAS_IP=192.168.1.100 npx save-to-nas-mcp
# Or from source
NAS_IP=192.168.1.100 npm startTools
nas
Unified tool for interacting with your Synology NAS. Supports listing available shares and saving files/folders.
Parameters:
Parameter | Required | Description |
| Yes |
|
| For save | Path to local file or folder to save |
| For save | Name of the NAS share (e.g., "Documents", "AI_Art") |
| No | Subfolder within the share to save to |
| No | Filter shares by name (for list action) |
Examples:
List all available NAS shares
→ action: "list"
Save a folder to the Documents share
→ action: "save", source: "/home/user/projects/my-data", share: "Documents"
Save to a subfolder
→ action: "save", source: "./report.pdf", share: "Documents", destination_subfolder: "reports/2024"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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielrosehill/Save-To-NAS-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server