feat: add search and download tools

Implements SYNO.FileStation.Search with async polling (exponential
backoff 200ms→2s, 60s timeout) and SYNO.FileStation.Download with
base64 output and a 10 MB size cap.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-14 09:43:48 +02:00
parent 1bccf1e5d2
commit c47221dc8f
3 changed files with 441 additions and 1 deletions
+2
View File
@@ -95,5 +95,7 @@ src/mcp_synology_filestation/
| `list_shares` | List all shared folders with volume usage |
| `list_dir` | List directory contents with pagination and sorting |
| `get_info` | Get detailed metadata for one or more paths |
| `search` | Search for files by glob pattern with async polling |
| `download` | Download a file as base64 (max 10 MB) |
See [SPEC.md](SPEC.md) for the full planned tool set.