Scan your whole stack
From OX Research Newsroom
Latest version: v0.8.0
dotworkout was last scanned on 30 Nov 2026 at version 0.8.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.8.0 LATEST | 30 Nov 2026 | No rules fired |
Findings for v0.8.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.8.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
An MCP server that lets Claude, ChatGPT and other agents build custom Apple
Watch workouts. Describe the session in plain language and get back a
.workout file the Workout app actually accepts.
Make me a Norwegian 4×4 — four by four minutes in zone 4 with three minute jogs between. Use dotworkout.
Rather build it yourself? The same workouts can be made by hand in the browser app at https://workout.javierferrersb.dev.
Hosted, for anything that cannot run a process — a phone, ChatGPT, or Claude in a browser. Add this as a custom connector; there is nothing to install and no account to make:
https://mcp.javierferrersb.dev/mcp
In Claude that is Settings → Connectors → Add custom connector. In ChatGPT it is Settings → Apps → Advanced → Developer mode.
Local, for Claude Code and other clients
that can spawn one. npx fetches it on first run:
claude mcp add -s user dotworkout -- npx -y @dotworkout/mcp
-s user registers it everywhere rather than in the current directory only.
End the request with use dotworkout so the model reaches for the tools rather than answering from memory:
Build me a swimming pyramid workout and save it to my desktop. Use dotworkout.
8×50 on 1:00 with the last four as build, then 4×100 on 2:00. Use dotworkout.
What targets does an indoor cycle actually support? Build me a 45 minute session using them. Use dotworkout.
All fourteen activities the Workout app offers custom workouts for — swimming, running, cycling, rowing, HIIT, strength, yoga and the rest — with warm ups, cool downs, repeats, time and distance goals, and heart-rate, pace, power and cadence alerts.
Hosted, the server returns a link with the workout encoded inside it. Open it on your iPhone and tap Save the workout; it lands in the Fitness app and syncs to the Watch. Nothing is uploaded and nothing is stored — the link is the workout.
Run locally, it writes the file to a path you give it and prints a QR code that opens the same link on your phone.
The privacy policy covers both the composer and the hosted server.
A model cannot write this format from memory. It is undocumented binary protobuf, and nothing says which goals and alerts each sport allows — ask for a power target on a swim and the Watch rejects the file. So the server gives the agent the real answers instead of letting it guess:
| Tool | Does |
|---|---|
list_activities |
Every activity with the goals and alerts it supports |
describe_activity |
One activity in detail, including unverified combinations |
validate_workout |
Check a workout and say exactly what is wrong |
create_workout |
Build a .workout file |
inspect_workout |
Decode an existing workout and describe it |
The activity rules were read off a real device and live in
constraints/compatibility.json. The format
itself was worked out from 20 real exports, all of which decode with zero
unknown fields and re-encode byte for byte — details in
spec/FORMAT.md.
Every tool, the client quirks, and how to host your own copy on Cloudflare's
free plan are in packages/mcp/README.md.
https://workout.javierferrersb.dev — free, no account, nothing to install. It is also where the server's links open.
Pick a sport and the workout opens as a list of steps — warm up, sets, rests, cool down — under a strip that draws the session's shape. Each step takes a distance or a time, repeats, rest, and a heart-rate, pace, cadence or power target, and only what the Watch supports for that sport is offered.
It is built for the keyboard. S adds a set, each choice is one letter and
Enter moves to the next field, so 8 × 400 m with 90 seconds' rest in zone 4 is
S D 400m 8 90 H Z 4. On a phone every step is a tap.
Download the file on your iPhone and it opens in the Fitness app, or send it
there as a link or a QR code. The workout travels inside the link and nothing
is uploaded. Install the page as an app and it works offline. More in
packages/pwa/README.md.
The server and the app sit on two TypeScript packages you can use on their own.
| Package | What it does |
|---|---|
@dotworkout/mcp |
The MCP server. |
@dotworkout/pwa |
The browser app. Runs entirely on the client. Not published. |
@dotworkout/domain |
Builds and validates workouts. Uses the codec. |
@dotworkout/codec |
Decodes and encodes the binary format. Nothing else. |
@dotworkout/notation |
Parses sets written as text, like 8x50 on 1:00 Build. Not published. |
npm install @dotworkout/domain
That pulls in the codec. Install @dotworkout/codec on its own if all you want
is to read and write files.
import { swim } from "@dotworkout/domain";
const bytes = swim("Thursday threshold")
.warmup(400)
.repeat(8)
.of(50)
.rest(30)
.label("Build")
.repeat(4)
.of(100)
.on("2:00")
.cooldown(200)
.toBytes();
.on("2:00") is the DISTANCE_TIME goal: leave every two minutes no matter how
fast you finish. Most swim sets are written this way. Only swimming offers it.
import { decode, encode } from "@dotworkout/codec";
import { editStepAt, totalDistance } from "@dotworkout/domain";
const workout = decode(bytes);
const totals = totalDistance(workout.customWorkout!);
const edited = editStepAt(
workout,
"custom_workout.interval_blocks[0].interval_steps[0].workout_step",
(step) => {
step.displayName = "Build (fins)";
},
);
encode(edited);
Everything you did not touch comes back byte for byte.
npm test
Builds the packages and runs the suite on Node's test runner. Also:
npm run build — TypeScript only.npm run generate — regenerate the protobuf bindings from proto/ and the
compatibility data from constraints/compatibility.json. Both outputs are
checked in, so a normal build needs neither protoc nor the buf CLI.npm run check — regenerate, then build and test.The Worker at mcp.javierferrersb.dev deploys itself from main once the tests
pass. The npm package goes out in three steps:
In a PR, run npm version <x.y.z> --workspace @dotworkout/mcp --no-git-tag-version
and set VERSION in packages/mcp/src/version.ts and both version fields
in packages/mcp/server.json to match (a test checks they agree). Merge it.
Tag the merge commit and push the tag:
git switch main && git pull
git tag mcp-v0.7.0
git push origin mcp-v0.7.0
CI runs the tests on the tagged commit, then stages @dotworkout/mcp on npm
with trusted publishing (no npm token is stored). A staged version is not
live yet.
Approve it on npmjs.com (the package's staged versions, with two-factor), or
from a terminal with npm stage list @dotworkout/mcp and
npm stage approve <stage-id>. npm stage download <stage-id> fetches the
tarball to look at first, and npm stage reject <stage-id> drops it.
Once it is live on npm, list the new version in the
MCP Registry. The registry checks
the npm package's mcpName, so npm has to come first:
cd packages/mcp
mcp-publisher login github
mcp-publisher publish
brew install mcp-publisher installs the CLI; mcp-publisher validate
checks server.json without publishing.
The job refuses a tag that is not on main, one that does not match the package
version, a version already on npm, and an @dotworkout/* dependency pinned to a
version npm does not have yet. Run node scripts/check-release.mjs mcp-v0.7.0
to see the same checks locally.
@dotworkout/codec and @dotworkout/domain are still published by hand, before
the mcp release that needs them.
For each of the 20 files in testdata/, three assertions:
decode(bytes) matches the paired .jsonencode(decode(bytes)) is byte-identical to the inputThe third one is the point. Protobuf keeps fields it does not recognise and
writes them back out, so nine of these files round-trip perfectly against a
schema that is missing fields. Byte-identical output is not evidence of a
correct schema. Checking for unknown fields is — and the check walks the whole
tree, since SpeedAlert.speed_target sits four levels down.
packages/codec/test/unknown-fields.test.ts is the control. It breaks the schema
at runtime in six of the ten ways the upstream schema was actually broken, and
checks that assertion 3 catches each one. Without that, a passing assertion 3
only proves the schema agrees with itself.
| Kind of rule | Lives in |
|---|---|
| Wire structure | proto/, as protovalidate options |
| Which goals and alerts each sport allows | constraints/compatibility.json |
| Everything else | spec/FORMAT.md |
The compatibility matrix is read at build time into
packages/domain/src/generated/compatibility-data.ts. It is never restated in
TypeScript or in prose. A test recomputes the source file's SHA-256 and fails if
the JSON changed without regenerating.
Entries carry a confidence level. Confirmed ones are enforced: a power alert on
a swim is an error. Unverified ones warn and are still allowed, because the
matrix came off one device on one day, and a combination nobody tested is not a
combination known to be illegal. Being too permissive costs you a file the Watch
declines to import; being too strict costs you a workout you cannot create at
all. validateWorkout(msg, { downgradeToWarning }) takes a list of issue codes,
so you never have to edit the library when the matrix is wrong.
toMeters()
exists for display and is never written back.decode() branches on field 10 (SingleGoalWorkout)
against field 11 (CustomWorkout) and fails with a clear message on anything
else. Pacer and swim-bike-run workouts probably use further fields; when one
turns up, the error asks for a corpus file.spec/FORMAT.md §9 lists what has not been verified. The two that would change
this library most:
PowerAlert.PowerBound.unit. Only ever seen as 1, assumed to be watts.Every question settled so far was settled by exporting another .workout from
the phone and adding it to testdata/.
The protobuf schema started from
changeforan/DotnetWorkoutKit
(MIT), which covers steps, blocks, activities, locations and the
time/distance/open goals. Ten fields and enum values were missing; those
corrections are listed in spec/FORMAT.md §8. No code was taken.
Not affiliated with Apple.
MIT. See LICENSE.
What the probe observed on connect. Fields the probe did not learn are not shown — never guessed.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
This server advertises the tools below. A tool list is an inventory of what the server can do — it is not a finding, and it is not part of the score.
Every activity that can be built, with the goals and alerts each one supports indoors and out. Read this before building a workout: support differs per activity and guessing produces files the Watch rejects.
Goals, alerts and caveats for one activity, from the compatibility matrix read off a real device.
Check a workout against what the activity supports, without building it. Returns every error and warning, each naming the step it is about. Unverified combinations warn rather than fail.
Build a workout and return a link that opens it on the user's iPhone, ready to save into the Fitness app, which sends it to the Watch. Always give the user the markdown link it returns, with the full URL inside. Check list_activities first for what the activity supports.
Decode a dotworkout link and describe the workout inside it, step by step. Takes the link create_workout returned, or one shared from the composer.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.