mcpField
S
SynoLink MCP Server

SynoLink MCP Server

Local
github.com/Do-BooFiles & Storage27Updated 82w ago

About SynoLink MCP Server

SynoLink MCP Server is a Node.js MCP server for file operations on Synology NAS devices. It lets Claude and other compatible AI assistants list, transfer and manage files and folders on DSM.

Key features

  1. 01Login and logout to Synology DSM
  2. 02List, upload and download files
  3. 03Create, delete, move and rename items
  4. 04Keyword search for files and folders
  5. 05Sharing links and volume quota information

Use cases

  1. 01Browse NAS folders through an AI assistant
  2. 02Upload files to a specific NAS path
  3. 03Check quota usage across storage volumes

MCP support

The project is an MCP server exposing tools for login, file management, search, sharing links and server information to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"MCP-SynoLink": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"build"
]
}
}
}
Run commanddocker run -i --rm build

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
ocibuild

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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 filename
      • content (string) - Content of the file to upload
  • create_folder

    • Creates a new folder
    • Inputs:
      • path (string) - Full path to create folder at
      • name (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 folder
      • destination (string) - Full path to the destination location
Search and Information Tools
  • search

    • Searches for files and folders
    • Inputs:
      • keyword (string) - Search keyword
      • path (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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.