💾 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
- All dependencies come from
pyproject.toml:mcp>=2.0.0ships starlette, uvicorn, and sse-starlette, so the same image serves both stdio and Streamable HTTP, no extra build arg or separate requirements file. - 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, hostnamesynology-mcp.example.com, port443 - Destination:
HTTP,localhost, port8765 - 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: upgradeonly 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.ymlbinds127.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
- Add to your .env file:
ENABLE_XIAOZHI=true
XIAOZHI_TOKEN=your_xiaozhi_token_here
- 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
destructiveruns, the server persists and flushes atool_intentrecord. If it cannot, the call is refused withaudit_unavailable, an unrecorded destructive action is not allowed to happen. SetMCP_AUDIT=falseonly 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….5by 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 sessionssynology_list_nas- List all configured NAS units from settings.jsonsynology_login- Authenticate with Synology NAS (conditional)synology_logout- Logout from session (conditional)
📁 File System Operations
list_shares- List all available NAS shareslist_directory- List directory contents with metadatapath(required): Directory path starting with/
get_file_info- Get detailed file/directory informationpath(required): File path starting with/
get_file_content- Read strict UTF-8 text or lossless base64 contentpath(required): File path starting with/encoding(optional):text(default) orbase64max_bytes(optional): Maximum raw bytes to read (default 1 MiB, hard limit 8 MiB)
search_files- Recursively search for files and folders by namepath(required): Search directorypattern(required): Case-insensitive substring of the name (e.g.,invoice,.pdf). Wildcards are not special, DSM matchesreportand*report*identically.
create_file- Create new files with contentpath(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 strictbase64; decoded content is limited to 8 MiB
create_directory- Create new directoriesfolder_path(required): Parent directory path starting with/name(required): New directory nameforce_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 directoriespath(required): Current file pathnew_name(required): New filename
move_file- Move files to new locationsource_path(required): Source file pathdestination_path(required): Destination pathoverwrite(optional): Overwrite existing files
copy_file- Copy a regular file inside the NAS without sending its bytes through the MCP clientsource_path(required): Source file pathdestination_folder(required): Existing destination directory; the filename is preservedoverwrite(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 informationds_list_tasks- List all download tasks with statusoffset(optional): Pagination offsetlimit(optional): Max tasks to return
ds_create_task- Create new download taskuri(required): Download URL or magnet linkdestination(optional): Download folder path
ds_pause_tasks- Pause download taskstask_ids(required): Array of task IDs
ds_resume_tasks- Resume paused taskstask_ids(required): Array of task IDs
ds_delete_tasks- Delete download taskstask_ids(required): Array of task IDsforce_complete(optional): Force delete completed
ds_get_statistics- Get download/upload statistics
🏥 Health Monitoring
synology_system_info- Get system model, serial, DSM version, uptime, temperaturesynology_utilization- Get real-time CPU, memory, swap, and disk I/O utilizationsynology_disk_health- List all physical disks with SMART status, model, temp, sizesynology_disk_smart- Get detailed SMART attributes for a specific disksynology_volume_status- List all volumes with status, size, usage, filesystem typesynology_storage_pool- List RAID/storage pools with level, status, member diskssynology_lun_list- List all iSCSI LUNs with name, UUID, size, type, status and backing volume. To see which target a LUN is attached to, usesynology_target_list- DSM does not report mappings on the LUN side.synology_lun_get- Get details for a single iSCSI LUNname(required): LUN name or UUID fromsynology_lun_listoutput
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 policysynology_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 findingssynology_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 itsuuidandlun_idname,location(e.g./volume2),size(in bytes) requiredtype(optional):thin(default, DSMBLUN),advanced,file, or a raw DSM type name. NotethinandTHINare different: lowercase is the friendly alias forBLUN, 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 ituuidandconfirm: truerequired
synology_target_list- List targets with IQN, auth type, and the LUNs mapped to eachsynology_target_get- Get one target bytarget_idsynology_target_create- Create a target; returns itstarget_idnamerequired;iqndefaults toiqn.2000-01.com.synology:<name>chap_user+chap_passwordenable 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 readingssynology_services- List installed packages and their running statussynology_system_log- Get recent system log entriessynology_health_summary- Aggregate system info, utilization, disk health, and volume status
🐳 Container Manager
synology_container_list- List Container Manager containersoffset(optional): Pagination offsetlimit(optional): Maximum containers to returncontainer_type(optional): Container filter (default:all)
synology_container_health_summary- Summarize container status, health, restart counts, and imagessynology_container_disk_usage- Show the read-only disk-usage summary available through Container Manager APIssynology_container_get- Get a Container Manager containername(required): Container name
synology_container_start- Start a Container Manager containername(required): Container name
synology_container_stop- Stop a Container Manager containername(required): Container name
synology_container_restart- Restart a Container Manager containername(required): Container name
synology_container_delete- Delete a Container Manager containername(required): Container nameforce(optional): Force deletion (default: false)preserve_profile(optional): Preserve Synology container profile (default: true)
synology_container_logs- Get Container Manager container logsname(required): Container namesince(optional): Log start time/filteroffset(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 containername(required): Container name
synology_container_project_list- List Container Manager projectssynology_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 definitionname(required): Project nameshare_path(required): Project folder path on the NAScontent(required): Docker Compose YAML contentenable_service_portal(optional): Enable Synology service portal (default: false)service_portal_name(optional): Service portal nameservice_portal_port(optional): Service portal portservice_portal_protocol(optional): Service portal protocol (default:http)- Saves the Compose definition; call
synology_container_project_buildto materialize it.
synology_container_project_update- Update a Container Manager projectname(required): Project namecontent(required): Docker Compose YAML contentenable_service_portal(optional): Enable Synology service portalservice_portal_name(optional): Service portal nameservice_portal_port(optional): Service portal portservice_portal_protocol(optional): Service portal protocol
synology_container_project_start- Start a Container Manager projectname(required): Project name
synology_container_project_stop- Stop a Container Manager projectname(required): Project name
synology_container_project_restart- Restart a Container Manager projectname(required): Project name
synology_container_project_build- Materialize or rebuild a saved Container Manager projectname(required): Project name
synology_container_project_clean- Clean a Container Manager projectname(required): Project name
synology_container_project_delete- Delete a Container Manager projectname(required): Project name
synology_container_image_list- List Container Manager imagesoffset(optional): Pagination offsetlimit(optional): Maximum images to returnshow_dsm(optional): Include DSM images (default: false)
synology_container_image_get- Get a Container Manager imagename(required): Image repository nametag(optional): Image tag (default:latest)
synology_container_image_delete- Delete a Container Manager imagename(required): Image repository nametag(optional): Image tag (default:latest)
synology_container_image_prune- Remove images unused by any containersynology_container_image_prune_previewprovides 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 imagerepository(required): Image repository nametag(optional): Image tag (default:latest)
synology_container_registry_list- List Container Manager registriessynology_container_registry_search- Search Container Manager registriesquery(required): Image search queryoffset(optional): Pagination offsetlimit(optional): Maximum results to return
synology_container_registry_tags- List tags for a registry imagerepository(required): Image repository nameoffset(optional): Pagination offsetlimit(optional): Maximum tags to return
synology_container_registry_download- Download a registry imagerepository(required): Image repository nametag(optional): Image tag (default:latest)
synology_container_network_list- List Container Manager networkssynology_container_network_get- Get a Container Manager networkname(required): Network name
synology_container_network_create- Create a Container Manager networkname(required): Network namedriver(optional): Network driver (default:bridge)subnet(optional): Subnet CIDRgateway(optional): Gateway IPip_range(optional): Allocatable IP range CIDRenable_ipv6(optional): Enable IPv6 (default: false)
synology_container_network_delete- Delete a Container Manager networkname(required): Network name
📦 NFS Management
synology_nfs_status- Get NFS service status and configurationsynology_nfs_enable- Enable or disable the NFS servicesynology_nfs_list_shares- List all shared folders with their NFS permissionssynology_nfs_set_permission- Set NFS client access permissions on a shared folder