fitdays-mcp-server 1.1.0 → 1.2.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.
Files changed (2) hide show
  1. package/README.md +54 -0
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -59,6 +59,60 @@ Add it to your MCP client config (`claude_desktop_config.json` or
59
59
  }
60
60
  ```
61
61
 
62
+ ## Run with Docker
63
+
64
+ A multi-arch image (`linux/amd64`, `linux/arm64`) is published to GitHub
65
+ Container Registry on every release, tagged with the release version
66
+ (`1.2.0`, `1.2`, `1`) and `latest`:
67
+
68
+ ```sh
69
+ docker run -d --name fitdays-mcp \
70
+ -e FITDAYS_EMAIL=you@example.com \
71
+ -e FITDAYS_PASSWORD=your-password \
72
+ -p 8000:8000 \
73
+ ghcr.io/roquerodrigo/fitdays-mcp-server:latest
74
+ ```
75
+
76
+ The container serves the server over
77
+ [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http)
78
+ at `http://localhost:8000/mcp`, with a health endpoint at `/healthz`, so
79
+ remote MCP clients can connect to it directly:
80
+
81
+ ```json
82
+ {
83
+ "mcpServers": {
84
+ "fitdays": {
85
+ "type": "http",
86
+ "url": "http://localhost:8000/mcp"
87
+ }
88
+ }
89
+ }
90
+ ```
91
+
92
+ Credentials are read only from the environment; nothing is baked into the
93
+ image. To use the stdio transport instead, run the server binary as the
94
+ container command:
95
+
96
+ ```json
97
+ {
98
+ "mcpServers": {
99
+ "fitdays": {
100
+ "command": "docker",
101
+ "args": [
102
+ "run", "-i", "--rm",
103
+ "-e", "FITDAYS_EMAIL", "-e", "FITDAYS_PASSWORD",
104
+ "ghcr.io/roquerodrigo/fitdays-mcp-server:latest",
105
+ "fitdays-mcp-server"
106
+ ],
107
+ "env": {
108
+ "FITDAYS_EMAIL": "you@example.com",
109
+ "FITDAYS_PASSWORD": "your-password"
110
+ }
111
+ }
112
+ }
113
+ }
114
+ ```
115
+
62
116
  ## Run from source
63
117
 
64
118
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fitdays-mcp-server",
3
- "version": "1.1.0",
3
+ "version": "1.2.2",
4
4
  "description": "MCP server exposing the unofficial FitDays / iComon smart-scale API as tools (weight history, devices, users) for LLM clients.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -47,19 +47,19 @@
47
47
  "prepublishOnly": "npm run lint"
48
48
  },
49
49
  "dependencies": {
50
- "@modelcontextprotocol/sdk": "1.30.0",
50
+ "@modelcontextprotocol/sdk": "1.32.2",
51
51
  "fitdays-api": "1.0.4",
52
- "zod": "4.4.3"
52
+ "zod": "4.6.7"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@eslint/js": "10.0.1",
56
- "@stylistic/eslint-plugin": "5.10.0",
57
- "@types/node": "26.2.0",
58
- "eslint": "10.8.1",
59
- "eslint-plugin-perfectionist": "5.10.1",
60
- "globals": "17.11.0",
56
+ "@stylistic/eslint-plugin": "6.0.1",
57
+ "@types/node": "26.6.6",
58
+ "eslint": "10.15.0",
59
+ "eslint-plugin-perfectionist": "5.14.0",
60
+ "globals": "17.14.0",
61
61
  "typescript": "6.0.3",
62
- "typescript-eslint": "8.67.0"
62
+ "typescript-eslint": "8.73.0"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=22.0.0"