aimharder-mcp 0.1.1 → 0.1.2

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
@@ -15,7 +15,7 @@ Ask about your AimHarder classes, workouts, bookings and activity from an AI cli
15
15
  "mcpServers": {
16
16
  "aimharder": {
17
17
  "command": "npx",
18
- "args": ["--yes", "aimharder-mcp@0.1.1"]
18
+ "args": ["--yes", "aimharder-mcp@0.1.2"]
19
19
  }
20
20
  }
21
21
  }
package/dist/index.js CHANGED
File without changes
@@ -8,7 +8,7 @@ First set up [Node 24+ and your account environment](../configuration.md).
8
8
 
9
9
  1. Open **Settings → Plugins → MCPs → Add server**. Set **Name** to `aimharder` and **Type** to **STDIO**.
10
10
  2. Set **Command to launch** to `npx`.
11
- 3. Add two separate **Arguments**: `--yes` and `aimharder-mcp@0.1.1`, in that order.
11
+ 3. Add two separate **Arguments**: `--yes` and `aimharder-mcp@0.1.2`, in that order.
12
12
  4. Under **Environment variable passthrough**, add the names `AIMHARDER_USERNAME` and `AIMHARDER_PASSWORD`. The app must already receive their values. Also pass `AIMHARDER_GYM_TIME_ZONES` or `AIMHARDER_DEFAULT_GYM` if configured. Keep credential values out of the form's **Environment variables** fields.
13
13
  5. Leave **Working directory** empty unless your desktop build requires one. Save the server.
14
14
 
@@ -13,7 +13,7 @@ Claude Desktop configures local stdio servers in `mcpServers` JSON. Its [officia
13
13
  "mcpServers": {
14
14
  "aimharder": {
15
15
  "command": "npx",
16
- "args": ["--yes", "aimharder-mcp@0.1.1"]
16
+ "args": ["--yes", "aimharder-mcp@0.1.2"]
17
17
  }
18
18
  }
19
19
  }
@@ -11,11 +11,11 @@ If Codex receives the required environment variables from your local environment
11
11
  ```toml
12
12
  [mcp_servers.aimharder]
13
13
  command = "npx"
14
- args = ["--yes", "aimharder-mcp@0.1.1"]
14
+ args = ["--yes", "aimharder-mcp@0.1.2"]
15
15
  env_vars = ["AIMHARDER_USERNAME", "AIMHARDER_PASSWORD"]
16
16
  ```
17
17
 
18
- You can instead run `codex mcp add aimharder -- npx --yes aimharder-mcp@0.1.1`, then add the `env_vars` line to the created table. Also forward `AIMHARDER_GYM_TIME_ZONES` or `AIMHARDER_DEFAULT_GYM` if configured. Restart Codex after editing the configuration.
18
+ You can instead run `codex mcp add aimharder -- npx --yes aimharder-mcp@0.1.2`, then add the `env_vars` line to the created table. Also forward `AIMHARDER_GYM_TIME_ZONES` or `AIMHARDER_DEFAULT_GYM` if configured. Restart Codex after editing the configuration.
19
19
 
20
20
  ## Private-file option
21
21
 
@@ -29,7 +29,7 @@ args = [
29
29
  "/absolute/path/to/npm/bin/npx-cli.js",
30
30
  "--yes",
31
31
  "--prefix=/absolute/path/to/empty-npx-directory",
32
- "aimharder-mcp@0.1.1",
32
+ "aimharder-mcp@0.1.2",
33
33
  ]
34
34
  ```
35
35
 
@@ -14,7 +14,7 @@ mcp_servers:
14
14
  command: npx
15
15
  args:
16
16
  - --yes
17
- - aimharder-mcp@0.1.1
17
+ - aimharder-mcp@0.1.2
18
18
  env:
19
19
  AIMHARDER_USERNAME: "${AIMHARDER_USERNAME}"
20
20
  AIMHARDER_PASSWORD: "${AIMHARDER_PASSWORD}"
@@ -33,7 +33,7 @@ args:
33
33
  - /absolute/path/to/npm/bin/npx-cli.js
34
34
  - --yes
35
35
  - --prefix=/absolute/path/to/empty-npx-directory
36
- - aimharder-mcp@0.1.1
36
+ - aimharder-mcp@0.1.2
37
37
  ```
