@trainheroic-unofficial/coach-mcp 0.1.0 → 0.2.0
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 +4 -13
- package/package.json +4 -8
package/README.md
CHANGED
|
@@ -8,10 +8,6 @@ For the hosted version (no install, OAuth login), see the [root README](../../RE
|
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
11
|
-
### Claude Desktop extension (easiest)
|
|
12
|
-
|
|
13
|
-
Download `trainheroic-coach-mcp.mcpb` from the [Releases page](https://github.com/alandotcom/trainheroic-skill/releases), drag it onto Claude Desktop, and enter your TrainHeroic email and password. Credentials are stored in the OS keychain. No Node toolchain needed.
|
|
14
|
-
|
|
15
11
|
### Claude Code
|
|
16
12
|
|
|
17
13
|
```bash
|
|
@@ -31,10 +27,10 @@ claude mcp add trainheroic \
|
|
|
31
27
|
"args": ["-y", "@trainheroic-unofficial/coach-mcp"],
|
|
32
28
|
"env": {
|
|
33
29
|
"TRAINHEROIC_EMAIL": "coach@example.com",
|
|
34
|
-
"TRAINHEROIC_PASSWORD": "yourpassword"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
30
|
+
"TRAINHEROIC_PASSWORD": "yourpassword",
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
38
34
|
}
|
|
39
35
|
```
|
|
40
36
|
|
|
@@ -46,11 +42,6 @@ claude mcp add trainheroic \
|
|
|
46
42
|
pnpm start # run from source (needs TRAINHEROIC_EMAIL and TRAINHEROIC_PASSWORD)
|
|
47
43
|
pnpm inspect # MCP Inspector UI against the source server
|
|
48
44
|
pnpm build # tsdown → dist/server.mjs
|
|
49
|
-
pnpm build:mcpb # bundle + pack the Desktop extension → dist/trainheroic-coach-mcp.mcpb
|
|
50
45
|
pnpm typecheck
|
|
51
46
|
pnpm test
|
|
52
47
|
```
|
|
53
|
-
|
|
54
|
-
### Cut a release (maintainers)
|
|
55
|
-
|
|
56
|
-
Push a `coach-mcp-v*` tag. The `Release Coach MCPB` GitHub Actions workflow builds, signs, and attaches the `.mcpb` to the Release. Set `MCPB_CERT` / `MCPB_KEY` repo secrets to sign with a real certificate; omitting them produces a self-signed build.
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trainheroic-unofficial/coach-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/alandotcom/trainheroic-
|
|
7
|
+
"url": "https://github.com/alandotcom/trainheroic-unofficial.git",
|
|
8
8
|
"directory": "packages/coach-mcp"
|
|
9
9
|
},
|
|
10
10
|
"description": "Local single-user MCP server for a TrainHeroic coach. No database, no Cloudflare deps.",
|
|
@@ -21,11 +21,10 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
23
23
|
"zod": "^4.4.3",
|
|
24
|
-
"@trainheroic-unofficial/
|
|
25
|
-
"@trainheroic-unofficial/
|
|
24
|
+
"@trainheroic-unofficial/js": "0.2.0",
|
|
25
|
+
"@trainheroic-unofficial/core": "0.2.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@anthropic-ai/mcpb": "^2.1.2",
|
|
29
28
|
"@types/node": "^26.0.0",
|
|
30
29
|
"tsdown": "^0.22.3",
|
|
31
30
|
"tsx": "^4.22.4",
|
|
@@ -36,9 +35,6 @@
|
|
|
36
35
|
"start": "tsx src/server.ts",
|
|
37
36
|
"inspect": "npx @modelcontextprotocol/inspector -e TRAINHEROIC_EMAIL=\"$TRAINHEROIC_EMAIL\" -e TRAINHEROIC_PASSWORD=\"$TRAINHEROIC_PASSWORD\" tsx src/server.ts",
|
|
38
37
|
"build": "tsdown",
|
|
39
|
-
"build:mcpb": "tsdown --config tsdown.mcpb.config.ts && mcpb pack ./mcpb ./dist/trainheroic-coach-mcp.mcpb",
|
|
40
|
-
"mcpb:validate": "mcpb validate ./mcpb/manifest.json",
|
|
41
|
-
"mcpb:sign": "mcpb sign --self-signed ./dist/trainheroic-coach-mcp.mcpb",
|
|
42
38
|
"typecheck": "tsc --noEmit",
|
|
43
39
|
"test": "vitest run --passWithNoTests"
|
|
44
40
|
}
|