@trainheroic-unofficial/coach-mcp 1.1.0 → 1.1.1

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 CHANGED
@@ -1,12 +1,12 @@
1
1
  # @trainheroic-unofficial/coach-mcp
2
2
 
3
- Local single-user [MCP](https://modelcontextprotocol.io) server for a TrainHeroic coach — it exposes a [TrainHeroic](https://www.trainheroic.com) coaching account to an AI assistant (Claude Code, Claude Desktop, or any MCP client) as a set of callable tools. It runs on your machine and speaks the MCP stdio transport, so the assistant launches it as a subprocess.
3
+ Local single-user [MCP](https://modelcontextprotocol.io) server for a TrainHeroic coach. It exposes a [TrainHeroic](https://www.trainheroic.com) coaching account to an AI assistant (Claude Code, Claude Desktop, or any MCP client) as a set of callable tools. It runs on your machine and speaks the MCP stdio transport, so the assistant launches it as a subprocess.
4
4
 
5
5
  It reads two environment variables, both required:
6
6
 
7
- - `TRAINHEROIC_EMAIL` and `TRAINHEROIC_PASSWORD` — your existing TrainHeroic login.
7
+ - `TRAINHEROIC_EMAIL` and `TRAINHEROIC_PASSWORD`: your existing TrainHeroic login.
8
8
 
9
- These are your real credentials in plaintext; the config examples below put them in a file or in shell history, so treat them as secrets. For a version that holds credentials server-side behind OAuth, use the hosted server in the [root README](../../README.md).
9
+ These are your real credentials in plaintext; the config examples below put them in a file or in shell history, so treat them as secrets. The hosted server in the [root README](../../README.md) stores credentials server-side behind OAuth if you prefer that model.
10
10
 
11
11
  ---
12
12
 
@@ -26,7 +26,7 @@ claude mcp add trainheroic \
26
26
 
27
27
  ### Claude Desktop / `.mcp.json` / other stdio clients
28
28
 
29
- Put this in your client's MCP config — for Claude Desktop that's `claude_desktop_config.json`
29
+ Put this in your client's MCP config. For Claude Desktop that's `claude_desktop_config.json`
30
30
  (macOS: `~/Library/Application Support/Claude/`; Windows: `%APPDATA%\Claude\`); for a
31
31
  project-scoped Claude Code setup it's `.mcp.json` at the repo root.
32
32
 
@@ -53,13 +53,13 @@ After it connects, ask the assistant something like "list my athletes" to confir
53
53
 
54
54
  The full coaching surface, grouped by area:
55
55
 
56
- - **Reads** — profile, athletes, teams, programs, notifications, analytics catalog
57
- - **Athletes** — invite, archive, restore
58
- - **Teams** — create, rename, delete, manage join codes
59
- - **Analytics** — readiness, 1RM and working-max history, training summary, compliance, lift progress
60
- - **Exercise library** — resolve, search, get, sync, create, forget, stats
61
- - **Workouts** — build a draft, read it back, publish, unpublish, copy, save as template, remove
62
- - **Messaging** — list streams, read, draft, send, delete
56
+ - **Reads**: profile, athletes, teams, programs, notifications, analytics catalog
57
+ - **Athletes**: invite, archive, restore
58
+ - **Teams**: create, rename, delete, manage join codes
59
+ - **Analytics**: readiness, 1RM and working-max history, training summary, compliance, lift progress
60
+ - **Exercise library**: resolve, search, get, sync, create, forget, stats
61
+ - **Workouts**: build a draft, read it back, publish, unpublish, copy, save as template, remove
62
+ - **Messaging**: list streams, read, draft, send, delete
63
63
 
64
64
  A TrainHeroic coach account also has its own athlete-side data, so the athlete training tools (history, workouts, PRs, working maxes) are available here too. Destructive or athlete-facing actions (publish, remove, send, delete, archive) confirm before they run: the server asks the client to confirm, falling back to an explicit `confirm: true` tool argument when the client can't prompt.
65
65
 
package/dist/server.mjs CHANGED
@@ -2994,7 +2994,7 @@ var JsonFileLibraryCache = class {
2994
2994
  };
2995
2995
  //#endregion
2996
2996
  //#region package.json
2997
- var version = "1.1.0";
2997
+ var version = "1.1.1";
2998
2998
  //#endregion
2999
2999
  //#region src/server.ts
3000
3000
  async function main() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trainheroic-unofficial/coach-mcp",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@modelcontextprotocol/sdk": "^1.29.0",
23
23
  "zod": "^4.4.3",
24
- "@trainheroic-unofficial/js": "1.1.0",
25
- "@trainheroic-unofficial/core": "1.1.0"
24
+ "@trainheroic-unofficial/core": "1.1.1",
25
+ "@trainheroic-unofficial/js": "1.1.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^26.0.0",