Synology DSM

Synology DSM

Synology DiskStation Manager: system and storage health, shared folders, running tasks, Download Station queue and the file station tree. Session-login auth against your own NAS.

7 天免费 · 无需信用卡 · EU 托管

问 Synology 任何事

通过 AnythingMCP 对 Synology DSM 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 Synology
Synology DSM · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 Synology DSM。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 Synology DSM

Synology 指南

面向主流 AI 客户端的逐步设置。

配置 Synology DSM

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

Setup

  1. In DSM create a user for the integration. Give it read access to the shared folders the agent should see and, if you want the system tools, membership of the administrators group — several SYNO.Core endpoints are admin-only.
  2. Turn off two-factor authentication for that user, or the login call cannot complete. This is the main reason to use a dedicated account rather than your own.
  3. Set SYNOLOGY_URL to your NAS (e.g. https://nas.example.com:5001, no trailing slash), plus SYNOLOGY_USERNAME and SYNOLOGY_PASSWORD.

DSM's session is a sid. The adapter logs in at /webapi/auth.cgi, passing the account and password as query parameters (which is what DSM's auth CGI expects), and passes the returned sid back as a cookie on every call, re-logging in when DSM expires it. AnythingMCP keeps the session encrypted in connector_auth_cache.

The password reaches DSM in a URL, because that is the only thing auth.cgi accepts — so it lands in the NAS's own access log. This is another reason to give the integration its own account rather than reusing yours, and to rotate it like any other credential.

Every call names an API, a version and a method. DSM's Web API is one CGI endpoint per family with api, version and method as query parameters — entry.cgi?api=SYNO.Core.System&version=1&method=info. That is why the tools here look repetitive in the trace; the parameters are what distinguish them.

Success is in the body, not the status code. DSM answers {"success": false, "error": {"code": 105}} with HTTP 200. Code 105 is 'insufficient permission', 119 'session expired', 400 'no such account or wrong password'. A 200 is not a result.

Valid TLS is required, and a fresh DSM does not have it. Synology ships a self-signed certificate; this connector will refuse it. DSM has built-in Let's Encrypt support under Control Panel → Security → Certificate — use it.

Read-only by design: no file writes, no share changes, no package management.

Self-hosted, which is the thing to plan for.

  • On AnythingMCP Cloud the instance must be reachable from the public internet on a real hostname with a valid TLS certificate. A self-signed certificate will fail: the connector offers no trust-anything switch, and a homelab's default certificate is exactly the case that breaks.
  • On an internal host (nas.intern, 10.0.0.x), self-host AnythingMCP on the same network and add that host to SSRF_ALLOWED_HOSTS, or the outbound guard refuses the call before it is made.

你的 AI 距离 Synology DSM 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。