38
38
 
39
39
  Create the empty directory first. The prefix prevents `npx` from mistaking a checkout of this same package for the published executable. The private file and paths stay outside the repository. This form was used for the published-package Hermes check.
@@ -11,7 +11,7 @@ Set `mcp.servers.aimharder` to this definition:
11
11
  ```json
12
12
  {
13
13
  "command": "npx",
14
- "args": ["--yes", "aimharder-mcp@0.1.1"],
14
+ "args": ["--yes", "aimharder-mcp@0.1.2"],
15
15
  "env": {
16
16
  "AIMHARDER_USERNAME": "${AIMHARDER_USERNAME}",
17
17
  "AIMHARDER_PASSWORD": "${AIMHARDER_PASSWORD}"
@@ -22,7 +22,7 @@ Set `mcp.servers.aimharder` to this definition:
22
22
  Save the definition with the CLI:
23
23
 
24
24
  ```sh
25
- openclaw mcp set aimharder '{"command":"npx","args":["--yes","aimharder-mcp@0.1.1"],"env":{"AIMHARDER_USERNAME":"${AIMHARDER_USERNAME}","AIMHARDER_PASSWORD":"${AIMHARDER_PASSWORD}"}}'
25
+ openclaw mcp set aimharder '{"command":"npx","args":["--yes","aimharder-mcp@0.1.2"],"env":{"AIMHARDER_USERNAME":"${AIMHARDER_USERNAME}","AIMHARDER_PASSWORD":"${AIMHARDER_PASSWORD}"}}'
26
26
  ```
27
27
 
28
28
  Keep the outer single quotes: they prevent the shell from inserting secret values into saved config. You can also edit `mcp.servers.aimharder` directly. If `Europe/Madrid` is wrong, confirm the gym zone, define `AIMHARDER_GYM_TIME_ZONES`, and add `"AIMHARDER_GYM_TIME_ZONES": "${AIMHARDER_GYM_TIME_ZONES}"` under `env`. Add a default gym only if configured.
package/package.json CHANGED
@@ -1,29 +1,19 @@
1
1
  {
2
2
  "name": "aimharder-mcp",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Local read-only AimHarder MCP server",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "engines": {
8
8
  "node": ">=24"
9
9
  },
10
- "packageManager": "pnpm@12.5.1",
11
- "scripts": {
12
- "build": "tsc -p tsconfig.build.json",
13
- "typecheck": "tsc --noEmit",
14
- "start": "node dist/index.js",
15
- "test": "vitest run",
16
- "test:live": "node scripts/live-check.mjs",
17
- "prepack": "pnpm build",
18
- "test:package": "node scripts/package-check.mjs",
19
- "test:package:live": "node scripts/package-check.mjs --live"
20
- },
21
10
  "dependencies": {
22
11
  "@modelcontextprotocol/sdk": "1.30.0",
23
12
  "tough-cookie": "6.0.2",
24
13
  "zod": "4.6.5"
25
14
  },
26
15
  "devDependencies": {
16
+ "@changesets/cli": "3.0.3",
27
17
  "@types/node": "^24.13.6",
28
18
  "msw": "2.15.0",
29
19
  "typescript": "7.0.2",
@@ -44,5 +34,15 @@
44
34
  "repository": {
45
35
  "type": "git",
46
36
  "url": "git+https://github.com/rudeayelo/aimharder-mcp.git"
37
+ },
38
+ "scripts": {
39
+ "build": "tsc -p tsconfig.build.json",
40
+ "typecheck": "tsc --noEmit",
41
+ "start": "node dist/index.js",
42
+ "test": "vitest run",
43
+ "release:version": "node scripts/version-release.mjs",
44
+ "test:live": "node scripts/live-check.mjs",
45
+ "test:package": "node scripts/package-check.mjs",
46
+ "test:package:live": "node scripts/package-check.mjs --live"
47
47
  }
48
- }
48
+ }