Rename syncthing-mcp to syncthing-blade-mcp
Align naming with the Blade MCP server convention used across the Sidereal platform. Updates package name, console script entry point, Docker configs, deploy script, and documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
8 files changed
+28
-28
No files matched your search
+1
-1
@@ -22,4 +22,4 @@ EXPOSE 8000
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD ["python", "-c", "import httpx; httpx.get('http://localhost:8000/health').raise_for_status()"]
|
||||
|
||||
ENTRYPOINT ["syncthing-mcp"]
|
||||
ENTRYPOINT ["syncthing-blade-mcp"]
|
||||
@@ -1,4 +1,4 @@
|
||||
# syncthing-mcp
|
||||
# syncthing-blade-mcp
|
||||
|
||||
An MCP (Model Context Protocol) server for [Syncthing](https://syncthing.net/) — the open-source continuous file synchronisation tool.
|
||||
|
||||
@@ -116,7 +116,7 @@ See [SKILL.md](SKILL.md) for the complete LLM skill guide.
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
syncthing-mcp/
|
||||
syncthing-blade-mcp/
|
||||
├── src/syncthing_mcp/
|
||||
│ ├── __init__.py # Package version
|
||||
│ ├── __main__.py # Entry point (stdio + HTTP transport)
|
||||
@@ -162,7 +162,7 @@ Every tool accepts an optional `instance` parameter to target a specific node. W
|
||||
"syncthing": {
|
||||
"command": "uv",
|
||||
"args": [
|
||||
"--directory", "/path/to/syncthing-mcp",
|
||||
"--directory", "/path/to/syncthing-blade-mcp",
|
||||
"run", "python", "-m", "syncthing_mcp"
|
||||
],
|
||||
"env": {
|
||||
@@ -196,8 +196,8 @@ The `safe` flag requires: at least one remote device at 100% completion with `re
|
||||
### Install
|
||||
|
||||
```bash
|
||||
git clone https://github.com/piersdd/syncthing-mcp.git
|
||||
cd syncthing-mcp
|
||||
git clone https://github.com/piersdd/syncthing-blade-mcp.git
|
||||
cd syncthing-blade-mcp
|
||||
uv sync
|
||||
```
|
||||
|
||||
@@ -213,7 +213,7 @@ Open the Syncthing web UI → Actions → Settings → API Key.
|
||||
"syncthing": {
|
||||
"command": "uv",
|
||||
"args": [
|
||||
"--directory", "/path/to/syncthing-mcp",
|
||||
"--directory", "/path/to/syncthing-blade-mcp",
|
||||
"run", "python", "-m", "syncthing_mcp"
|
||||
],
|
||||
"env": {
|
||||
@@ -230,7 +230,7 @@ Open the Syncthing web UI → Actions → Settings → API Key.
|
||||
### Streamable HTTP (direct)
|
||||
|
||||
```bash
|
||||
MCP_TRANSPORT=streamable-http MCP_AUTH_TOKEN=secret MCP_PORT=8000 syncthing-mcp
|
||||
MCP_TRANSPORT=streamable-http MCP_AUTH_TOKEN=secret MCP_PORT=8000 syncthing-blade-mcp
|
||||
```
|
||||
|
||||
### Docker + Traefik (HTTPS with ACME/Let's Encrypt)
|
||||
@@ -241,7 +241,7 @@ docker compose up -d
|
||||
```
|
||||
|
||||
This deploys behind Traefik with automatic Let's Encrypt TLS certificates.
|
||||
The MCP endpoint is available at `https://syncthing-mcp.<DOMAIN>/mcp`.
|
||||
The MCP endpoint is available at `https://syncthing-blade-mcp.<DOMAIN>/mcp`.
|
||||
|
||||
### Docker + Cloudflare Tunnel (zero-trust, no open ports)
|
||||
|
||||
@@ -251,7 +251,7 @@ docker compose -f docker-compose.tunnel.yml up -d
|
||||
```
|
||||
|
||||
Create a tunnel at [Cloudflare Zero Trust](https://one.dash.cloudflare.com) → Networks → Tunnels.
|
||||
Point the tunnel's public hostname to `http://syncthing-mcp:8000`.
|
||||
Point the tunnel's public hostname to `http://syncthing-blade-mcp:8000`.
|
||||
Bearer token auth (`MCP_AUTH_TOKEN`) secures the endpoint; `/health` is unauthenticated for probes.
|
||||
|
||||
### Claude Code (remote HTTP)
|
||||
@@ -261,7 +261,7 @@ Bearer token auth (`MCP_AUTH_TOKEN`) secures the endpoint; `/health` is unauthen
|
||||
"mcpServers": {
|
||||
"syncthing": {
|
||||
"type": "streamable-http",
|
||||
"url": "https://syncthing-mcp.example.com/mcp",
|
||||
"url": "https://syncthing-blade-mcp.example.com/mcp",
|
||||
"headers": {
|
||||
"Authorization": "Bearer YOUR_MCP_AUTH_TOKEN"
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SERVER_NAME="syncthing-mcp"
|
||||
SERVER_NAME="syncthing-blade-mcp"
|
||||
DEST="$HOME/.local/share/mcp-servers/$SERVER_NAME"
|
||||
|
||||
# Clean deploy — wipe previous, copy fresh
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
# The /health endpoint is unauthenticated for Cloudflare health probes.
|
||||
|
||||
services:
|
||||
syncthing-mcp:
|
||||
syncthing-blade-mcp:
|
||||
build: .
|
||||
container_name: syncthing-mcp
|
||||
container_name: syncthing-blade-mcp
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
environment:
|
||||
@@ -29,7 +29,7 @@ services:
|
||||
|
||||
cloudflared:
|
||||
image: cloudflare/cloudflared:latest
|
||||
container_name: syncthing-mcp-tunnel
|
||||
container_name: syncthing-blade-mcp-tunnel
|
||||
restart: unless-stopped
|
||||
command: tunnel run
|
||||
environment:
|
||||
@@ -37,7 +37,7 @@ services:
|
||||
networks:
|
||||
- tunnel
|
||||
depends_on:
|
||||
- syncthing-mcp
|
||||
- syncthing-blade-mcp
|
||||
|
||||
networks:
|
||||
tunnel:
|
||||
|
||||
+8
-8
@@ -5,9 +5,9 @@
|
||||
# Copy .env.example to .env and fill in API keys before starting.
|
||||
|
||||
services:
|
||||
syncthing-mcp:
|
||||
syncthing-blade-mcp:
|
||||
build: .
|
||||
container_name: syncthing-mcp
|
||||
container_name: syncthing-blade-mcp
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
environment:
|
||||
@@ -20,12 +20,12 @@ services:
|
||||
- traefik
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.syncthing-mcp.rule: Host(`syncthing-mcp.${DOMAIN:?set DOMAIN in .env}`)
|
||||
traefik.http.routers.syncthing-mcp.entrypoints: websecure
|
||||
traefik.http.routers.syncthing-mcp.tls.certresolver: letsencrypt
|
||||
traefik.http.services.syncthing-mcp.loadbalancer.server.port: "8000"
|
||||
traefik.http.services.syncthing-mcp.loadbalancer.healthcheck.path: /health
|
||||
traefik.http.services.syncthing-mcp.loadbalancer.healthcheck.interval: 30s
|
||||
traefik.http.routers.syncthing-blade-mcp.rule: Host(`syncthing-blade-mcp.${DOMAIN:?set DOMAIN in .env}`)
|
||||
traefik.http.routers.syncthing-blade-mcp.entrypoints: websecure
|
||||
traefik.http.routers.syncthing-blade-mcp.tls.certresolver: letsencrypt
|
||||
traefik.http.services.syncthing-blade-mcp.loadbalancer.server.port: "8000"
|
||||
traefik.http.services.syncthing-blade-mcp.loadbalancer.healthcheck.path: /health
|
||||
traefik.http.services.syncthing-blade-mcp.loadbalancer.healthcheck.interval: 30s
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
[project]
|
||||
name = "syncthing-mcp"
|
||||
name = "syncthing-blade-mcp"
|
||||
version = "0.3.0"
|
||||
description = "MCP server for Syncthing — token-efficient replication management, multi-instance, safe disk-space reclamation."
|
||||
requires-python = ">=3.11"
|
||||
@@ -12,7 +12,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
syncthing-mcp = "syncthing_mcp.__main__:main"
|
||||
syncthing-blade-mcp = "syncthing_mcp.__main__:main"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Entry point for `python -m syncthing_mcp` and the `syncthing-mcp` console script."""
|
||||
"""Entry point for `python -m syncthing_mcp` and the `syncthing-blade-mcp` console script."""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
Reference in new issue
Block a user