CoachHand connector for AI agents

CoachHand connects a person with a fitness coach who writes their training plan. This connector lets a person's own AI agent read that plan, so it can answer "what is my workout today?". It follows the Model Context Protocol (MCP).

MCP server: https://coachhand.com/mcp (add this address to your agent as an MCP server or custom connector; it is not a page to open or read)

Transport: Streamable HTTP. Every answer is plain JSON; there are no streams and no sessions.

Sign-in: OAuth 2.1, authorization code with PKCE (S256).

Tools: one, get_workout. It is read-only.

What the connector can and cannot do

It reads. It never writes: nothing can be logged, changed, sent or bought through it, and no call has a side effect.

It can readIt can never read
The plan the coach assigned: days, exercises, sets, reps, weights, rest and the coach's notes. The person's own exercise swaps. Which days are marked as done. Health screening answers, check-ins, body weight, what was actually lifted, messages, photos and videos, Apple Health data, payments, and anything about any other person.

Who can use it

Signing in

Call the server without a token and it answers 401 with a WWW-Authenticate header that names the metadata. Everything else is discovered from there.

Protected resource metadatahttps://coachhand.com/.well-known/oauth-protected-resource
Authorization server metadatahttps://coachhand.com/.well-known/oauth-authorization-server
Issuerhttps://coachhand.com
Authorization endpointhttps://coachhand.com/oauth/authorize
Token endpointhttps://coachhand.com/oauth/token
Registration endpointhttps://coachhand.com/oauth/register
Revocation endpointhttps://coachhand.com/oauth/revoke
Scopeworkouts:read (the only one)
Resourcehttps://coachhand.com/mcp

The tool: get_workout

Returns what the coach planned for one day, and an outline of that training week.

ArgumentTypeMeaning
date (required)string, YYYY-MM-DDThe day to look up, in the person's own time zone. For "today", pass today's date where the person is, not the UTC date.
time_zone (optional)stringThe person's IANA time zone, such as America/New_York.

Annotations: readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false.

The answer

The result has the answer twice: as words in content, and as data in structuredContent. The data always has date and status.

statusMeaning
workoutA workout is planned. day.exercises lists it.
rest_dayThe coach planned a rest day. day.coach_note may say what to do.
recovery_dayNothing is planned: a day between sessions.
not_startedThe coach sent a plan and the person has not started it in the app yet.
before_startThe date is before the day the plan started.
no_planThere is no active plan: no coach yet, no plan sent yet, or coaching has ended.
FieldMeaning
coach, plan, plan_notesThe coach's name, the plan's title, and the coach's notes for the whole plan.
weekday, week_number, plan_weekThe day of the week, which week of training this is for the person, and which week of this plan.
day.title, day.focus, day.coach_note, day.doneThe day's name, its focus, the coach's note for it, and whether the person marked it as done.
day.exercises[]In order. Each has name, sets, reps (text, such as 8-10 or 30 sec), and when given: weight with weight_unit (lb or kg), rest_seconds, note, circuit (a letter; exercises with the same letter are done back to back), each_set (when sets differ) and in_place_of (when the person swapped the coach's exercise for this one).
week[]The seven days of that training week: date, weekday, kind (workout, rest or recovery), title, done. A training week runs from the day the person started, so it need not begin on a Monday.

Example

POST https://coachhand.com/mcp
Authorization: Bearer cha_…
Content-Type: application/json

{"jsonrpc": "2.0", "id": 1, "method": "tools/call",
 "params": {"name": "get_workout", "arguments": {"date": "2026-11-25"}}}
{"jsonrpc": "2.0", "id": 1, "result": {
  "isError": false,
  "content": [{"type": "text", "text": "Wednesday, 2026-11-25: Lower A (week 3 with Maya Chen, plan \"Strength Week\") …"}],
  "structuredContent": {
    "date": "2026-11-25", "status": "workout",
    "coach": "Maya Chen", "plan": "Strength Week",
    "weekday": "Wednesday", "week_number": 3, "plan_week": 3,
    "day": {"title": "Lower A", "focus": "Squat and hinge", "done": false,
      "exercises": [
        {"name": "Back Squat", "sets": 4, "reps": "6", "weight": 185, "weight_unit": "lb", "rest_seconds": 150},
        {"name": "Romanian Deadlift", "sets": 3, "reps": "8-10", "weight": 135, "weight_unit": "lb", "rest_seconds": 120,
         "note": "Slow on the way down."}
      ]},
    "week": [
      {"date": "2026-11-24", "weekday": "Tuesday", "kind": "workout", "title": "Upper A", "done": true},
      {"date": "2026-11-25", "weekday": "Wednesday", "kind": "workout", "title": "Lower A", "done": false},
      {"date": "2026-11-26", "weekday": "Thursday", "kind": "rest", "title": "Rest day", "done": false}
    ]
  }
}}

The example is shortened: week always has seven days.

Errors

What happenedWhat comes back
No token, or one that is wrong, expired or disconnectedHTTP 401 with WWW-Authenticate: Bearer resource_metadata="…", and error="invalid_token" when a token was sent
date missing or not a real dayA normal result with isError: true and words saying what to send
Unknown toolJSON-RPC error -32602
Unknown methodJSON-RPC error -32601
Not JSON, a batch, or not JSON-RPC 2.0HTTP 400 with -32700 or -32600
A protocol version we do not speakHTTP 400 with -32022 and the versions we do speak
A required MCP header missing or different from the body (2026-07-28)HTTP 400 with -32020
GET or DELETE on the endpointWithout a valid token: 401 as above, with a pointer to this page. With one: 405, because there are no streams or sessions. A browser is sent to this page
Token endpoint: wrong, expired or reused code or refresh tokenHTTP 400 with invalid_grant

Protocol versions and limits

Contact

Questions, or to have a client listed: no-reply@coachhand.com. Privacy: coachhand.com/privacy.