Connector guide10-minute read10 MCP tools7 languages

Search a Synology or QNAP NAS with Claude and ChatGPT: Step-by-Step Tutorial

Make the documents on a Synology or QNAP NAS searchable from Claude and ChatGPT in about 20 minutes: SFTP user, File Search wizard (Source, Test, Scan, Describe, Activate), first sync and first question. With screenshots, for AnythingMCP Cloud and self-hosted.

HCBy HelpCode teamUpdated 10 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Synology NAS (File Search)

Synology NAS (File Search)

Search inside the shared folders of a Synology NAS from your AI client over SFTP or WebDAV: full-text index of PDF, Excel, Word and Outlook files, synced in the background.

tools

10

Region

INTL

Category

File Storage

Authentication

Basic Auth

Set up File Search on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Synology NAS (File Search) in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Make the documents on a Synology or QNAP NAS searchable from Claude and ChatGPT in about 20 minutes: SFTP user, File Search wizard (Source, Test, Scan, Describe, Activate), first sync and first question. With screenshots, for AnythingMCP Cloud and self-hosted.

Try asking

Example prompts for Synology NAS (File Search)

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Synology NAS (File Search) · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

TL;DR: Turn on SFTP on the NAS, create a user that can only read one shared folder, and run the File Search wizard in AnythingMCP: it tests the connection, scans the folder, drafts a description for the AI and starts the first sync. Then add your AnythingMCP server to Claude or ChatGPT and ask about the content of your files. The answer names the file, the page and the file's date. Nothing is ever written to the NAS.

Facts
Works withSynology DSM 7, QNAP QTS and QuTS hero, any NAS with SFTP or WebDAV
AI clientsClaude, ChatGPT, Microsoft Copilot, Gemini, Cursor, any client with remote MCP servers
AccessRead-only: the connector lists and reads, it never writes, renames or deletes
FilesPDF, Excel, Word, PowerPoint, Outlook .msg and .eml with attachments, text formats; everything else by name
TimeAbout 20 minutes, plus the first sync
HostingAnythingMCP Cloud (NAS reachable from the internet) or self-hosted (NAS on your network)

Cloud or self-hosted: decide first

The wizard is the same in both. What differs is how AnythingMCP reaches the NAS.

  • AnythingMCP Cloud connects over the internet. The NAS needs SFTP (or WebDAV over HTTPS) reachable from outside, usually a port forwarding on your router. The Cloud refuses addresses in private networks, so 192.168.x.x does not work there. SMB (port 445) is never reached from the Cloud: it does not belong on the internet.
  • Self-hosted AnythingMCP runs in your network and reaches the NAS on its local address, without opening anything to the internet. It can also index a share mounted into the install over SMB or NFS (Network folder); see Search your company file server with AI for that path.

If the files must not leave your network at all, go self-hosted. Only what a tool returns for a question (a list of matches, the text of a page) ever reaches the AI provider.

Step 0 — Prepare the NAS

Create a dedicated user. It needs read access to the one shared folder you want to search, and nothing else. Never use an administrator account.

Synology DSM

  1. Control Panel → File Services → FTP, scroll to SFTP and tick Enable SFTP service (port 22 unless you change it).
  2. Control Panel → User & Group → Create: a user such as ai-reader. Under Assign shared folders permissions give it Read only on the folder, for example Documents, and No access everywhere else.
  3. If you limit applications per user (Application Privileges), allow SFTP for this user.
  4. For AnythingMCP Cloud: forward the SFTP port on your router to the NAS, and restrict the source address where your router allows it.

Prefer WebDAV? Install the WebDAV Server package and use HTTPS (port 5006). The wizard's WebDAV / Nextcloud card takes the address.

QNAP QTS / QuTS hero

  1. Control Panel → Network & File Services → Telnet/SSH: allow SSH and tick Allow SFTP.
  2. Control Panel → Users → Create: a user such as ai-reader with Read only on the shared folder and Deny on the others. Recent QTS versions let you choose which users may sign in over SSH/SFTP; add this user there.
  3. For AnythingMCP Cloud: forward the SFTP port on your router.

On an SFTP login to a NAS, shared folders appear at the top level, so the folder you index is usually /Documents or /Lieferanten, not a volume path such as /volume1/....

Step 1 — Source

In AnythingMCP, open Connectors → New and pick File Search. You can also start from the Marketplace entry Synology NAS (File Search) or QNAP NAS (File Search): they open the same wizard with SFTP and port 22 preset.

