Synology

Cloud and DevOps

Model Context Protocol (MCP) server for Synology NAS - Enables AI assistants (Claude, Cursor, Continue) to manage files, downloads, and system operations through secure API integration. Features Docker deployment, auto-authentication, and comprehensive file system tools.

Your AI app calls the Synology MCP server, which does the work through tools like synology_status, synology_list_nas, synology_login and synology_logout and sends the result back to the chat.

About Synology

Synology is a community MCP server from atom2ueki, filed in our directory under cloud and devops. Model Context Protocol (MCP) server for Synology NAS - Enables AI assistants (Claude, Cursor, Continue) to manage files, downloads, and system operations through secure API integration. Features Docker deployment, auto-authentication, and comprehensive file system tools.

The README for Synology lists tools such as synology_status, synology_list_nas, synology_login and synology_logout, which your AI app can call once the server is connected.

At a glance

Publisher
atom2ueki (community)
Runs
See the README for setup
Written in
Python
License
MIT
GitHub stars
264

Tools Synology gives your AI app

  • synology_statusCheck authentication status and active sessions.
  • synology_list_nasList all configured NAS units from settings.json.
  • synology_loginAuthenticate with Synology NAS (conditional).
  • synology_logoutLogout from session (conditional).
  • list_sharesList all available NAS shares.
  • list_directoryList directory contents with metadata.
  • path(required): Directory path starting with /.
  • get_file_infoGet detailed file/directory information.
  • get_file_contentRead strict UTF-8 text or lossless base64 content.
  • encoding(optional): text (default) or base64.
  • max_bytes(optional): Maximum raw bytes to read (default 1 MiB, hard limit 8 MiB).
  • search_filesRecursively search for files and folders by name.
  • pattern(required): Case-insensitive substring of the name (e.g., invoice, .pdf). Wildcards are not special, DSM matches report and report identically.
  • create_fileCreate new files with content.
  • content(optional): File content (default: empty string).
  • overwrite(optional): Overwrite existing files (default: false).
  • create_directoryCreate new directories.
  • folder_path(required): Parent directory path starting with /.
  • name(required): New directory name.
  • force_parent(optional): Create parent directories if needed (default: false).
  • deleteDelete files or directories (auto-detects type).
  • rename_fileRename files or directories.
  • new_name(required): New filename.
  • move_fileMove files to new location.

Tool names as the Synology README lists them. Your AI app shows the live list once Synology is connected.

How to set up Synology

  1. Follow the install steps in the Synology README; it is written in Python, so have that toolchain ready.
  2. Check the Synology README for keys or settings; the registry lists none that Synology requires.
  3. Add Synology to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Synology tools to confirm the connection.
  5. Run one read-only task with Synology first, such as a call to synology_status, before you allow anything that writes or sends.

Synology compared with similar servers

  • HomeLab Monitor by SikamikanikoBG has fewer GitHub stars than Synology (246 against 264); both are community servers, and both run locally.
  • Levelrail by glincker has more GitHub stars than Synology (265 against 264); both are community servers, and both run locally.
  • Sample Serverless MCP Servers by aws-samples has fewer GitHub stars than Synology (245 against 264); both are community servers, and both run locally.

Before you connect Synology

  • Give Synology its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Synology tool call until you trust what it does with them.
  • Treat text that Synology fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Synology on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Synology

How marketing and sales teams put Synology to work, by company size. Pick the size closest to yours and start Synology on one use case.

Small business

  • A small business can ask Synology why the site is slow or down and get the likely cause in plain words.
  • Owners can use Synology to check hosting costs and spot services they pay for but no longer use.
  • Synology runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Web teams can connect Synology to watch deploys during a launch and roll back fast if a campaign page breaks.
  • Marketing engineering can use Synology to spin up preview environments for every landing page review.
  • Start with synology_status and synology_list_nas, the tools Synology lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises should give Synology read access first, with changes gated by the same approvals as any infrastructure change.
  • Large orgs can use Synology to answer cost and reliability questions across accounts, so marketing launches are planned with real capacity.
  • Synology is a community server, so have security review the code and pin a version before Synology touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Synology README

From atom2ueki/mcp-server-synology on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

💾 Synology MCP Server

A Model Context Protocol (MCP) server for Synology NAS devices. Enables AI assistants to manage files and downloads through secure authentication and session management.

