fitdays-mcp-server 1.1.0 → 1.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 +54 -0
- package/package.json +1 -1
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