anythingmcp.internal/connectors/store
AnythingMCP Marketplace searched for file search: cards for FTP/FTPS (File Search), Network folder (File Search), SFTP (File Search) and WebDAV/Nextcloud (File Search), each with an Install button, followed by other storage connectors
Searching the Marketplace for file search lists the File Search entries; each one opens the wizard instead of an install dialog.
anythingmcp.internal/connectors/new
AnythingMCP New connector page with the connector types Marketplace, REST API, SOAP Service, GraphQL, OData, MCP Server, Database, File Search and Email
File Search is a connector type of its own. It is set up with a wizard instead of an install dialog.

Choose SFTP, or click the Synology NAS or QNAP NAS shortcut. Then fill in:

  • Name: what the folder contains, not the server ("Supplier price lists", "Project archive"). The AI sees it in every tool description.
  • Server and Port: the NAS address (from outside, the address your router forwards) and the SFTP port.
  • User name and Password, or an SSH key.
  • Folder to index: the shared folder. Everything below it is included; you pick subfolders after the scan.
anythingmcp.internal/connectors/new/file-search
File Search wizard, step Source: protocol cards SFTP, FTP/FTPS, WebDAV/Nextcloud, Network folder and S3 bucket, shortcuts for Nextcloud, Synology NAS, QNAP NAS, Fritz!Box and Hetzner Storage Box, and the fields name, server, port, user name, password and folder to index
Step 1 in a self-hosted test install, with an invented folder of supplier price lists. The Network folder card exists only self-hosted.
cloud.anythingmcp.com/connectors/new/file-search
File Search wizard on AnythingMCP Cloud, step Source: protocol cards SFTP, FTP/FTPS, WebDAV/Nextcloud and S3 bucket, a note that the Cloud reaches servers on the internet and that a share in the office network needs SFTP or WebDAV on the NAS or a self-hosted install, and the S3 fields name, endpoint, bucket, region, access key, secret key and folder to index
The same step on AnythingMCP Cloud, here with an S3 bucket as the example (a fictional demo bucket). For a NAS, pick the SFTP or WebDAV / Nextcloud card above it; there is no Network folder card on the Cloud.

Click Test connection.

Step 2 — Test

AnythingMCP connects, signs in and lists the folder before anything is saved. The result is a checklist: server address, reachable, encrypted connection, server identity (SFTP and FTPS), login, folder readable.

cloud.anythingmcp.com/connectors/new/file-search
File Search wizard on AnythingMCP Cloud, step Test: server address, server reachable, encrypted connection, login and folder readable all green, and the message Connected. 43 entries in the folder, followed by invented supplier folders such as Adler Zargen - 70240
A passed test on the Cloud, for the demo bucket. Over SFTP the list has one more check, the server identity.

The first time, the wizard shows the NAS's SSH host key fingerprint. Compare it with the NAS's own host keys (signed in over SSH, ssh-keygen -lf on the .pub files in /etc/ssh/ prints them in the same SHA256 form), or ask whoever runs the NAS, tick I checked this fingerprint and click Confirm and test again. From then on AnythingMCP refuses a different key before it sends the password, which protects you from a server pretending to be yours.

anythingmcp.internal/connectors/new/file-search
File Search wizard, step Test: all six checks green and a box asking to confirm the server's SSH host key fingerprint SHA256 before continuing
All checks pass; the host key is confirmed once and pinned.

When a check fails, the wizard says what to fix:

anythingmcp.internal/connectors/new/file-search
File Search wizard, step Test: address, reachability, encryption and server identity pass, Login fails with the message Login refused. Check the user name and the password or key.
A refused login. Nothing has been saved yet.
Failed checkUsual cause on a NAS
Server reachablePort not forwarded, firewall on the NAS, or SFTP not enabled
This address is in a private networkYou are on the Cloud and entered a LAN address; use the public address, or go self-hosted
LoginWrong password, or the user may not use SFTP (Synology Application Privileges, QNAP SSH access)
Folder readableThe path is not the shared folder name as SFTP sees it, or the user has no read permission

Click Save and continue.

Step 3 — Scan

The scan is a dry run: AnythingMCP lists the whole folder without indexing it and shows files, folders, size and years, a tree with the number of files in each subfolder, and the file types.

  • Archive folders come unticked. Folders named like Alt, Old, Archive… or Backup are excluded, so the AI does not quote an outdated version.
  • Narrow the selection with the folder ticks, the file types and Changed in (an age limit).
  • The budget bar compares the selection with your plan, including the files of your other File Search connectors. If the selection is larger than the plan, you cannot continue until it fits or you upgrade.
