@sailsync/mcp 0.6.4 → 0.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -2
- package/dist/sailsync-mcp.cjs +42 -14
- package/package.json +14 -5
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Connect your AI assistant to the sailing data your SailSync subscription can access. Discover sessions and event days, read saved race metrics and GPS, use FLO with your credits, and optionally import files or recalculate sessions you own.
|
|
4
4
|
|
|
5
|
-
Requires Node.js 22+ and a
|
|
5
|
+
Requires Node.js 22+ and a SailSync account (Standard, Racer or Gold). Create a personal token at https://www.sailsync.io/integrations. Store it in your client's secret environment settings as `SAILSYNC_API_TOKEN`; do not paste it in chat, a URL or a shared configuration.
|
|
6
6
|
|
|
7
7
|
Configure an MCP client that supports local stdio servers to run:
|
|
8
8
|
|
|
@@ -11,7 +11,7 @@ Configure an MCP client that supports local stdio servers to run:
|
|
|
11
11
|
"mcpServers": {
|
|
12
12
|
"sailsync": {
|
|
13
13
|
"command": "npx",
|
|
14
|
-
"args": ["-y", "@sailsync/mcp@0.6.
|
|
14
|
+
"args": ["-y", "@sailsync/mcp@0.6.9"]
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -28,3 +28,44 @@ Example prompts:
|
|
|
28
28
|
The server never asks for your SailSync password. Revoke or replace a connection from the integrations page. Report generation tools are not included yet.
|
|
29
29
|
|
|
30
30
|
This package contains only the standalone bridge and its embedded public API contract; it does not need a Rails checkout or additional runtime dependencies.
|
|
31
|
+
|
|
32
|
+
## Track files (0.6.5)
|
|
33
|
+
|
|
34
|
+
`uploadOwnedSailSyncTrackFile` accepts an absolute `file_path`, target `session_id`, `label`, `file_format` (`csv`, `gpx`, `vkx`, `vtk`) and stable `idempotency_key`. Optional `timezone` handles naive CSV timestamps. The local bridge opens only that selected regular file (no URL, symlink, directory or archive), checks the 20 MiB raw limit, and sends multipart directly to SailSync. File contents do not enter MCP JSON. All GPS points must fit the session's time window. Imports require `sessions:write` and ownership; they do not automatically recalculate metrics. Existing account input budgets are shared across connections (32 MiB/hour, 128 MiB/day).
|
|
35
|
+
|
|
36
|
+
For hosted MCP, use `beginSailSyncTrackFileUpload` with the raw byte size and SHA-256 plus the same metadata. It returns a ten-minute upload URL and an encrypted `authorization` value bound to the file, account, session and idempotency key. A client with file-transfer capability sends only the `file` multipart field, using that value as its Authorization header. The HTTP response is the final import receipt. Repeated identical uploads reuse it; after expiry obtain another permission with the same key. Parent connection revocation, subscription and ownership checks still apply. Do not paste temporary permissions into shared logs or chats. Hosted connectors without out-of-band file transfer cannot upload local attachments automatically.
|
|
37
|
+
|
|
38
|
+
The legacy `importSailSyncTrack` inline CSV tool retains its 1 MiB limit for compatibility. Wind imports still use normalized JSON observations; generic wind files are not part of this release.
|
|
39
|
+
|
|
40
|
+
## Account limits (0.6.7)
|
|
41
|
+
|
|
42
|
+
Standard includes API/MCP access. Data-operation limits are 10/minute, 60/hour and one concurrent operation on Standard; 30/minute, 300/hour and two concurrent operations on Racer; 60/minute, 1,200/hour and four concurrent operations on Gold. Daily safety ceilings are four times the hourly allowance. Limits aggregate across tokens and REST/MCP connections; changing plans does not reset counters. Existing account/global byte budgets still apply. Read your current limits with `getSailSyncAccount`. On a rate error, wait `retry_after` seconds before retrying; do not launch additional parallel retries. FLO credit, ownership, scope and event-day access checks remain in place.
|
|
43
|
+
|
|
44
|
+
## Wind estimation preview (0.6.7)
|
|
45
|
+
|
|
46
|
+
`previewSailSyncLegWind` previews a saved race leg on an owned session using `session_id`, `race_id`, `leg_index` and optional `boat_ids`. It requires `data:read` and `compute:write`, current saved analysis and the separately deployed wind-estimation backend. It returns evidence and uncertainty without modifying wind. Unchanged previews are cached; new calculations share existing compute limits. The separate reviewed Apply operation is described below; automatic upload processing is not included.
|
|
47
|
+
|
|
48
|
+
## Reviewed wind application (0.6.8)
|
|
49
|
+
|
|
50
|
+
`applySailSyncLegWind` requires `data:read`, `compute:write` and `sessions:write`. Explicitly confirm a supported cached preview, supply matching input/wind versions and reuse a stable idempotency key. Only the leg interval direction changes; speed and surrounding wind are preserved. Manual/legacy/measured directions are protected, unsupported or expired previews are refused. It never computes or recalculates implicitly. Automatic wind application remains disabled.
|
|
51
|
+
|
|
52
|
+
## Bounded wind comparison (0.6.9)
|
|
53
|
+
|
|
54
|
+
`previewSailSyncWindLegs` accepts a `session_id` and 1–4 `legs` with the same race/leg/optional boat selections as single preview. Combined sources are capped at 24 boats. Missing previews share one bounded source read/computation; cached results are reused. Review any result through the ordinary explicit Apply flow. Applying one result invalidates the others; bulk Apply is not included. This requires the batch-capable Lambda and web deployment.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Training wind proposals
|
|
58
|
+
|
|
59
|
+
`previewSailSyncTrainingWind` accepts an owned finished `session_id` and 1–4 saved `lineup_ids` (numeric IDs from lineup scopes, without the `comment_` prefix). It returns a private, versioned proposal with a receipt; retries reuse unchanged results. It uses the same fleet-only v2 estimator as race-leg previews. Unclassified, interrupted, mixed, one-sided or sparse evidence can abstain. This first stage supports saved lineups only.
|
|
60
|
+
|
|
61
|
+
No session wind is changed, no recalculation is requested, and automatic adoption is disabled. Training results have no race ID or effective Apply range and cannot be submitted to race-leg Apply. It requires both the training-capable dedicated Lambda and Rails deployment. This package version is prepared locally; publishing is a separate release step.
|
|
62
|
+
|
|
63
|
+
### Wind CSV inspection and remembered settings
|
|
64
|
+
|
|
65
|
+
`inspectSailSyncWindCsv` returns column/timezone suggestions, their source, searchable timezone IDs, exact-schema account defaults and supported interpretation choices for CSV content up to 256 KiB. Stdio `inspectSailSyncWindFile` accepts one explicitly selected regular local CSV up to 20 MiB and sends multipart. Inspection does not import or apply wind. Hosted MCP cannot access a local file path.
|
|
66
|
+
|
|
67
|
+
Use `getSailSyncWindImportDefaults` to read your defaults, optionally matching an ordered `headers` array. `saveSailSyncWindImportDefaults` / `clearSailSyncWindImportDefaults` require explicit user approval, `sessions:write` and a current `expected_revision`; on conflict read before retrying. Suggestions and matching headers never verify units, clock settings or wind reference. Keep import and Apply as separate explicit decisions. Version 0.6.11 is prepared locally pending web deployment and a separate npm release.
|
|
68
|
+
|
|
69
|
+
### Direction-filtered comparisons (prepared release)
|
|
70
|
+
|
|
71
|
+
Use getSailSyncLineupStats with direction upwind/downwind/reach/mixed/unknown to filter saved lineups before paging. Repeat direction and expected_snapshot for continuation. Use getSailSyncAnalysis with the same direction choices to discover matching race legs, then getSailSyncRaceResults or getSailSyncRaceFacts with returned race id, leg_index and canonical snapshot. These are saved classifications relative to their analysis reference, not measured wind or inferred drill intent. Historical lineups without retained labels return unknown until recomputed. Requires the corresponding backend release. This embedded-contract client is prepared locally; npm publication is separate.
|