🌟 NEW: Unified server supports both Claude/Cursor (stdio) and Xiaozhi (WebSocket) simultaneously!

📦 Install from PyPI

No need to clone the repository, install the package directly from PyPI:

# With pip
pip install mcp-server-synology

# Or with pipx (isolated environment)
pipx install mcp-server-synology

# Or with uv
uv tool install mcp-server-synology

This installs two equivalent commands: synology-mcp and mcp-server-synology.

For MCP clients, uvx is the simplest option, it downloads and caches the package automatically, no manual install or local clone required:

{
  "mcpServers": {
    "synology": {
      "command": "uvx",
      "args": ["mcp-server-synology"]
    }
  }
}

Configuration lives outside the package, so it works the same as a source checkout: create ~/.config/synology-mcp/settings.json as described in Configuration Options.

🚀 Quick Start with Docker

1️⃣ Setup Environment
# Clone repository
git clone https://github.com/atom2ueki/mcp-server-synology.git
cd mcp-server-synology

# Create environment file
cp env.example .env
2️⃣ Configure .env File

Basic Configuration (Claude/Cursor only):

# Required: Synology NAS connection
SYNOLOGY_URL=http://192.168.1.100:5000
SYNOLOGY_USERNAME=your_username
SYNOLOGY_PASSWORD=your_password

# Optional: Auto-login on startup
AUTO_LOGIN=true
VERIFY_SSL=false

Extended Configuration (Both Claude/Cursor + Xiaozhi):

# Required: Synology NAS connection
SYNOLOGY_URL=http://192.168.1.100:5000
SYNOLOGY_USERNAME=your_username
SYNOLOGY_PASSWORD=your_password

# Optional: Auto-login on startup
AUTO_LOGIN=true
VERIFY_SSL=false

# Enable Xiaozhi support
ENABLE_XIAOZHI=true
XIAOZHI_TOKEN=your_xiaozhi_token_here
XIAOZHI_MCP_ENDPOINT=wss://api.xiaozhi.me/mcp/

.env is read at run time, never baked into the image, docker-compose.yml injects its entries as container environment variables via env_file, so the file itself is not present inside the container. It is optional: if you configure NASes with settings.json instead (recommended), you can skip this file entirely.

3️⃣ Run with Docker

One simple command supports both modes:

# Claude/Cursor only mode (default if ENABLE_XIAOZHI not set)
docker-compose up -d

# Both Claude/Cursor + Xiaozhi mode (if ENABLE_XIAOZHI=true in .env)
docker-compose up -d

# Build and run
docker-compose up -d --build

Instead of building locally, you can pull the published image and use it in docker-compose.yml exactly as described for the HTTP compose file in Pre-built image below, replace build: . with image: ghcr.io/atom2ueki/mcp-server-synology:latest (or a pinned X.Y.Z).

4️⃣ Alternative: Local Python
# Install the package and its dependencies (from PyPI, or from a clone with 'pip install .')
pip install mcp-server-synology

# Run with environment control
python main.py

🔌 Client Setup

The examples below use Docker with a local clone of this repository. If you installed from PyPI, use the uvx configuration from Install from PyPI instead, it works for Claude Desktop, Cursor, Continue and Codeium alike, with no local paths to adjust.

🤖 Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "synology": {
      "command": "docker-compose",
      "args": [
        "-f", "/path/to/your/mcp-server-synology/docker-compose.yml",
        "run", "--rm", "synology-mcp"
      ],
      "cwd": "/path/to/your/mcp-server-synology"
    }
  }
}
↗️ Cursor

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "synology": {
      "command": "docker-compose",
      "args": [
        "-f", "/path/to/your/mcp-server-synology/docker-compose.yml",
        "run", "--rm", "synology-mcp"
      ],
      "cwd": "/path/to/your/mcp-server-synology"
    }
  }
}
🔄 Continue (VS Code Extension)

Add to your Continue configuration (.continue/config.json):

{
  "mcpServers": {
    "synology": {
      "command": "docker-compose",
      "args": [
        "-f", "/path/to/your/mcp-server-synology/docker-compose.yml",
        "run", "--rm", "synology-mcp"
      ],
      "cwd": "/path/to/your/mcp-server-synology"
    }
  }
}
💻 Codeium

