SkillAgentSearch skills...

synology-mcp

MCP server to monitor & manage a Synology DSM 7 NAS (71 tools) and build dashboards in chat.

Install / Use

claude mcp add rafalr100 -- npx -y github:rafalr100/synology-mcp

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

77/100

Category

Operations

Supported Platforms

Claude Code
Claude Desktop

Our assessment of synology-mcp

synology-mcp scores 77/100 on our quality scale, 684th of 762 Operations skills we index.

Its MCP Server is 18 KB long, well organised into 33 sections with 10 code examples: a thorough specification that gives an agent plenty to work with.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
30/30
Structure
20/20
Description
12/15
Adoption
4/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 90/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-11-21. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

synology-mcp compared with similar skills

All 4 of these similar skills score higher than synology-mcp; compare them before choosing.

SkillScoreStarsUpdatedFormat
synology-mcp (this skill)by rafalr10077105mo agoMCP Server
Agent-Reachby Panniantong100114.1k1d agoCLAUDE.md
hyperframesby heygen-com10088.6ktodayCLAUDE.md
rufloby ruvnet10082.3ktodayCLAUDE.md
headroomby headroomlabs-ai10080.6ktodayCLAUDE.md

Frequently asked questions

How do I install synology-mcp?
Run claude mcp add rafalr100 -- npx -y github:rafalr100/synology-mcp. The install tabs above show the steps for each supported agent.
Which AI agents does synology-mcp work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is synology-mcp safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 90/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is synology-mcp still maintained?
The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
<div align="center"> <img src="docs/assets/banner.svg" alt="Synology MCP Server" width="100%" />

Synology MCP Server

Monitor and manage a Synology DSM 7 NAS from any MCP client — and build live dashboards right inside the chat.

Python MCP License: MIT DSM Tools CI

</div>

A Model Context Protocol (MCP) server that gives an LLM client such as Claude 71 tools to monitor and manage a Synology DSM 7 NAS: system health, storage and disks, files, Docker, virtual machines, packages, DSM updates, Download Station, Hyper Backup, users, services, security, certificates and more — plus a one-call snapshot for rendering beautiful dashboards as artifacts.

It speaks the official DSM Web API (entry.cgi), handles login (including 2FA via a persistent trusted-device token), caches the session and re-authenticates automatically.

Tested on DSM 7.3.2 (DS423+). Most tools use stable core APIs and work across DSM 7.x.


Table of contents


What is an MCP server?

The Model Context Protocol (MCP) is an open standard that lets AI assistants talk to external tools and data sources in a uniform way. An MCP server exposes a set of tools (functions the model can call) over a simple protocol; an MCP client (the app you chat in, e.g. Claude Desktop) connects to the server and lets the model call those tools on your behalf.

Think of it as a universal adapter between the AI and your software: instead of the model guessing, it calls a real function that returns real data.

This project is an MCP server for your Synology NAS. It translates plain requests like “how full are my volumes?” or “restart the Home Assistant container” into authenticated calls to the Synology DSM API, and hands structured results back to the model — which then answers you or renders a dashboard.

You ──▶ Claude (MCP client) ──▶ Synology MCP server ──▶ DSM Web API ──▶ your NAS
                ▲                                                          │
                └──────────────  results / dashboard  ◀───────────────────┘

You don't need to know any of the API details — just install the server, point it at your NAS, connect your client, and ask in natural language.

How it fits together

flowchart LR
    U["👤 You"] -->|natural language| C["🤖 Claude<br/>(MCP client)"]
    C -->|tool call| S["⚙️ Synology MCP server<br/>71 tools"]
    S -->|HTTPS entry.cgi| D["🟦 Synology DSM 7 API"]
    D --> N["🗄️ Your NAS<br/>storage · docker · vms · users …"]
    N -->|JSON| S
    S -->|structured result| C
    C -->|answer or 📊 dashboard| U

The server authenticates once (with optional 2FA via a trusted-device token), caches the session, and re-authenticates automatically when it expires.


Features

  • 71 tools across 21 domains — see the full Tool Reference.
  • Monitoring: system info, CPU/RAM/network load, health, connections, processes.
  • Storage: volumes, storage pools, per-disk S.M.A.R.T. and temperatures.
  • Files: browse, search, info, directory size, MD5, create/rename/copy/move/delete, extract archives, public share links.
  • Apps: Docker (containers, images, projects, logs, live stats, start/stop/restart), Virtual Machine Manager, Download Station, Hyper Backup, Task Scheduler, Surveillance Station (cameras), Synology Photos and Synology Drive.
  • Administration: packages & DSM updates, users/groups, shared folders (create/delete), file services (SMB/AFP/NFS/FTP), SSH/SNMP, hardware/UPS, security, certificates, DDNS, QuickConnect, notifications, logs, security scan.
  • Dashboards: get_overview returns a complete snapshot in one call; the bundled skill teaches the client to render it as a polished HTML dashboard.
  • Safe by design: state-changing tools are tagged control; destructive power operations (reboot/shutdown/DSM update) are disabled unless explicitly enabled.
  • No hard-coded secrets: all credentials come from environment variables / .env.

Quick start

Option A — guided setup (recommended)

One interactive script creates the environment, asks for your NAS details, handles 2FA, tests the connection and registers the server in Claude Desktop for you:

git clone https://github.com/rafalr100/synology-mcp.git
cd synology-mcp
python3 configure.py

Then fully quit and reopen Claude Desktop. That's it.

Option B — manual

# 1. Clone
git clone https://github.com/rafalr100/synology-mcp.git
cd synology-mcp

# 2. Install (uv recommended)
uv venv --python 3.12 .venv
uv pip install --python .venv -e .
#   …or:  python3 -m venv .venv && .venv/bin/pip install -e .

