Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

Synology NAS

Latest version: v0.12.1

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
MCP server Transport: stdio Publisher: cmeans
18 Stars
8 Forks
11 Versions
Python Repo language

Scan summary

Synology NAS was last scanned on 25 Nov 2026 at version 0.12.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 2 were published within 7 days (19–25 Nov 2026).
  • Findings: No rules fired in version 0.12.1.
  • MCP server: Runs over stdio.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.12.1 LATEST 25 Nov 2026 No rules fired
0.12.0 19 Nov 2026 No rules fired
0.11.0 10 Nov 2026 No rules fired
0.10.0 28 Oct 2026 Not shown
0.9.0 17 Oct 2026 Not shown

No rules fired in 0.12.1

Findings

Findings for v0.12.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.12.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

mcp-synology

PyPI version Python versions License Tests Downloads

pip downloads pipenv downloads pipx downloads uv downloads poetry downloads pdm downloads

linux downloads macos downloads windows downloads

MCP server for Synology NAS devices. Exposes Synology DSM API functionality as MCP tools that Claude can use.

Tested on DSM 7.1 to 7.4.1, on virtual DSMs in CI and on a real NAS by AI clients driving the tools: see Testing.

Once it's connected, ask in plain words, for example:

  • "Which shared folders can I see, and how much space is free?"
  • "Find every .mkv under /video and move the ones from 2023 into /video/Archive."
  • "Make an album of last July's beach photos and give me a share link."
  • "Add this magnet link to Download Station, into /video/TV."
  • "Is any disk failing, and how full is each volume?" (Storage needs an administrator account)

Security at a glance:

  • Each module is READ-only unless its config says permission: write (or admin, the same); the tools that delete or replace are marked so your client can ask before running them (where the client passes those marks on).
  • Local files: uploads and downloads use only the folders you list (your Downloads folder by default).
  • setup uses HTTPS unless you decline, and stores the password in the OS keyring, tied to the NAS's host and port.
  • Text from the NAS is marked as data, not instructions: docs/prompt-injection.md.
  • Reporting a vulnerability: SECURITY.md.

Supported modules

Each module covers one DSM package. A module loads only when it's listed under modules: in the config, and its permission decides whether you get its READ tools only or its WRITE tools too.

Module Config key READ tools WRITE tools DSM account DSM versions
System system 2 · Partial — Any; get_resource_usage and some details need an administrator 7.1 – 7.4.1
File Station filestation 7 · Most 8 · Partial Any 7.1 – 7.4.1
Synology Photos photos 4 · Most 15 · Most Any, with the Photos privilege 7.1 – 7.4.1 (favorites and concepts: 7.2.2+)
Download Station downloadstation 5 · Most 7 · Partial Any, with the Download Station privilege (other accounts see only their own tasks) 7.1 – 7.4.1
Storage storage 11 · Most — Admin only 7.1 – 7.4.1

What's not covered, in short (each module's section has the full list):

  • System: process list, system health, logs, connected users. No WRITE tools (no reboot or shutdown).
  • File Station: compress and extract, share links, favorites, thumbnails, MD5 checksums, permissions and ownership changes, mounting remote folders.
  • Synology Photos: timeline and similar-photo views, video streaming, Shared Space folder permissions, face-level People edits, guest uploads to photo requests, changing Photos' own settings.
  • Download Station: BT search, RSS feeds, choosing files inside a torrent, editing a torrent's trackers, settings other than speed limits and the default destination.
  • Storage: no WRITE tools (no data scrubbing, S.M.A.R.T. tests, hot spares, storage settings, TRIM or snapshot changes); no iSCSI LUNs and SAN Manager, Hyper Backup or Task Scheduler. Never anything that wipes disks or changes a pool's layout.

Quick start

1. Run setup
uvx mcp-synology setup

Requires uv. uvx downloads the latest version and caches it — no separate install step needed. It checks PyPI again once its cached copy of the index is more than 10 minutes old, so a restart of your MCP client usually picks up a new release; see Updates.

The rest of this README writes commands as mcp-synology …. If you run it through uvx (no install), type uvx mcp-synology … instead.

Setup will prompt for your NAS host, credentials, and preferences. If your account has 2FA enabled, it will prompt for an OTP code and store a device token for automatic future logins. It writes a config with the File Station module only; add other modules afterward (see each module below).

At the end, it prints the check command for the config it wrote, and a JSON snippet for your MCP client.

2. Add it to your MCP client

Claude Desktop: open Settings → Developer → Edit Config, which opens claude_desktop_config.json, add the snippet setup printed, and restart the app. It looks like this, with the full path to uvx and to your config, and the server named synology- plus the connection's alias if you set one, otherwise its instance ID:

{
  "mcpServers": {
    "synology-nas": {
      "command": "/Users/you/.local/bin/uvx",
      "args": ["mcp-synology", "serve", "--config", "~/.config/mcp-synology/nas.yaml"]
    }
  }
}

The config file is named after the connection's instance ID, which setup takes from the host (home-nas.local gives home-nas.yaml).

Claude Code:

claude mcp add synology -- uvx mcp-synology serve --config ~/.config/mcp-synology/<name>.yaml

Other clients: any client that starts a local (stdio) server: the command is uvx (its full path, which which uvx prints, for an app started outside a shell), with the arguments mcp-synology serve --config <your config file>.