For Codeium's MCP support:

{
  "mcpServers": {
    "synology": {
      "command": "docker-compose",
      "args": [
        "-f", "/path/to/your/mcp-server-synology/docker-compose.yml",
        "run", "--rm", "synology-mcp"
      ],
      "cwd": "/path/to/your/mcp-server-synology"
    }
  }
}
🐍 Alternative: Direct Python Execution

If you prefer not to use Docker:

{
  "mcpServers": {
    "synology": {
      "command": "python",
      "args": ["main.py"],
      "cwd": "/path/to/your/mcp-server-synology",
      "env": {
        "SYNOLOGY_URL": "http://192.168.1.100:5000",
        "SYNOLOGY_USERNAME": "your_username",
        "SYNOLOGY_PASSWORD": "your_password",
        "AUTO_LOGIN": "true",
        "ENABLE_XIAOZHI": "false"
      }
    }
  }
}

🌐 Remote Streamable HTTP Deployment

By default the server speaks stdio, which means the MCP client has to spawn the process locally (or via a bridge such as SSH/docker exec). For setups where the NAS is remote (different machine from where Claude/Cursor runs), set MCP_HTTP=true and the server serves native Streamable HTTP from uvicorn in the same process, no mcp-proxy sidecar and no separate /sse endpoint. This makes it consumable by any MCP client that supports URL-based connectors, exactly like ha-mcp or other "remote" MCP servers.

Architecture
[Claude Desktop / Cursor / ...]
        │
        │ HTTPS (URL connector)
        ▼
[Reverse proxy: DSM / Nginx / Traefik / Caddy]
        │  (TLS termination + auth)
        │ HTTP localhost:8765
        ▼
[Docker container]
  └─ python main.py
       └─ uvicorn → Streamable HTTP at /mcp
Deploy
  1. All dependencies come from pyproject.toml: mcp>=2.0.0 ships starlette, uvicorn, and sse-starlette, so the same image serves both stdio and Streamable HTTP, no extra build arg or separate requirements file.
  2. Use the provided docker-compose.http.yml:
# Edit credentials in docker-compose.http.yml first
docker compose -f docker-compose.http.yml up -d --build
docker logs -f synology-mcp-http

You should see the server log Starting Streamable HTTP MCP server on http://0.0.0.0:8765/mcp and the auto-login succeed. uvicorn's own Uvicorn running on … banner is not printed at the compose file's defaults, it is INFO on the uvicorn.error logger, which the server pins to warning unless DEBUG=true.

Pre-built image

Instead of building locally, you can pull the image published to GitHub Container Registry on every release (linux/amd64 and linux/arm64, so it also runs on ARM-based NAS models):

docker pull ghcr.io/atom2ueki/mcp-server-synology:latest   # or pin a release tag, e.g. :X.Y.Z

Tags: X.Y.Z and X.Y per stable release, latest for the newest stable release (pre-releases only get their own version tag, never latest), and edge for manual builds from a branch. 1.9.0 is the first release with an image; earlier tags (up to 1.8.0) have none, so build locally (above) or use edge for a manual build. To use it with docker-compose.http.yml, replace build: . with image: ghcr.io/atom2ueki/mcp-server-synology:latest (or a pinned X.Y.Z). Like the locally built image, it contains no credentials; pass them at run time as described above.

GHCR creates the package as private on first publish; the maintainer makes it public once (Packages → mcp-server-synology → Package settings → Change visibility). Until then, docker pull fails anonymously, you can still pull after docker login ghcr.io with a GitHub token that has read:packages.

Reverse proxy

Most MCP clients require HTTPS, so the HTTP endpoint must be fronted by a TLS-terminating reverse proxy. For DSM users, the built-in Login Portal → Reverse Proxy does the job:

  • Source: HTTPS, hostname synology-mcp.example.com, port 443
  • Destination: HTTP, localhost, port 8765
  • Custom Headers: none required, Streamable HTTP is plain POST/GET on a single endpoint, not a WebSocket upgrade. The Create → WebSocket preset is harmless if you already apply it elsewhere (it sets Connection: upgrade only for real upgrade requests), but it is not what keeps a stream open

For Nginx, the equivalent is:

location / {
    proxy_pass http://localhost:8765;
    proxy_http_version 1.1;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    # Responses may stream as long-lived text/event-stream
    proxy_buffering off;
    proxy_cache off;
    proxy_read_timeout 24h;
}
Client configuration

In Claude Desktop (or any MCP client that supports remote connectors), add a custom connector pointing at:

https://synology-mcp.example.com/mcp

The path is whatever MCP_HTTP_PATH is set to (default /mcp). No command, no args, no local Python, just a URL.

Security

The server does not implement any application-level authentication, anything that can reach the HTTP endpoint can call every tool. It does enable the MCP SDK's DNS-rebinding protection, which rejects requests whose Host/Origin headers are not on an allowlist (MCP_HTTP_ALLOWED_HOSTS / MCP_HTTP_ALLOWED_ORIGINS, defaulting to loopback). Behind a reverse proxy set both, minding the differing formats, hosts are bare (synology-mcp.example.com), origins are scheme-qualified (https://synology-mcp.example.com), as in the commented examples in docker-compose.http.yml. That guards browsers against rebinding attacks; it is not authentication. Mitigations:

  • Keep it on a private network or behind a VPN
  • Leave the published port on loopback (docker-compose.http.yml binds 127.0.0.1:8765) so only a same-host reverse proxy can reach it
  • Use the reverse proxy to enforce an IP allow-list
  • Add Basic Auth / mTLS / OAuth2 proxy at the reverse proxy layer
  • Use a dedicated low-privilege DSM user (already recommended in the security warning above)

🌟 Xiaozhi Integration

New unified architecture supports both clients simultaneously!

How It Works
  • ENABLE_XIAOZHI=false (default): Standard MCP server for Claude/Cursor via stdio
  • ENABLE_XIAOZHI=true: Multi-client bridge supporting both:
    • 📡 Xiaozhi: WebSocket connection
    • 💻 Claude/Cursor: stdio connection
Setup Steps
  1. Add to your .env file:
ENABLE_XIAOZHI=true
XIAOZHI_TOKEN=your_xiaozhi_token_here
  1. Run normally:
# Same command, different behavior based on environment
python main.py
# OR
docker-compose up
Key Features
  • ✅ Zero Configuration Conflicts: One server, multiple clients
  • ✅ Parallel Operation: Both clients can work simultaneously
  • ✅ All Tools Available: Xiaozhi gets access to all Synology MCP tools
  • ✅ Backward Compatible: Existing setups work unchanged
  • ✅ Auto-Reconnection: Handles WebSocket connection drops
  • ✅ Environment Controlled: Simple boolean flag to enable/disable
Startup Messages

Claude/Cursor only mode:

🚀 Synology MCP Server
==============================
📌 Claude/Cursor only mode (ENABLE_XIAOZHI=false)

Both clients mode:

🚀 Synology MCP Server with Xiaozhi Bridge
==================================================
🌟 Supports BOTH Xiaozhi and Claude/Cursor simultaneously!

🧾 Audit Trail and Tool Annotations

Every tool call appends a JSON result record to logs/audit.jsonl, the tool, its risk class, the path it acted on, redacted arguments, the outcome and the duration. It is deliberately independent of DSM: reading Log Center needs an admin account, and the MCP account is not one (SYNO.Core.SyslogClient.Log returns error 105).

{"ts":"2026-10-23T01:25:36.412+00:00","event":"tool_call","run":"9f3c1a2b8d4e","pid":7,
 "tool":"delete","risk":"destructive","target":"/media/library/Movies/Old/Movie.mkv",
 "args":{"path":"/media/library/Movies/Old/Movie.mkv"},"outcome":"ok","duration_ms":41}
  • Fail closed for destructive calls. Before a tool classified destructive runs, the server persists and flushes a tool_intent record. If it cannot, the call is refused with audit_unavailable, an unrecorded destructive action is not allowed to happen. Set MCP_AUDIT=false only if you deliberately want no trail (and no such protection).
  • Best effort after the fact. If the append fails after an action already ran, the loss is reported on stderr and the tool result is unchanged.
  • Secrets are masked by key name (password, passwd, token, api_key, session, sid, chap_password, …); long values such as file bodies are truncated to 512 characters.
  • Rotation is size-based: audit.jsonl → .1 … .5 by default.

