Skip to main content
Glama
miku233333

Synology NAS MCP

by miku233333

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DSM_URLNoBase URL of the Synology DSM (must be HTTPS, e.g., https://nas.example.net:5001).
NAS_GIDNoNumerical GID of a DSM user with read access to the shared folder. Do not use root.
NAS_UIDNoNumerical UID of a DSM user with read access to the shared folder. Do not use root.
DSM_PASSWORDNoDSM service account password. Use single quotes in .env if it contains $ or #.
DSM_USERNAMENoDSM service account username for monitoring features.
DSM_CA_BUNDLENoContainer-internal path to a custom CA bundle file for DSM certificate verification (e.g., /certs/ca.pem).
MCP_TRANSPORTNoTransport protocol. Use 'stdio' for local direct execution; defaults to 'streamable-http'.streamable-http
NAS_DATA_ROOTNoPath to the shared folder when running in stdio mode (e.g., /path/to/shared-folder). Alternative to NAS_SHARE_PATH for direct executions.
MCP_AUTH_TOKENNoBearer token for HTTP transport. Required for streamable-http. Must be at least 32 visible ASCII characters.
NAS_SHARE_PATHNoAbsolute path to the existing shared folder mounted read-only and exposed to the MCP client (host path).
DSM_PASSWORD_FILENoPath to a file containing the DSM password (alternative to DSM_PASSWORD).
MCP_ALLOWED_HOSTSNoAllowed Host header values when running directly. Defaults to localhost/Docker service name.localhost
NAS_MAX_FILE_BYTESNoMaximum file size in bytes for reading (default 2 MiB).2097152
NAS_MAX_TEXT_CHARSNoMaximum number of text characters returned from file reads (default 50000).50000
MCP_AUTH_TOKEN_FILENoPath to a file containing the MCP auth token (alternative to MCP_AUTH_TOKEN).
CONTROL_PLANE_API_KEYNoOpenAI Platform API key required only for the optional Secure MCP Tunnel (ChatGPT integration).
NAS_ALLOWED_CONTAINERSNoComma-separated list of exact container names allowed for container control (e.g., demo-web,media-indexer).
NAS_MAX_SEARCH_ENTRIESNoMaximum number of entries scanned during a search or directory listing (default 10000).10000
CONTROL_PLANE_TUNNEL_IDNoOpenAI Secure MCP Tunnel ID required only for the optional ChatGPT integration.
NAS_DOWNLOAD_DESTINATIONNoDestination folder for downloads in Download Station 'shared_folder/subfolder' format (e.g., Downloads/MCP).
NAS_ENABLE_DOWNLOAD_ACTIONSNoSet to 'true' to enable download management tools. Defaults to false.
NAS_ENABLE_CONTAINER_ACTIONSNoSet to 'true' to enable container control tools. Defaults to false.

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

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_filesA

List a shared directory using a relative path and bounded pagination.

search_filesA

Find files by name inside the shared directory; not a full-text search.

read_fileA

Read bounded text from a shared text, PDF or DOCX file. No OCR.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: listing directory contents, searching by filename, and reading file contents. There is no overlap or confusion between the three operations.

Naming Consistency5/5

All tool names follow the same verb_noun snake_case pattern (list_files, search_files, read_file). The convention is perfectly consistent and predictable.

Tool Count5/5

Three tools is a well-scoped set for a focused read-only file access server. Each tool covers a distinct necessary action and none are redundant.

Completeness3/5

The server covers reading and locating files, but lacks write/upload, delete, move, or binary file handling. For a NAS-oriented server these are notable gaps, though basic read-only workflows are supported.

Maintenance

ActivityMaintained
ResponsivenessNo issues