Keep the server's name short. Claude finds a server's tools through tool search, which refuses a tool whose full name is over 64 characters, and the client builds that name from the server's name and the tool's: mcp__<server>__<tool> in Claude Code, and mcp__remote-devices__<server>__<tool> when Claude Desktop reaches a server on your computer. The longest tool name is restore_from_recycle_bin (24 characters), so the server's name can be at most 17 characters in Claude Desktop (synology- plus an alias, or without one the instance ID, of up to 8: synology-HomeNAS fits) and 33 in Claude Code. Once Claude loads a tool whose full name is too long, the conversation fails with an API error saying a string "should have at most 64 characters". setup and check warn when the name setup suggests is too long: rename the key in the snippet (synology-nas, say) or set a shorter alias.

On Linux, the server auto-detects the D-Bus session socket for keyring access. If auto-detection fails, add "env": {"DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/<uid>/bus"} to the Claude Desktop config. The setup command includes this in the generated snippet.

3. Verify
uvx mcp-synology check --config ~/.config/mcp-synology/<name>.yaml   # checks the config and logs in; setup prints this line (without uvx)
uvx mcp-synology setup --list                                        # lists the NAS configs you've set up

Then restart your client and ask it: "What shared folders are on my NAS?"

Adding a module
  1. Install the package on the NAS (Synology Photos or Download Station) from Package Center, if it isn't installed already. Without it the module's tools still appear, but every call fails with api_not_found.
  2. Edit your config file: the one setup wrote (the file your client's --config names), or the per-NAS file such as home-nas.yaml if you use Multi-NAS. Add the module inside the existing modules: section; don't add a second modules: key. Each module below has a block to copy.
  3. Check the config: mcp-synology check --config <your config file> runs the same validation as serve, so it lists the YAML, setting and module-setting mistakes it finds and names the file. It also names misspelled settings and modules, and confirms the login still works.
  4. Restart your MCP client (for example, Claude Desktop). The server reads its config only at startup.
Alternative: global install

If you prefer a persistent install (avoids download on each invocation). Requires uv — install with curl -LsSf https://astral.sh/uv/install.sh | sh (macOS/Linux) or see the installation guide for other options.

uv tool install mcp-synology
mcp-synology setup
mcp-synology check --config <your config file>
Alternative: env-var-only mode

Without a config file, set SYNOLOGY_HOST and the server runs on environment variables alone, which suits Docker and CI. One catch: if the folder the server starts in holds a mcp-synology.yaml, the server stops and asks you to name it or move it (so give an MCP client a fixed working folder if it has that setting).

{
  "mcpServers": {
    "synology": {
      "command": "uvx",
      "args": ["mcp-synology", "serve"],
      "env": {
        "SYNOLOGY_HOST": "192.168.1.100",
        "SYNOLOGY_HTTPS": "true",
        "SYNOLOGY_USERNAME": "your_user",
        "SYNOLOGY_PASSWORD": "your_password"
      }
    }
  }
}

Or from the CLI:

SYNOLOGY_HOST=192.168.1.100 SYNOLOGY_HTTPS=true uvx mcp-synology check

SYNOLOGY_HTTPS=true (port 5001 by default) keeps the password off the network in cleartext; leave it out only on a network you trust. DSM's default certificate is self-signed, which env-only mode can't accept (verify_ssl has no variable), so use a config file or a certificate the machine trusts.

Without a config file, mcp-synology always runs File Station, read-only. No environment variable enables another module or the write tools; for those, use a config file (the same variables then override its values, and overriding its host, port, HTTPS or instance ID prints a warning on stderr naming the variable, at any log level). The variables:

Variable Sets Default
SYNOLOGY_HOST connection.host (needed for env-only mode) —
SYNOLOGY_PORT connection.port 5000, or 5001 with HTTPS
SYNOLOGY_HTTPS connection.https (true/false, 1/0, yes/no or on/off, any case) false
SYNOLOGY_USERNAME auth.username the keyring
SYNOLOGY_PASSWORD auth.password the keyring
SYNOLOGY_DEVICE_ID auth.device_id (2FA device token) the keyring
SYNOLOGY_INSTANCE_ID instance_id (names the keyring entry and state folder) derived from the host
SYNOLOGY_LOG_LEVEL logging.level (debug, info, warning, error) info
SYNOLOGY_UPDATE_NOTICES update_notices (all, security, off) all

Each value is read as its config field's type, and choices in any case (SYNOLOGY_LOG_LEVEL=DEBUG); SYNOLOGY_UPDATE_NOTICES also takes no/yes as the config file does. A value of the wrong type is an error that names the variable, and the server doesn't start: SYNOLOGY_HTTPS=sure never means off. An empty or blank variable counts as unset.

Credentials come from environment variables first, then the config file, then the keyring.

Which config is used:

  • --config <file>, else MCP_SYNOLOGY_CONFIG=<file>, else ~/.config/mcp-synology/config.yaml; with none of these, environment variables alone. The log says which, at INFO.
  • No fallback: a file named by --config or MCP_SYNOLOGY_CONFIG that doesn't exist, or an empty value, is an error; mcp-synology doesn't fall back to the default location or to env-var-only mode.
  • A config in the current folder (./mcp-synology.yaml) is loaded only when you name it (--config ./mcp-synology.yaml, or its full path in an MCP client's config), because it chooses the host your stored password goes to: a folder you merely opened could otherwise send it elsewhere. Name it only if you trust it. With a home config, an unnamed one is ignored; without one, check and serve stop and say so, even with SYNOLOGY_HOST set.

Modules

Every module is configured the same way, under modules::

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.cmeans/mcp-synology

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229