Tools also carry MCP annotations (readOnlyHint, destructiveHint), declared on each tool's ToolSpec in src/tools/ next to its description, JSON schema and handler. A spec cannot be constructed without a classification, so no tool can ship unannotated. They let a client with approval UI prompt on the calls that matter, but they are hints: a client may ignore them. The server separately derives its own tier from the same declared annotations with tool_policy.risk_for, including the overwrite/password escalations, and enforces the confirmation gate and audit preflight with that tier.

Destructive calls need confirmation

A destructive call, including create_file, copy_file, or move_file with overwrite: true, first returns an MCP 2026-07-28 InputRequiredResult with a confirmation form and HMAC-signed requestState. The client collects consent and retries the exact call. State has a fresh nonce, expires, is consumed atomically once, and is invalidated by a server restart.

Clients without this protocol and form capability receive confirmation_required; there is no model-callable token issuer or legacy approval fallback. MCP_CONFIRM=off explicitly disables the gate. Audit records carry confirmation: round-trip | none. The client's UI is responsible for human consent: a server cannot distinguish an actual human response from a client that automatically accepts forms.

{"event":"tool_call","tool":"delete","risk":"destructive",
 "target":"/media/library/a.mkv","outcome":"ok","confirmation":"round-trip"}
Confining File Station writes

MCP_FILESTATION_WRITE_PATHS confines writes to chosen subtrees, and a NAS entry overrides it per device:

MCP_FILESTATION_WRITE_PATHS=/volume1/media,/volume1/backups
{
  "synology": {
    "nas1": {
      "host": "192.168.1.10",
      "filestation_write_paths": ["/volume1/docker/app/config"]
    }
  }
}

It applies to create_directory, create_file, copy_file, move_file, rename_file and delete; with file copies only the destination is checked, while a move checks both ends because removing the source is a write too. A structurally valid path outside the list fails with path_outside_roots before any NAS call. Roots are canonicalized at startup and a malformed entry aborts startup rather than silently widening access; leaving the setting empty keeps today's behaviour. Independently of the list, a write whose target is a share, volume or filesystem root is always refused.

Least privilege: tool profiles

MCP_TOOL_PROFILE decides which tools exist at all: full (default), no_destructive (read-only + additive only) or read_only. Filtering happens at registration, so a withheld tool is not listed and cannot be called, stronger than a client-side deny list, and useful when an agent should monitor a NAS without changing it. The startup log names the profile and the number of withheld tools. Session tools (synology_login/synology_logout) stay available in every profile: they change no NAS data and are the only way to read anything when auto-login is off.

Container details are sanitized regardless of profile: synology_container_get keeps environment variable names (env_keys) and drops their values, because DSM returns database passwords and tokens in Config.Env and profile.env_variables.

Deletes go to a trash folder when the share can host one

delete moves the target into <share>/#trash/<date>/ first, a same-share move, so no extra space, and only unlinks when the share cannot host a trash folder. Nothing is assumed about the layout: MCP_TRASH=auto probes, falls back to a normal delete if the folder cannot be created, and records the placement (event: "delete_placement", outcome: soft|hard) in the audit trail. always refuses instead of falling back; never deletes directly. The result reports soft_delete, trash_path, trash_root, and original_path. Use the recorded paths to restore; the trash layout does not mirror the source tree.

If the MCP account cannot write the share root, point the trash inside the library with an absolute template: MCP_TRASH_DIR=/media/library/.trash/{share}.

This is not DSM's Recycle Bin and does not require it to be enabled. Share roots and ambiguous traversal paths are always refused. Once a move has been attempted, any failure stops deletion; it never triggers a hard-delete retry. Name collisions use a unique subdirectory, preserving previous trash entries. Trash must stay in the source share. There is no automatic purge or retention schedule; remove retained items only through an explicitly approved operation.

Env var Default Meaning
MCP_AUDIT true false disables the trail and the destructive pre-flight
MCP_AUDIT_LOG logs/audit.jsonl Trail path (./logs is mounted in Docker)
MCP_AUDIT_MAX_BYTES 10485760 Rotate at this size (0 disables rotation)
MCP_AUDIT_KEEP 5 Rotated files to keep
MCP_CONFIRM mrtr mrtr or off
MCP_CONFIRM_TTL_SECONDS 300 Confirmation state lifetime
MCP_CONFIRM_SECRET , HMAC key; otherwise generated once at logs/.confirm-secret
MCP_TRASH auto auto, always, or never
MCP_TRASH_DIR #trash Folder under the share, or an absolute {share} template

