SynoLink MCP Server
MCP server for Synology NAS file operations
Do-Boo
README
SynoLink MCP Server
A Node.js server implementing Model Context Protocol (MCP) for Synology NAS file operations. This server allows you to interact with your Synology NAS device through Claude or other compatible AI assistants.
Features
- Login/logout to Synology DSM
- List files and folders
- Download file contents
- Upload files
- Create folders
- Delete files/folders
- Move/rename files and folders
- Search functionality
- Create and list sharing links
- Get server information
- Get quota information
Prerequisites
- Node.js 18 or higher
- npm or yarn
- Synology NAS with DSM 6.0 or higher
- Network access to your Synology NAS
Installation
Clone this repository:
git clone https://github.com/Do-Boo/MCP-SynoLink.git
cd MCP-SynoLink
Install dependencies:
npm install
Build the project:
npm run build
Usage with Claude Desktop
Node.js Method
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"synolink": {
"command": "node",
"args": [
"/path/to/MCP-SynoLink/dist/index.js",
"https://your-synology-url:port",
"your-username",
"your-password"
]
}
}
}
Docker Method
Build the Docker image:
docker build -t mcp/synolink .
Then add this to your claude_desktop_config.json:
{
"mcpServers": {
"synolink": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/synolink",
"https://your-synology-url:port",
"your-username",
"your-password"
]
}
}
}
Security Note
Always be careful with credentials. The current implementation sends the password as a command-line argument, which may be visible in process listings. For improved security in a production environment, consider implementing alternative authentication methods.
API Documentation
The server provides the following tools:
Authentication Tools
-
login
- Authenticates with the Synology NAS
- No parameters required (uses credentials from command line)
-
logout
- Logs out from the Synology NAS
- No parameters required
File Management Tools
-
list_folders
- Lists files and folders in a directory
- Input:
path(string) - Path to list files from, e.g., '/photos'
-
get_file
- Gets the content of a file
- Input:
path(string) - Full path to the file on Synology NAS
-
upload_file
- Uploads a file to Synology NAS
- Inputs:
path(string) - Destination path on Synology NAS including filenamecontent(string) - Content of the file to upload
-
create_folder
- Creates a new folder
- Inputs:
path(string) - Full path to create folder atname(string) - Name of the new folder
-
delete_item
- Deletes a file or folder
- Input:
path(string) - Full path to the file or folder to delete
-
move_item
- Moves or renames a file or folder
- Inputs:
source(string) - Full path to the source file or folderdestination(string) - Full path to the destination location
Search and Information Tools
-
search
- Searches for files and folders
- Inputs:
keyword(string) - Search keywordpath(string, optional) - Path to search in, defaults to "/"
-
get_share_links
- Gets or creates sharing links for a file or folder
- Input:
path(string) - Path to get share links for
-
get_server_info
- Gets information about the Synology server
- No parameters required
-
get_quota_info
- Gets quota information for volumes
- Input:
volume(string, optional) - Volume name, if omitted shows all volumes
License
MIT License
Acknowledgements
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor
Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.
Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.