# 3. Configure
cp .env.example .env       # then edit URL / username / password

# 4. (only if your account uses 2FA) get a device token
.venv/bin/python bootstrap_2fa.py 123456     # 123456 = current OTP code

# 5. Verify
.venv/bin/python smoke_test.py

Then connect it to a client.


Configuration

Step 1 — Prepare the NAS

  1. Find the NAS address & port. In DSM: Control Panel → Network → Network Interface (or your router). The default Web API port is 5000 (HTTP) / 5001 (HTTPS). Your URL will look like http://192.168.1.100:5000.
  2. (Recommended) Create a dedicated user. Control Panel → User & Group → Create. Give it only the access it needs (the apps and shared folders you want to manage). Admin-group membership is required for some tools (storage, users, services, certificates, power).
  3. 2FA? If the account uses two-factor auth, keep your authenticator app handy for Step 4. The DSM Web API itself is enabled by default — nothing else to turn on.

Step 2 — Create your .env

Copy .env.example to .env and fill it in:

SYNOLOGY_URL=http://192.168.1.100:5000
SYNOLOGY_USER=your_username
SYNOLOGY_PASS=your_password

Environment variables

| Variable | Required | Default | Description | |----------|:--------:|---------|-------------| | SYNOLOGY_URL | ✅ | http://localhost:5000 | Base URL of the NAS (use https://…:5001 for TLS) | | SYNOLOGY_USER | ✅ | — | DSM username | | SYNOLOGY_PASS | ✅ | — | DSM password | | SYNOLOGY_DEVICE_ID | 2FA only | — | Trusted-device token (from bootstrap_2fa.py) | | SYNOLOGY_OTP | — | — | One-time OTP (bootstrap only; prefer the device token) | | SYNOLOGY_VERIFY_SSL | — | false | Verify the TLS certificate | | SYNOLOGY_TIMEOUT | — | 30 | HTTP timeout (seconds) | | SYNOLOGY_SESSION_NAME | — | SynologyMCP | Session name shown in DSM | | SYNOLOGY_DEVICE_NAME | — | SynologyMCP | Device name shown in DSM | | SYNOLOGY_ENABLE_POWER_CONTROL | — | false | Allow reboot_nas / shutdown_nas / install_dsm_update |

See docs/CONFIGURATION.md for details.

Step 3 — How login works

flowchart TD
    A["Server starts"] --> B{"SYNOLOGY_DEVICE_ID set?"}
    B -->|yes| C["Login with password + device token"]
    B -->|no| E{"SYNOLOGY_OTP set?"}
    E -->|yes| F["Login with password + OTP (one-off)"]
    E -->|no| G["Login with password only"]
    C --> H["✅ Session cached"]
    F --> H
    G --> H
    H --> I["Auto re-login if the session expires"]

Two-factor authentication (2FA)

If your account has 2FA enabled, a password alone cannot log in. Exchange one OTP code for a persistent trusted-device token (so you never need an OTP again):

.venv/bin/python bootstrap_2fa.py 123456     # current 6-digit code from your authenticator

This appends SYNOLOGY_DEVICE_ID=… to your .env. If the token is ever invalidated (e.g. after a password change), simply run the bootstrap again.


Connecting an MCP client

The server runs locally and talks to your NAS over the LAN. It works with local clients (Claude Desktop, Claude Code). It is not reachable from the claude.ai web app, whose cloud servers cannot see your local network.

Claude Desktop

Edit the config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "synology": {
      "command": "/absolute/path/to/synology-mcp/.venv/bin/python",
      "args": ["-m", "synology_mcp"],
      "env": {
        "PYTHONPATH": "/absolute/path/to/synology-mcp",
        "SYNOLOGY_URL": "http://192.168.1.100:5000",
        "SYNOLOGY_USER": "your_username",
        "SYNOLOGY_PASS": "your_password",
        "SYNOLOGY_DEVICE_ID": "your_device_token_if_2fa"
      }
    }
  }
}

Fully quit and reopen Claude Desktop — the Synology tools then appear in the tools menu. A ready-to-edit copy lives in examples/claude_desktop_config.example.json.

Claude Code

claude mcp add synology -- /absolute/path/to/synology-mcp/.venv/bin/python -m synology_mcp

…or drop a project-scoped .mcp.json in your working directory.

Tip: keep credentials only in .env — the server auto-loads it from its own directory, so you can omit the env block in the client config.


Dashboards & the skill

Ask the client for “a dashboard of my NAS” and it will call get_overview (one round-trip returning system, load, storage, disks and workload counts) and render a self-contained HTML dashboard as an artifact.

The repo ships a Claude skill (skills/synology-nas/SKILL.md) that teaches the client when to use which tool and how to render dashboards — including a design guide and an HTML template. See docs/DASHBOARDS.md.


Usage examples

Natural-language prompts you can use once connected:

  • “Give me an overview / dashboard of my NAS.”
  • “How full are my volumes, and are all disks healthy?”
  • “Is a DSM update available? Which Docker images can be updated?”
  • “Show running containers and restart homeassistant.” (asks to confirm)
  • “List virtual machines and their state.”
  • “What’s connected right now, and show the last 10 system log entries.”
  • “Search /home for *.pdf and tell me the size of /docker.”
  • “Are SSH and SMB enabled? What’s my DDNS hostname and certificate expiry?”

More in examples/prompts.md.


Tool reference

All 71 tools are documented — with parameters and what each returns — in docs/TOOLS.md. Summar

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars10
CategoryOperations
Updated5mo ago
Forks6

Languages

Python

Trust signals

90/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 low2 info