The same settings can live in settings.json under server.audit (enabled, path, max_bytes, keep), server.confirm (mode, ttl_seconds) and server.trash (mode, dir).

🛠️ Available MCP Tools

🔐 Authentication
  • synology_status - Check authentication status and active sessions
  • synology_list_nas - List all configured NAS units from settings.json
  • synology_login - Authenticate with Synology NAS (conditional)
  • synology_logout - Logout from session (conditional)
📁 File System Operations
  • list_shares - List all available NAS shares
  • list_directory - List directory contents with metadata
    • path (required): Directory path starting with /
  • get_file_info - Get detailed file/directory information
    • path (required): File path starting with /
  • get_file_content - Read strict UTF-8 text or lossless base64 content
    • path (required): File path starting with /
    • encoding (optional): text (default) or base64
    • max_bytes (optional): Maximum raw bytes to read (default 1 MiB, hard limit 8 MiB)
  • search_files - Recursively search for files and folders by name
    • path (required): Search directory
    • pattern (required): Case-insensitive substring of the name (e.g., invoice, .pdf). Wildcards are not special, DSM matches report and *report* identically.
  • create_file - Create new files with content
    • path (required): Full file path starting with /
    • content (optional): File content (default: empty string)
    • overwrite (optional): Overwrite existing files (default: false)
    • encoding (optional): text (default) or strict base64; decoded content is limited to 8 MiB
  • create_directory - Create new directories
    • folder_path (required): Parent directory path starting with /
    • name (required): New directory name
    • force_parent (optional): Create parent directories if needed (default: false)
  • delete - Delete files or directories (auto-detects type)
    • path (required): File/directory path starting with /
  • rename_file - Rename files or directories
    • path (required): Current file path
    • new_name (required): New filename
  • move_file - Move files to new location
    • source_path (required): Source file path
    • destination_path (required): Destination path
    • overwrite (optional): Overwrite existing files
  • copy_file - Copy a regular file inside the NAS without sending its bytes through the MCP client
    • source_path (required): Source file path
    • destination_folder (required): Existing destination directory; the filename is preserved
    • overwrite (optional): Overwrite an existing same-named file (default: false)

copy_file verifies the destination path and byte count. It is not a consistent backup method for a live SQLite database; use SQLite's online backup mechanism for databases that may be changing during the copy.

📥 Download Station Management
  • ds_get_info - Get Download Station information
  • ds_list_tasks - List all download tasks with status
    • offset (optional): Pagination offset
    • limit (optional): Max tasks to return
  • ds_create_task - Create new download task
    • uri (required): Download URL or magnet link
    • destination (optional): Download folder path
  • ds_pause_tasks - Pause download tasks
    • task_ids (required): Array of task IDs
  • ds_resume_tasks - Resume paused tasks
    • task_ids (required): Array of task IDs
  • ds_delete_tasks - Delete download tasks
    • task_ids (required): Array of task IDs
    • force_complete (optional): Force delete completed
  • ds_get_statistics - Get download/upload statistics
🏥 Health Monitoring
  • synology_system_info - Get system model, serial, DSM version, uptime, temperature
  • synology_utilization - Get real-time CPU, memory, swap, and disk I/O utilization
  • synology_disk_health - List all physical disks with SMART status, model, temp, size
  • synology_disk_smart - Get detailed SMART attributes for a specific disk
  • synology_volume_status - List all volumes with status, size, usage, filesystem type
  • synology_storage_pool - List RAID/storage pools with level, status, member disks
  • synology_lun_list - List all iSCSI LUNs with name, UUID, size, type, status and backing volume. To see which target a LUN is attached to, use synology_target_list - DSM does not report mappings on the LUN side.
  • synology_lun_get - Get details for a single iSCSI LUN
    • name (required): LUN name or UUID from synology_lun_list output
  • synology_network - Get network interface status and transfer rates
🔄 DSM Updates & Security Posture
  • synology_update_status - Read-only: installed DSM version, available update (version, security release, whether it reboots), download/install state, packages with pending updates, auto-update policy
  • synology_security_posture - Read-only: QuickConnect, auto-block and its allow list, Telnet/SSH, HTTPS redirect, firewall, 2FA enforcement, admin/guest account state, administrators, Security Advisor findings
  • synology_terminal_set - Turn Telnet/SSH on or off (confirm=true)
  • synology_autoblock_set - Configure auto-block; enabling with an empty allow list is refused (confirm=true)
  • synology_autoblock_allow_add / _remove - Manage the never-block allow list (confirm=true)
  • synology_https_redirect_set - Toggle DSM's HTTP→HTTPS redirect; restarts the web server (confirm=true)
  • synology_dsm_update_download - Download the available DSM update; installs nothing (confirm=true)
  • synology_dsm_update_install - Dry-run DSM's pre-install checks, or install with blockers/warnings/EULA each explicitly accepted; the NAS may reboot (confirm=true to install)
SAN Manager (iSCSI provisioning)

Wraps SYNO.Core.ISCSI.LUN and SYNO.Core.ISCSI.Target. Verified against DSM 7.3.2-86009 Update 4 on an RS1221+; other DSM builds may differ, and DSM's own refusal is reported as given rather than second-guessed.

  • synology_lun_create - Create a LUN on a volume; returns its uuid and lun_id
    • name, location (e.g. /volume2), size (in bytes) required
    • type (optional): thin (default, DSM BLUN), advanced, file, or a raw DSM type name. Note thin and THIN are different: lowercase is the friendly alias for BLUN, uppercase is DSM's distinct legacy type. Thick types were refused on the btrfs volume this was tested against.
    • description (optional)
  • synology_lun_delete - DESTRUCTIVE. Delete a LUN and everything on it
    • uuid and confirm: true required
  • synology_target_list - List targets with IQN, auth type, and the LUNs mapped to each
  • synology_target_get - Get one target by target_id
  • synology_target_create - Create a target; returns its target_id
    • name required; iqn defaults to iqn.2000-01.com.synology:<name>
    • chap_user + chap_password enable CHAP. Supply both or neither - one alone, or an empty string, is refused rather than quietly producing a target with no authentication. With neither, the target accepts any initiator that can reach it.
    • max_sessions (optional, 0 = DSM default)
  • synology_target_map_lun - Map LUNs to a target (target_id, lun_uuids)
  • synology_target_unmap_lun - DESTRUCTIVE. Unmap LUNs, disconnecting any initiator using them (target_id, lun_uuids, confirm: true)

These tools reject any argument they do not declare, rather than ignoring it: a misspelled chap_user would otherwise create an unauthenticated target, and a misspelled type would silently take the default.

  • synology_ups - Get UPS status, battery level, power readings
  • synology_services - List installed packages and their running status
  • synology_system_log - Get recent system log entries
  • synology_health_summary - Aggregate system info, utilization, disk health, and volume status
