mcp-synology: Instructions file for Claude Code

CLAUDE.md

mcp-synology CLAUDE.md is an instructions file for Claude Code from cmeans/mcp-synology. It costs 12,844 tokens per session, scanned A, original, Apache-2.0.

An MCP server for Synology NAS devices, which are network-connected computers used for storing and managing files.

In plain words
What is it for?
Use it for supported File Station operations, system-information checks, resource monitoring, authentication, and command-line setup.
Why use it?
It gives an agent a structured way to work with Synology’s DSM system APIs while separating file and system functions.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is cmeans/mcp-synology's own configuration. It tells Claude Code how to work on mcp-synology itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-synology configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cmeans/mcp-synology. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cmeans/mcp-synology/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/cmeans/mcp-synology

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-synology CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cmeans/mcp-synology/claude-md/github.svg)](https://agentmods.dev/instructions/cmeans/mcp-synology/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cmeans/mcp-synology/claude-md"><img src="https://agentmods.dev/badge/instructions/cmeans/mcp-synology/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-synology CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cmeans/mcp-synology/claude-md"><img src="https://agentmods.dev/badge/instructions/cmeans/mcp-synology/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12,844 This file is loaded in full into every session.
When invoked 12,844 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.12844 $0.12844
Opus 5.5 $0.05138 $0.05138
Sonnet 5.5 $0.02569 $0.02569
Haiku 4.5 $0.01284 $0.01284

Measured today against content hash 7a51c1aa5abb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-synology CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 219 lines

How it starts

The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

mcp-synology is an MCP server for Synology NAS devices. It exposes Synology DSM API functionality as MCP tools that Claude can use. Modular, secure (2FA-ready), permission-tiered. Python 3.11+, async throughout, Apache 2.0 licensed.

Current status: v0.11.x — System monitoring (2 tools) + File Station (15 tools) + Synology Photos (19 tools) + Download Station (12 tools) + Storage (11 READ tools, administrator only), CLI, integration and vdsm tests. Every module loads only when it's listed under modules:; setup writes File Station only.

Architecture

Layered design: core → modules → server/CLI.

  • Core (src/mcp_synology/core/): DSM API client (async httpx), auth manager (session lifecycle, 2FA, keyring), YAML+Pydantic config loader, shared response formatters, typed exception hierarchy
  • Modules (src/mcp_synology/modules/): Feature-specific tool handlers. Each module declares MODULE_INFO with API requirements and tool metadata. System (2 tools: get_system_info, get_resource_usage), File Station (15 tools: 7 READ + 8 WRITE), Photos (19 tools: 4 READ + 15 WRITE), Download Station (12 tools: 5 READ + 7 WRITE), Storage (11 READ tools; administrator-only APIs). The README's coverage table and module sections are checked against MODULE_INFO and each settings_schema by tests/test_readme.py: update them in the same PR
  • Server (src/mcp_synology/server.py): MCP server (MCPServer subclass) initialization, module loading, startup
  • CLI (src/mcp_synology/cli/): click-based package with serve, setup, check subcommands

Modules are domain-split: listing.py, search.py, metadata.py, operations.py, helpers.py — grouped by what they do, not permission tier.

Design Specs

Read the relevant spec before implementing. These are the source of truth for design decisions. If the code and a spec disagree, flag it — don't silently deviate. tests/test_module_specs.py fails when a module spec's tools, permission tiers, parameter names or LLM-facing descriptions don't match the code: update the spec in the same PR.

Read the full file on GitHub · 219 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +1 lines · +425 tokens per session 7a51c1aa5abb
  2. yesterday Changed · +1 lines · +854 tokens per session 8cf7201c9c08
  3. 2d ago Changed · +2 lines · +612 tokens per session bba7bd81f3c5
  4. 4d ago Changed · +11 lines · +1,133 tokens per session 375cb3d3573d
  5. 5d ago Changed · +1 lines · +197 tokens per session 8dfa532b1460
  6. 6d ago Changed · +1 lines · +438 tokens per session 89ece976b6c8
  7. 8d ago Changed · +8 lines · +1,152 tokens per session 6e183c4df8be
  8. 11d ago Changed · +1 lines · +394 tokens per session 3097700dd5e4
  9. 13d ago Changed · +3 lines · +538 tokens per session 1482a2b91bc9
  10. 17d ago First seen · 190 lines · 7,101 tokens per session scan A 667d1813b255

Subscribe to this mod's changes

mcp-synology CLAUDE.md is an instructions file published in the GitHub repository cmeans/mcp-synology (14 stars, last pushed today), licensed Apache-2.0. It adds 12,844 tokens to every session, about $0.0514 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

mcp-synology CLAUDE.md compared with instructions from other repositories

mcp-synology CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-synology CLAUDE.mdcmeans/mcp-synologyInstructions file14todayApache-2.0A12,844Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot