Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables monitoring and control of Syncthing via its REST API, including status, folders, devices, connections, and file operations.

README.md

MCP Server for Syncthing

MCP (Model Context Protocol) server providing tools for controlling and monitoring Syncthing via its REST API.

Features

Monitoring Tools

  • syncthing_get_status - Get overall system status (version, uptime, system info)
  • syncthing_list_folders - List all configured folders with IDs, labels, and paths
  • syncthing_get_folder_status - Get detailed folder status (sync state, errors, byte counts)
  • syncthing_get_folder_errors - Get list of errors for a specific folder
  • syncthing_get_file_info - Get file information (local vs global versions)
  • syncthing_list_devices - List all configured devices
  • syncthing_get_connections - Get current connection status for all devices

Control Tools

  • syncthing_scan_folder - Trigger folder/subfolder scan to detect changes

Installation

1. Install Dependencies

cd ~/mcp-servers/syncthing
npm install
npm run build

2. Set System Environment Variables

Option A: System-wide (Recommended)

Add to /etc/environment: ``bash SYNCTHING_API_KEY="your-api-key-here" SYNCTHING_API_URL="http://localhost:8384" ``

Then logout/login for changes to take effect.

Option B: User profile

Add to ~/.profile (NOT ~/.bashrc): ``bash export SYNCTHING_API_KEY="your-api-key-here" export SYNCTHING_API_URL="http://localhost:8384" ``

Then logout/login for changes to take effect.

Note: ~/.bashrc only works for terminal sessions, not GUI apps like Claude Desktop.

To find your API key:

  • Open Syncthing web UI (usually http://localhost:8384)
  • Go to Actions > Settings > General
  • Copy the API Key

3. Configure Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "syncthing": {
      "command": "node",
      "args": ["/home/zdendys/mcp-servers/syncthing/dist/index.js"]
    }
  }
}

Note: Environment variables are loaded from system, not hardcoded in config.

4. Restart Claude Desktop

The MCP tools will be available in your next Claude Code session.

Usage Examples

Check System Status

syncthing_get_status()

List All Folders

syncthing_list_folders()

Get Folder Status

syncthing_get_folder_status({ folder: "zoaz2-u7tor" })

Check File Information

syncthing_get_file_info({
  folder: "zoaz2-u7tor",
  file: "minecraft/client-mods-1.21.1.zip"
})

Trigger Folder Scan

syncthing_scan_folder({ folder: "zoaz2-u7tor" })
// Or scan specific subfolder:
syncthing_scan_folder({ folder: "zoaz2-u7tor", sub: "minecraft" })

Check Connection Status

syncthing_get_connections()

Troubleshooting

API Key Not Set

If you see: [ERROR] SYNCTHING_API_KEY environment variable is not set

Solution: Make sure environment variable is set in Claude Desktop config.

Connection Refused

If you see: Syncthing API error: connect ECONNREFUSED

Solution:

  • Verify Syncthing is running: ps aux | grep syncthing
  • Check API URL is correct (default: http://localhost:8384)
  • Verify Syncthing web UI is accessible in browser

API Key Invalid

If you see: Syncthing API error: 403 Forbidden

Solution: Double-check your API key in Syncthing settings.

Development

Build

npm run build

Watch Mode

npm run watch

Test Tools Manually

export SYNCTHING_API_KEY="your-key"
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node dist/index.js

Architecture

  • Language: TypeScript
  • MCP SDK: @modelcontextprotocol/sdk
  • API Client: Native fetch API
  • Transport: stdio (standard input/output)

Security Notes

  • API key is loaded from environment variables (never hardcoded)
  • All API communication happens locally (default: localhost:8384)
  • No external network requests
  • Read-only operations are safe; write operations (scan) require user approval in Claude Code

License

MIT

Authors

  • Zdendys (Project Manager)
  • Nyara (AI Assistant)

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Files & Docs servers.