🐳 Container Manager
  • synology_container_list - List Container Manager containers
    • offset (optional): Pagination offset
    • limit (optional): Maximum containers to return
    • container_type (optional): Container filter (default: all)
  • synology_container_health_summary - Summarize container status, health, restart counts, and images
  • synology_container_disk_usage - Show the read-only disk-usage summary available through Container Manager APIs
  • synology_container_get - Get a Container Manager container
    • name (required): Container name
  • synology_container_start - Start a Container Manager container
    • name (required): Container name
  • synology_container_stop - Stop a Container Manager container
    • name (required): Container name
  • synology_container_restart - Restart a Container Manager container
    • name (required): Container name
  • synology_container_delete - Delete a Container Manager container
    • name (required): Container name
    • force (optional): Force deletion (default: false)
    • preserve_profile (optional): Preserve Synology container profile (default: true)
  • synology_container_logs - Get Container Manager container logs
    • name (required): Container name
    • since (optional): Log start time/filter
    • offset (optional): Pagination offset (default: 0)
    • limit (optional): Maximum log lines to return (default: 1000)
  • synology_container_resource - Get real-time resource usage for a Container Manager container
    • name (required): Container name
  • synology_container_project_list - List Container Manager projects
  • synology_container_project_get - Get a Container Manager project (Compose, environment, and secret fields are omitted)
    • name (required): Project name
  • synology_container_project_create - Create and save a Container Manager project definition
    • name (required): Project name
    • share_path (required): Project folder path on the NAS
    • content (required): Docker Compose YAML content
    • enable_service_portal (optional): Enable Synology service portal (default: false)
    • service_portal_name (optional): Service portal name
    • service_portal_port (optional): Service portal port
    • service_portal_protocol (optional): Service portal protocol (default: http)
    • Saves the Compose definition; call synology_container_project_build to materialize it.
  • synology_container_project_update - Update a Container Manager project
    • name (required): Project name
    • content (required): Docker Compose YAML content
    • enable_service_portal (optional): Enable Synology service portal
    • service_portal_name (optional): Service portal name
    • service_portal_port (optional): Service portal port
    • service_portal_protocol (optional): Service portal protocol
  • synology_container_project_start - Start a Container Manager project
    • name (required): Project name
  • synology_container_project_stop - Stop a Container Manager project
    • name (required): Project name
  • synology_container_project_restart - Restart a Container Manager project
    • name (required): Project name
  • synology_container_project_build - Materialize or rebuild a saved Container Manager project
    • name (required): Project name
  • synology_container_project_clean - Clean a Container Manager project
    • name (required): Project name
  • synology_container_project_delete - Delete a Container Manager project
    • name (required): Project name
  • synology_container_image_list - List Container Manager images
    • offset (optional): Pagination offset
    • limit (optional): Maximum images to return
    • show_dsm (optional): Include DSM images (default: false)
  • synology_container_image_get - Get a Container Manager image
    • name (required): Image repository name
    • tag (optional): Image tag (default: latest)
  • synology_container_image_delete - Delete a Container Manager image
    • name (required): Image repository name
    • tag (optional): Image tag (default: latest)
  • synology_container_image_prune - Remove images unused by any container
    • synology_container_image_prune_preview provides a read-only candidate list before cleanup
    • Uses only Container Manager APIs to delete safely identifiable unused tagged images and reports dangling images it cannot remove through DSM
    • Does not remove containers, networks, or build cache
  • synology_container_image_pull - Pull a Container Manager image
    • repository (required): Image repository name
    • tag (optional): Image tag (default: latest)
  • synology_container_registry_list - List Container Manager registries
  • synology_container_registry_search - Search Container Manager registries
    • query (required): Image search query
    • offset (optional): Pagination offset
    • limit (optional): Maximum results to return
  • synology_container_registry_tags - List tags for a registry image
    • repository (required): Image repository name
    • offset (optional): Pagination offset
    • limit (optional): Maximum tags to return
  • synology_container_registry_download - Download a registry image
    • repository (required): Image repository name
    • tag (optional): Image tag (default: latest)
  • synology_container_network_list - List Container Manager networks
  • synology_container_network_get - Get a Container Manager network
    • name (required): Network name
  • synology_container_network_create - Create a Container Manager network
    • name (required): Network name
    • driver (optional): Network driver (default: bridge)
    • subnet (optional): Subnet CIDR
    • gateway (optional): Gateway IP
    • ip_range (optional): Allocatable IP range CIDR
    • enable_ipv6 (optional): Enable IPv6 (default: false)
  • synology_container_network_delete - Delete a Container Manager network
    • name (required): Network name
📦 NFS Management
  • synology_nfs_status - Get NFS service status and configuration
  • synology_nfs_enable - Enable or disable the NFS service
  • synology_nfs_list_shares - List all shared folders with their NFS permissions
  • synology_nfs_set_permission - Set NFS client access permissions on a shared folder

Read the rest of the Synology README on GitHub

Questions about Synology

What is the Synology MCP server?

Model Context Protocol (MCP) server for Synology NAS - Enables AI assistants (Claude, Cursor, Continue) to manage files, downloads, and system operations through secure API integration. Features Docker deployment, auto-authentication, and comprehensive file system tools. Synology is maintained by atom2ueki on GitHub at atom2ueki/mcp-server-synology, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Synology MCP server?

Synology doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (atom2ueki/mcp-server-synology). Like most servers, Synology ends with a command or URL you paste into your AI app's MCP config.

Does Synology need an API key?

The registry lists no required keys for Synology. Check the Synology README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Synology an official MCP server?

No. Synology is a community server maintained by atom2ueki. Community servers can be excellent; read the code and the open issues before you give Synology access to company data.

What license is Synology under?

Synology is released under the MIT license, according to its GitHub repository. The license covers the code of Synology; the service it connects to has its own terms.