NodeMCP
Linux · REAL-WORLD USE CASES

Sync Your Files Privately Across Linux, Windows and Phones with Syncthing

Build a private peer-to-peer file sync with Syncthing and NodeMCP: device pairing, conflict copies, versioning, Android support, privacy and safe recovery.

Nov 21, 2026 9 min read
Sync Your Files Privately Across Linux, Windows and Phones with Syncthing
Want to try NodeMCP on your device? Try NodeMCP free

You edit a design on your Windows laptop, check notes on a Linux workstation, then want the latest project folder on a second computer. Instead of emailing ZIP files to yourself or paying for another storage plan, Syncthing can keep selected folders synchronized directly between devices you approve. A small authorized Linux home server can act as an always-on peer while NodeMCP helps an AI assistant inspect it and explain the setup. The files remain on devices you control rather than requiring a central third-party file store. Yet 'automatic sync' has sharp edges: a mistake can travel as quickly as a useful update. The win is controlled convenience with a tested recovery plan, not a promise of an indestructible backup.

Begin with two devices and a disposable folder

Set up a small trial: a Linux desktop or VPS and a second machine running Windows or macOS. Create a folder with harmless files named notes.txt, ideas.md and sample-photo.jpg. Before sharing it, copy those files to a separate backup directory outside any synchronized path. Pair the devices by verifying the long device ID or QR code over a trusted channel, approve the relationship on both sides, then share only the intended folder. Confirm the destination path before accepting the invitation: pointing at a folder already full of unrelated data creates surprising merges. Wait until both devices show an up-to-date state, then change one sentence in notes.txt and watch it arrive.

Syncthing is synchronization, absolutely not a backup

Syncthing's own documentation explains that modifications and deletions propagate through the cluster. If ransomware encrypts shared files, an impatient user deletes a project folder, or an application silently corrupts documents, those changes can spread. Owning three copies of the latest broken file is not equivalent to having historical recovery points. Maintain separate versioned backups on an independent device or encrypted off-site repository, inaccessible to ordinary sync clients. Test recovery of a file deleted last week, not merely seeing two green synchronized devices. For irreplaceable work, keep a trusted offline or immutable copy, and never place the sole backup inside the folder being synchronized.

Choose folder modes intentionally

Send & Receive is the typical two-way mode: changes move in both directions and so can deletions. Send Only lets a source device publish changes while treating incoming peer edits as out-of-sync rather than applying them automatically; Receive Only is useful for a target that should not publish its local edits. These labels are not permission-free protection or a substitute for snapshots: local changes, reset/revert actions and misconfiguration can still cause surprises. Decide which device is authoritative for your camera exports or configuration templates, and test edits made on the wrong side. Don't put two independent master copies of a live database in an ordinary shared folder.

Know what happens when both people edit the same file

You change a spreadsheet offline on one laptop while a colleague changes the same spreadsheet on another. When the devices reconnect, Syncthing may create a file with a sync-conflict suffix rather than merging the content semantically. That is safer than silently discarding everything, but the software cannot decide which invoice total, Markdown paragraph or spreadsheet formula is correct. Compare both versions and reconcile manually using the application's own merge behavior where possible. Syncthing is not a real-time collaborative editor, and conflicting directory names, case sensitivity or forbidden characters can also behave differently across Windows, Linux and macOS. Run a deliberate conflict experiment with two harmless text files before trusting it for a team.

Versioning helps with peer changes, but only if enabled and understood

Syncthing provides file versioning options such as Trash Can, Simple and Staggered. They can archive certain local files that are overwritten or deleted due to incoming changes, depending on the folder settings. File versioning is not enabled by default, and it is not a full system backup; locally made edits and deletions may not be captured in the way a beginner expects. Put versions on a storage location with sufficient capacity, understand retention and practice restoring a specific previous revision. Enable a conservative strategy on a test receiving device first, then simulate a remote deletion, inspect .stversions if applicable and recover a sample file. Keep a separate true backup anyway.

Make Android and iPhone expectations realistic

The original official Syncthing Android wrapper was discontinued after the December 2024 release. Community-maintained alternatives, including Syncthing-Fork, can work, but check the current maintainer, releases, permissions, battery behavior and trusted distribution source before installing. Android background restrictions may pause synchronization until the app can run, especially on cellular data or battery saver. iOS has stricter background execution rules and does not have an equivalent always-on official Syncthing application; evaluate any third-party compatible client against its actual feature limits. Do not assume that 'Syncthing on the phone' means continuous, bidirectional, instant uploads on every OS. For photos, keep the phone's original gallery and a separate recovery copy.

Understand encrypted transport, device trust and discovery