cloud.anythingmcp.com/connectors/new/file-search
File Search wizard on AnythingMCP Cloud, step Scan: 507 files in 212 folders, 3.2 MB; selected 339 files, 2.3 MB against an enterprise plan of 50,000 files; 297 with readable text and 42 found by name only; 42 archive folders unticked; a folder list of invented suppliers such as Adler Zargen - 70240 with 12 files each
The scan of the demo bucket on the Cloud. 42 archive folders are unticked automatically; 297 of the selected files have readable text, 42 are found by name only.

Step 4 — Describe

AnythingMCP drafts two texts from the scan, and you edit them:

  • One-line summary, which appears in every tool description, for example "340 documents in 42 folders named <name> - <number>, mostly Excel and PDF, 2024–2026".
  • Instructions for the AI, which every MCP server with this connector passes on: what the folder holds, how folders are named, which tool to use for which question, and what to watch out for.

Without an AI model the draft is built from the folder structure: naming patterns, recurring subfolders, file types, years, language and frequent terms. If an AI model is configured on the server, the wizard can draft it with AI and states exactly what is sent (folder names, file names and the first 2,000 characters of up to 20 sample files, with personal data masked). Add what only you know: "prices are list prices unless the file name says net", "the newest list in a folder is the valid one".

cloud.anythingmcp.com/connectors/new/file-search
File Search wizard on AnythingMCP Cloud, step Describe, written by AI: a one-line summary about price lists from building material and door and window suppliers, instructions on the supplier folders with five-digit codes and their subfolders Preisliste, Konditionen and Korrespondenz, the note that the documents are in German, how to search by supplier, product type, material and article code, and frequent terms such as preise, zarge, glas and kunststoff
A draft written by AI on the Cloud for the demo bucket. It recognised the German documents and the folder pattern; check it and add what only you know before saving. The tool list can differ slightly between versions.

Step 5 — Activate

Choose the tool prefix (the tools are named <prefix>_search, <prefix>_read …), the sync interval your plan allows, and the MCP servers that get the connector. Only roles that have these tools can use them. Click Activate and start the first sync.

cloud.anythingmcp.com/connectors/new/file-search
File Search wizard on AnythingMCP Cloud, step Activate: tool prefix supplier_price_lists, sync daily, three MCP servers to choose from (Sales assistant, Purchasing, Service desk), 339 files (2.3 MB) will be indexed, then synced daily, button Activate and start the first sync
The last step: prefix, sync interval and the MCP servers that get the connector (example server names).

Watch the first sync

The connector's Files tab shows the state while the first sync runs: files indexed against the plan, size, last and next sync, Sync now (a number per day depending on the plan), Pause and Edit selection, and the description the AI receives.

anythingmcp.internal/connectors
Files tab of the File Search connector Lieferanten Preislisten: Active, 463 of 508 files indexed, 3.2 MB, last and next sync, 1,188 of 2,000 files on the trial plan, buttons Sync now, Pause and Edit selection, and the text the AI is told about this folder
The Files tab after the first sync. The panel below lists the recent syncs and the files that could not be read.

Syncing runs in a separate background service. A large first sync does not slow down your AI clients, and search keeps working on the last index while a later sync runs. After that, only new and changed files are read.

Step 6 — Connect Claude or ChatGPT

In MCP Servers, open the server you chose in step 5 and copy its URL.

When you click Connect in Claude, AnythingMCP asks you to confirm. Claude gets the tools your role allows on that server, never your connector passwords or API keys.

cloud.anythingmcp.com
AnythingMCP consent page Connect Claude to AnythingMCP: Claude will be able to use the tools on the MCP server Demo documents that your role allows and read your name and email address, it never sees connector passwords or API keys, access is sent to claude.ai, buttons Cancel and Allow access
The consent page on AnythingMCP Cloud when Claude connects. Click Allow access.

Step 7 — Ask

Start a new chat and ask about the content of your files, not about the NAS:

  • "What does Adler Zargen charge for article AD-24004 in their current price list? Quote the row and name the file and its date."
  • "Which supplier folders have no price list from 2026 yet?"
  • "Summarise the conditions of Brandt Türen: payment terms, minimum order, freight."

Claude asks before it runs a tool. The prompt shows the tool and its arguments: Allow once runs this call, Always allow stops asking for that tool, Decline refuses it.

claude.ai
Claude permission prompt: Claude wants to use Supplier price lists grep from AnythingMCP Demo documents, with the arguments pattern AD-24004 and an intent, and the buttons Decline, Always allow and Allow once
You approve each tool call in Claude, here the exact search for the article number.

The assistant searches the index, opens the page or Excel row that matched and answers with the file name, the page and the file's date. When two documents disagree, it says so and names both instead of picking one silently.

