marcus 014af1aefe feat: add get_info tool using SYNO.FileStation.List::getinfo
SYNO.FileStation.Stat is absent from this NAS's API registry.
SYNO.FileStation.List::getinfo returns identical data and is confirmed
working.

- tools/filestation.py: new get_info tool — accepts one or more
  comma-separated paths, calls getinfo with real_path/size/time/perm/
  owner/type additional fields, returns a 9-column table
- tests: 6 new tests covering single file, directory, multi-path,
  empty input, DSM error, and correct API method assertion
- SPEC.md: remove SYNO.FileStation.Stat from API table, rewrite get_info
  tool section to reference getinfo, update list_dir note
- CLAUDE.md: update Implemented Tools list

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 09:28:04 +02:00
2026-04-14 07:51:51 +02:00
2026-04-14 07:51:51 +02:00
2026-04-14 07:51:51 +02:00
2026-04-14 07:51:51 +02:00

mcp-synology-filestation

MCP server for Synology FileStation — browse, search, transfer, and manage files on your NAS via Claude.

Status

Work in progress. See SPEC.md for the planned tool set.

Planned Tools

Tool Description
list_shares List all shared folders
list_dir Directory contents with pagination and sorting
get_info File or folder metadata
search Recursive pattern search
download Download a file (base64 content)
create_folder Create a new directory
rename Rename a file or folder
move Move to a new location
copy Copy to a new location
delete Delete a path (requires confirmation)
upload Upload a file from base64 content

Setup

uv tool install git+https://gitea.gecheckt.de/marcus/mcp-synology-filestation.git
mcp-synology-filestation setup

Development

uv sync --dev
uv run pytest
uv run ruff check src/
uv run ruff format src/
S
Description
No description provided
Readme 805 KiB
Languages
Python 100%