Syncthing uses authenticated device identities and encrypted connections between peers; approve device IDs carefully instead of pairing with an unknown requester. Local discovery, global discovery and public relay services are separate functions. A relay can carry encrypted traffic when direct connectivity fails, but infrastructure operators may still observe connection metadata such as IP addresses and device identifiers. Turning off public discovery and relays can improve privacy for LAN-only use, at the cost of easier remote connectivity. If devices connect across a VPN, test explicit addresses and traffic routing instead of blindly opening public ports. Sharing a folder grants peers access to its synchronized contents; grant only the folders each peer truly needs.

Deploy the Linux peer without exposing its management interface

On an authorized Linux host, review the current Syncthing version and whether the package or official Docker image suits your service management plan. The upstream Docker instructions note that ordinary bridge networking can complicate local peer discovery; host networking is sometimes useful but changes the host's network exposure and must be approved. Persist the Syncthing configuration, database and explicit synchronized data directories, align UID/GID ownership and avoid granting unrelated host filesystem access. Syncthing's GUI commonly uses port 8384, synchronization port 22000 and discovery port 21027/UDP; check the current configuration before opening anything. Keep the GUI loopback-only or behind a secure private VPN or authenticated HTTPS proxy, enable GUI credentials where appropriate, and never publish it openly just because the sync protocol uses encryption.

Learn the consequences of ignore rules, symlinks and filesystem differences

Use .stignore rules for caches, temporary editor files, build directories and large outputs that do not belong on all peers, but test them before enabling sync: an ignored folder is not automatically backed up anywhere. Windows and macOS differ from Linux in case handling, valid filenames, permissions, symlink behavior and path lengths. Check representative filenames and access bits before synchronizing a project across operating systems. Files changed while applications still hold them open may not represent a consistent application state; do not sync live PostgreSQL, MariaDB, browser profiles or virtual machine disks as if they were ordinary documents. Export an application-consistent snapshot first, then sync that export if suitable.

Prove safe deletion recovery before moving your real work

Connect two owned devices through NodeMCP where supported and ask AI for a read-only inspection of available disk, folder ownership, network/firewall rules and existing backups. After approval install or configure Syncthing only for a sandbox folder with three fake files, pair the trusted IDs, verify a normal edit, then create a simultaneous-edit conflict. Enable file versioning on the receiving test folder, delete one test file from the other peer, and recover it manually; separately restore it from an independent encrypted backup to prove the difference. Review mobile client support and notification behavior if phones are involved, then measure the impact of LAN-only versus relay discovery. Stop and document any unexpected propagation. Only after all tests pass should you choose a narrow real folder, with the original data kept safely outside synchronization.

Try this practical NodeMCP prompt

I own or administer authorized devices [LINUX_DEVICE] and [SECOND_DEVICE] and want Syncthing for [NON-SENSITIVE TEST FOLDER] across Linux/Windows/macOS and optionally Android. START READ ONLY: inspect OS, free disk, permissions, current backups, ports, firewall, Docker or official packages and local/VPN networking. Review current official Syncthing docs and mobile support: the original official Android wrapper was discontinued after December 2024, so evaluate actively maintained community Android clients separately and never promise uninterrupted iOS background sync. Propose private GUI access (do not expose port 8384 publicly), exact device-ID verification, limited folder sharing, local/global discovery vs relay privacy and approved network changes. After my approval set up ONE disposable shared folder with three dummy files, perform a normal edit, a simultaneous conflicting edit, a deletion and a restore using file versioning. Explain send-receive, send-only, receive-only and that file versioning does NOT equal independent backup. Use a separate encrypted off-site backup and verify actual recovery before any real data are shared. Never sync live databases, VM images, browser profiles, secrets or irreplaceable originals without a tested app-aware export and explicit approval. Protect /config and keys, test restart, and record rollback steps.

Official documentation

NodeMCP — documentation and getting started

Try this prompt

I own or administer authorized devices [LINUX_DEVICE] and [SECOND_DEVICE] and want Syncthing for [NON-SENSITIVE TEST FOLDER] across Linux/Windows/macOS and optionally Android. START READ ONLY: inspect OS, free disk, permissions, current backups, ports, firewall, Docker or official packages and local/VPN networking. Review current official Syncthing docs and mobile support: the original official Android wrapper was discontinued after December 2024, so evaluate actively maintained community Android clients separately and never promise uninterrupted iOS background sync. Propose private GUI access (do not expose port 8384 publicly), exact device-ID verification, limited folder sharing, local/global discovery vs relay privacy and approved network changes. After my approval set up ONE disposable shared folder with three dummy files, perform a normal edit, a simultaneous conflicting edit, a deletion and a restore using file versioning. Explain send-receive, send-only, receive-only and that file versioning does NOT equal independent backup. Use a separate encrypted off-site backup and verify actual recovery before any real data are shared. Never sync live databases, VM images, browser profiles, secrets or irreplaceable originals without a tested app-aware export and explicit approval. Protect /config and keys, test restart, and record rollback steps.

Illustrative workflow, not a record of completed tasks. Review privileged actions and keep backups.

Our ecosystemExplore partners ↗
✓
Copied