Files
syncthing-blade-mcp/docker-compose.tunnel.yml
T
Claude 41f1018477 Token-efficient output, SKILL.md, Cloudflare Tunnel, new tools (v0.3.0)
Major improvements following best-in-class MCP patterns:

- Token efficiency: new formatters.py with compact JSON (no indent),
  short device IDs, character-limit truncation; all read tools gain
  concise=true (default) / concise=false toggle via ReadParams base
- Models: ReadParams/WriteParams hierarchy replaces flat models;
  backward-compatible aliases preserved for tests
- New tools: syncthing_remote_need (debug remote sync gaps),
  syncthing_device_stats (per-device statistics)
- SKILL.md: LLM skill guide with token rules, quick-start table,
  workflows, tool reference, and troubleshooting
- Cloudflare Tunnel: docker-compose.tunnel.yml for zero-trust HTTP
  deployment alongside existing Traefik/ACME support
- Fix duplicate dependencies in pyproject.toml; bump to v0.3.0

https://claude.ai/code/session_018efEinU8ypT2jHeex6o9PC
2026-02-17 03:44:48 +00:00

45 lines
1.1 KiB
YAML

---
# Syncthing MCP — Cloudflare Tunnel deployment
#
# Exposes the MCP server via a Cloudflare Tunnel (zero-trust, no open ports).
# Requires a Cloudflare Tunnel token — create one at:
# https://one.dash.cloudflare.com → Networks → Tunnels → Create
#
# Usage:
# docker compose -f docker-compose.tunnel.yml up -d
#
# The tunnel routes traffic to the MCP server on port 8000.
# Bearer token auth (MCP_AUTH_TOKEN) secures the MCP endpoint.
# The /health endpoint is unauthenticated for Cloudflare health probes.
services:
syncthing-mcp:
build: .
container_name: syncthing-mcp
restart: unless-stopped
env_file: .env
environment:
MCP_TRANSPORT: streamable-http
MCP_HOST: "0.0.0.0"
MCP_PORT: "8000"
expose:
- "8000"
networks:
- tunnel
cloudflared:
image: cloudflare/cloudflared:latest
container_name: syncthing-mcp-tunnel
restart: unless-stopped
command: tunnel run
environment:
TUNNEL_TOKEN: ${CLOUDFLARE_TUNNEL_TOKEN:?set CLOUDFLARE_TUNNEL_TOKEN in .env}
networks:
- tunnel
depends_on:
- syncthing-mcp
networks:
tunnel:
driver: bridge