Corner’s MCP tools
For assistant platforms and directory reviewers: how an assistant connects to Corner, the 11 tools it can call, what each one reads or changes, and the errors and limits. Runners can start at Connect your AI. Updated 2026-11-29.
Connecting
- Endpoint:
https://corner.fitness/mcp, MCP over Streamable HTTP. One address for every runner. - Account linking: OAuth 2.1, authorization code with PKCE (S256). The protected resource metadata is at
https://corner.fitness/.well-known/oauth-protected-resource/mcp, and an unauthenticated request gets a 401 that points to it. The authorization server supports dynamic client registration; a fixed client can be issued to a platform that prefers one. - Sign-in: the runner signs in with the account they created in the Corner iPhone app, then allows the assistant on Corner’s consent page. Scopes:
openid,email,profile,offline_access. The access token goes in the Authorization header as a bearer token. - Stopping: the runner can stop sharing with an assistant at any time in Corner’s Settings, and its next request is refused.
Who can use it
- People aged 16 and over, with an iPhone and a Corner account created in the Corner iPhone app. Runs need an Apple Watch.
- A 14-day trial, then a subscription bought in the iPhone app. Nothing is sold through an assistant.
- Before anything is shared, the runner agrees in the app to Corner keeping their health data and allows each assistant. The privacy policy lists what an assistant can see.
- There’s no read-only access: a connected assistant can read and write. Corner asks assistants to propose changes in the chat and save them after the runner says yes.
The tools
Reads change nothing the runner has. Every write is versioned and logged with who made it, so a change never silently overwrites a newer one. Corner has no payments, messages or anything that leaves Corner. Two writes can remove planned workouts: delete_workouts, designated sensitive because what it removes isn’t restored by undoing the call, and save_workouts when it replaces a date range. Treat a save_workouts call with replace as sensitive too. In MCP terms, reads carry readOnlyHint and every write destructiveHint.
| Tool | Type |
|---|---|
get_context | Read |
get_history | Read |
get_workout_results | Read |
get_sync_status | Read |
save_workouts | Write (sensitive with replace) |
save_plan | Write |
update_profile | Write |
skip_workouts | Write |
delete_workouts | Sensitive write |
save_review | Write |
save_note | Write |
get_context · Get context
The runner's current state: today in their time zone, their profile and what Corner doesn't know yet, a short training state, the plan on record, workouts for the next 14 days with ids, versions and Apple Watch status, sessions in the plan not set up yet, notes, the runner's own changes in Corner, and what the watch can run.
- Type: Read.
- Inputs: view ("current"); days_ahead (7 to 63, default 14).
- What it changes: Nothing the runner has. Corner records when it was read, so a later replace can tell what changed since.
get_history · Get training history
90 days from Apple Health, summarised: weekly volume and minutes in each heart-rate zone, load, easy pace, best efforts, resting heart rate, heart rate variability and sleep against the runner's baseline, VO₂ max and other workouts. Also the plan's past weeks against what was run, adherence over 4 weeks, recent runs in brief, gym sessions with each exercise's last sets and records, and notes from the last 28 days.
- Type: Read.
- Inputs: None.
- What it changes: Nothing.
get_workout_results · Get workout results
Finished runs against their plan (distance, time, pace, heart rate, kilometre splits, each interval against its target, time in each zone, conditions, effort and the runner's notes), gym sessions prescribed against done (sets, reps, weights, records), other workouts Apple Health recorded, and reviews and notes on them. GPS routes are never included.
- Type: Read.
- Inputs: start_date and end_date (at most 120 days; default the last 28), or workout_ids (at most 30).
- What it changes: Nothing.
get_sync_status · Get sync status
What is actually on the runner's Apple Watch: each planned run or activity in the next 4 weeks as saved, queued (waiting for the iPhone), scheduled (this version is in Apple's Workout app) or failed (with the reason), and the iPhone's watch status.
- Type: Read.
- Inputs: None.
- What it changes: Nothing.
save_workouts · Save workouts
Adds runs (the iPhone puts them in Apple's Workout app on the watch), gym sessions (logged in Corner's iPhone app) and other activities; changes or moves saved ones; and can replace a date range in one call.
- Type: Write (sensitive with replace).
- Inputs: workouts (at most 60: a new one has date, kind, title and structure; a change has id, version and only what changes); replace (start_date, end_date at most 63 days later, and which activities it may remove).
- What it changes: Creates or changes planned workouts. With replace, planned workouts of those activities in the range that aren't in the call are removed; finished ones stay. All or nothing: a stale version, or a change by the runner in the range since the last get_context, refuses the whole call.
save_plan · Save the plan
Saves the plan on record: weekly targets to race day, each week's sessions on their days, phases, races, paces, assumptions, and a note on why it changed.
- Type: Write.
- Inputs: plan (a whole plan), or weeks and/or details with the plan's version and a note; start_new with the version archives the plan and starts another.
- What it changes: Replaces the weeks or parts sent; the rest of the plan stays. An archived plan is kept. Corner checks the shape, not the training in it.
update_profile · Update the runner's profile
Records what the assistant learns about the runner: goal and race, long-run day, preferred days, runs per week, weekly distance, experience, running only or running and gym, gym equipment, other training, a lasting injury, a known maximum heart rate.
- Type: Write.
- Inputs: Only the fields that change; null clears one.
- What it changes: Replaces those fields. A maximum heart rate changes Corner's heart-rate zones.
skip_workouts · Skip workouts
Marks planned workouts the runner won't do (injury, illness, travel) as skipped, or puts them back.
- Type: Write.
- Inputs: workouts (each by id and version, at most 60); put_back.
- What it changes: A skipped workout stays in Corner as skipped, and a run comes off the watch. put_back restores it as planned. Finished workouts can't be skipped.
delete_workouts · Delete workouts
Removes planned workouts saved by mistake, duplicates, or ones dropped when replanning weeks not yet started.
- Type: Sensitive write.
- Inputs: workouts (each by id and version, at most 60).
- What it changes: Removes them from Corner, and from the watch when the iPhone syncs. Finished runs can't be removed, and the removal stays in the plan's history, but a removed workout isn't restored by undoing the call.
save_review · Save a review
Keeps a short review (at most 600 characters) on a finished run or gym session, which the runner sees under it in Corner.
- Type: Write.
- Inputs: run_id, session_id or workout_id; note.
- What it changes: Replaces an earlier review on that workout. The same review again changes nothing.
save_note · Keep a note
Keeps something the runner said, on a day, a span or a workout, so the next conversation knows it (at most 500 characters).
- Type: Write.
- Inputs: note; date and end_date, or run_id, session_id or workout_id; replaces (an earlier note's id).
- What it changes: Creates a note. With replaces, the earlier note is deleted. The runner sees notes in Corner and can delete them. The same note again changes nothing.
What comes back
Each tool returns a short text summary and the same data as structuredContent, described by its output schema. Dates are the runner’s local dates (YYYY-MM-DD); paces are seconds per kilometre, with formatted text in the runner’s units beside them. A save’s reply has the new ids and versions. After a write that changes planned workouts, Corner sends the runner’s iPhone a silent push so the watch is updated without opening the app.
Errors
A refused call returns a tool result with isError: true and one plain sentence saying what went wrong and what to do next. Writes are all or nothing, so a refused write changes nothing.
| Not signed in | HTTP 401 with a WWW-Authenticate header that points to the resource metadata. Sign in again (or refresh the token). |
| Invalid input | Names the field and what's wrong with it, so the call can be fixed and sent again. |
| Not found | An id Corner doesn't have for this runner. get_context has the current ids and versions. |
| Out of date | The version sent isn't the current one: the runner or another assistant changed it since. Nothing is saved, and the reply carries the current state to check and resend. |
| Sharing not allowed | The runner hasn't allowed this assistant, has stopped sharing, or allowed it before Corner shared as much as it does now. Nothing is read or changed; the runner allows it in the Corner app. |
| Health data not agreed | The runner hasn't yet agreed in the Corner app to Corner keeping their health data. Nothing is read or changed. |
| No access | The account doesn't currently have access. Nothing is read or changed; the runner can check their access in the Corner app. |
| Unexpected | Corner hit a problem and nothing was changed. Try again in a moment. |
Limits
- Corner sets no per-user rate limit. Each request has 60 seconds.
- Up to 60 workouts per
save_workouts,skip_workoutsordelete_workoutscall; a replace covers at most 63 days;get_workout_resultscovers at most 120 days or 30 workouts. - Runs go to the watch up to 14 days ahead. Gym sessions never go to the watch.
Contact
Reviewers can ask for a test account, and platforms for a fixed OAuth client, at hello@corner.fitness. Corner is run by Merilo Ltd.