claude.ai
Claude's answer: there are two 2026 price lists for Adler Zargen that disagree on AD-24004. The PDF Preisliste Adler Zargen 2026.pdf, page 1, valid from 01.04.2026, lists AD-24004 Zarge Glas 625 x 1875 at 808.31 EUR; the Excel file Preisliste_2026.xlsx, sheet Preise, row 6, lists a stainless steel interior door at 875.40 EUR. Claude treats the PDF as current because it states a validity date, notes that neither matches the 5 percent increase announced by e-mail, and recommends confirming with the supplier
A real answer from Claude on the fictional demo bucket: both 2026 lists are quoted with file, page or row, the conflict is flagged, and Claude suggests confirming with the supplier before quoting a price.

Plans and limits

On AnythingMCP Cloud, every plan includes File Search within its limits, the 7-day trial too: one source and 500 files on the trial and on Starter (Starter adds File Share links), three sources and 2,000 files on Team, both synced daily, and up to 10 sources, 50,000 files, a sync every 15 minutes, OCR for scans and folder permissions on Enterprise. A File Search source counts as a connector toward your plan's connector limit.

Self-hosted, File Search needs a paid licence or the 30-day trial (which has the Team limits): Starter one source and 500 files, Team three and 2,000, Enterprise unlimited with a sync every 5 minutes, OCR and folder permissions. The free Community edition has no File Search after the trial.

anythingmcp.internal/connectors/new/file-search
Message: Your plan's File Search connectors are in use. The starter plan includes 1 File Search connector, and all are set up. Upgrade, or delete one you no longer need. The team plan includes 3.
When every File Search source of the plan is in use, the wizard says so before you start.

If the folder later outgrows the plan, the sync pauses before downloading anything. The AI keeps searching what is already indexed (and is told that newer files may be missing) until you narrow the selection or upgrade. Compare plans.

FAQ

Is the NAS changed in any way? No. The connector only lists and reads files. There is no tool that writes, renames or deletes, and the NAS user should have read-only rights anyway.

SFTP or WebDAV? Both work. SFTP is built into DSM and QTS and pins the host key; WebDAV over HTTPS is the alternative when SSH is not allowed in your network. The Marketplace entries open the wizard with SFTP.

Do I have to open the NAS to the internet? For AnythingMCP Cloud, yes: forward the SFTP port, ideally restricted by source address. A self-hosted AnythingMCP in the same network reaches the NAS without any port forwarding.

Does AnythingMCP copy the whole NAS? No. It keeps the extracted text of the selected files, not the files. A file is read again only when it changes, or when someone asks for the file itself.

What about scanned PDFs? Scans without a text layer are found by name. Enterprise reads them with OCR.

Can different colleagues see different folders? Yes. Give each folder its own connector and assign it to the right roles, or on Enterprise set folder permissions per role inside one connector.

Was this guide helpful?

Your Synology NAS agent is one click away.

Install the connector, paste the key, prompt your AI client. Free for 7 days, no credit card.

Related guides

Connectors

How to Connect a Synology NAS to ChatGPT

Let ChatGPT search inside the shared folders of your Synology NAS over SFTP or WebDAV: full-text index of PDF, Excel, Word and Outlook files, synced by AnythingMCP File Search. Read-only user, host key pinned.

Connectors

How to Connect a Synology NAS to Claude

Let Claude search inside the shared folders of your Synology NAS over SFTP or WebDAV: full-text index of PDF, Excel, Word and Outlook files, synced by AnythingMCP File Search. Read-only user, host key pinned.

Connectors

How to Connect a Synology NAS to Microsoft Copilot

Let Microsoft Copilot search inside the shared folders of your Synology NAS over SFTP or WebDAV: full-text index of PDF, Excel, Word and Outlook files, synced by AnythingMCP File Search. Read-only user, host key pinned.

Connectors

How to Connect a Synology NAS to Cursor

Let Cursor search inside the shared folders of your Synology NAS over SFTP or WebDAV: full-text index of PDF, Excel, Word and Outlook files, synced by AnythingMCP File Search. Read-only user, host key pinned.

Connectors

How to Connect a Synology NAS to Gemini

Let Gemini search inside the shared folders of your Synology NAS over SFTP or WebDAV: full-text index of PDF, Excel, Word and Outlook files, synced by AnythingMCP File Search. Read-only user, host key pinned.

Connectors

How to Connect a Synology NAS to Muse

Let Muse search inside the shared folders of your Synology NAS over SFTP or WebDAV: full-text index of PDF, Excel, Word and Outlook files, synced by AnythingMCP File Search. Read-only user, host key pinned.