Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
urlYesThe URL of the Synology NAS DSM (must include the port, e.g. https://nas.example.com:5001). Set during `synology-mcp setup` or in config.json.
tierNoPermission tier: `read` (default, queries only), `write` (files, containers, packages, etc.), or `admin` (also accounts, shares, services, reverse proxy, dsm_write). Tools above the tier are never registered.read
modulesNoEither `all`, or a comma-separated list of modules to expose: system, storage, files, docker, packages, accounts, services, security, network, backup, scheduler, photos, drive, office, downloads, vm, surveillance, generic.
usernameNoThe DSM username to connect as.
allowPowerNoSeparate from the tiers: set to `true` to allow reboot, shutdown and installing DSM updates (`nas_power`, `dsm_update_install`).false
localRootsNoFolders on this computer that upload and download tools may use (comma-separated). Symlinks and `..` are resolved before checking.
sessionNameNoSession name sent at login; `webui` by default. DSM refuses names it doesn't know for non-administrator accounts.webui
instructionsNoExtra text for the model about this NAS (e.g. where backups live, paths requiring confirmation).
maxOutputCharsNoMaximum size of a reply; 40,000 by default.40000
protectedPathsNoNAS paths that no tool may change or delete (comma-separated).
certFingerprintNoPinned fingerprint of the NAS's TLS certificate (e.g. AB:CD:EF:...). Shown and pinned during `setup`; run `synology-mcp trust-cert` if you replace the certificate.
spreadsheetApiUrlNoWhere the Spreadsheet API container listens (enables the `sheet_*` tools). Set by `synology-mcp spreadsheet-setup`.
SYNOLOGY_MCP_TOKENNoToken required when running the server over HTTP. Beyond loopback, the server refuses to start without SYNOLOGY_MCP_TOKEN and SYNOLOGY_MCP_ALLOWED_HOSTS.
SYNOLOGY_MCP_ALLOWED_HOSTSNoAllowed hosts for the HTTP transport when running the server beyond loopback. Required together with SYNOLOGY_MCP_TOKEN.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources