mcp-recipes 1.3.1 → 2.0.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/CHANGELOG.md +14 -0
- package/README.md +38 -2
- package/dist/index.js +1298 -552
- package/dist/index.js.map +1 -1
- package/dist/recipe/scale.js +861 -326
- package/dist/recipe/scale.js.map +1 -1
- package/dist/sources/client.d.ts +13 -133
- package/dist/sources/client.js +217 -153
- package/dist/sources/client.js.map +1 -1
- package/package.json +18 -9
- package/server.json +78 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
- **This server now needs node 24 or later.** Node 20 reached its end of
|
|
6
|
+
support on 2026-04-30 and node 22 is no longer what this code is built and
|
|
7
|
+
typed against. That is what makes this a major version: an install on an
|
|
8
|
+
older node is refused rather than left to fail somewhere later.
|
|
9
|
+
- **Every refusal of an argument opens with `invalid_input`.** A value outside
|
|
10
|
+
its bounds, of the wrong type, or outside the set an argument reads used to
|
|
11
|
+
come back in the validator's own words, with no code to branch on.
|
|
12
|
+
- **A container image is published for each version**, on ghcr, for amd64 and
|
|
13
|
+
arm64. The readme carries the configuration that runs it.
|
|
14
|
+
- The published package carries its changelog, and the entry point it declares
|
|
15
|
+
for the package root now publishes its types.
|
|
16
|
+
|
|
3
17
|
All notable changes to this project are documented here. The format follows
|
|
4
18
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the versions follow
|
|
5
19
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
[](./LICENSE)
|
|
6
6
|
[](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.smeet666/mcp-recipes)
|
|
7
7
|
[](https://glama.ai/mcp/servers/smeet666/mcp-recipes)
|
|
8
|
+
[](https://m8ven.ai/mcp/smeet666-mcp-recipes-1o0x5l)
|
|
8
9
|
[](https://cursor.com/en/install-mcp?name=recipes&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm1jcC1yZWNpcGVzIl19)
|
|
9
10
|
[](https://insiders.vscode.dev/redirect/mcp/install?name=recipes&config=%7B%22name%22%3A%22recipes%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22mcp-recipes%22%5D%7D)
|
|
10
11
|
|
|
@@ -123,7 +124,7 @@ line says what it was rounded from and in which direction.
|
|
|
123
124
|
|
|
124
125
|
## Install
|
|
125
126
|
|
|
126
|
-
Node
|
|
127
|
+
Node 24 or later.
|
|
127
128
|
|
|
128
129
|
```bash
|
|
129
130
|
npx -y mcp-recipes
|
|
@@ -142,6 +143,23 @@ npx -y mcp-recipes
|
|
|
142
143
|
}
|
|
143
144
|
```
|
|
144
145
|
|
|
146
|
+
### With Docker
|
|
147
|
+
|
|
148
|
+
```json
|
|
149
|
+
{
|
|
150
|
+
"mcpServers": {
|
|
151
|
+
"recipes": {
|
|
152
|
+
"command": "docker",
|
|
153
|
+
"args": ["run", "-i", "--rm", "ghcr.io/smeet666/mcp-recipes:2.0.0"]
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
`-i` keeps stdin open, which is where the protocol travels, and no `-t` is
|
|
160
|
+
passed: a TTY rewrites the stream and breaks it. The container needs outbound
|
|
161
|
+
HTTPS to `www.marmiton.org`, `en.wikibooks.org` and `api.wikimedia.org`, and nothing else: no volume, no port, no environment variable, no credential.
|
|
162
|
+
|
|
145
163
|
### From a clone
|
|
146
164
|
|
|
147
165
|
```bash
|
|
@@ -574,7 +592,7 @@ arrondie dit depuis quelle valeur et dans quel sens.
|
|
|
574
592
|
|
|
575
593
|
## Installation
|
|
576
594
|
|
|
577
|
-
Node
|
|
595
|
+
Node 24 ou plus récent.
|
|
578
596
|
|
|
579
597
|
```bash
|
|
580
598
|
npx -y mcp-recipes
|
|
@@ -593,6 +611,24 @@ npx -y mcp-recipes
|
|
|
593
611
|
}
|
|
594
612
|
```
|
|
595
613
|
|
|
614
|
+
### Avec Docker
|
|
615
|
+
|
|
616
|
+
```json
|
|
617
|
+
{
|
|
618
|
+
"mcpServers": {
|
|
619
|
+
"recipes": {
|
|
620
|
+
"command": "docker",
|
|
621
|
+
"args": ["run", "-i", "--rm", "ghcr.io/smeet666/mcp-recipes:2.0.0"]
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
```
|
|
626
|
+
|
|
627
|
+
`-i` garde l'entrée standard ouverte, qui est le canal du protocole, et aucun
|
|
628
|
+
`-t` n'est passé : un terminal réécrit le flux et le casse. Le conteneur a besoin
|
|
629
|
+
d'un accès HTTPS sortant vers `www.marmiton.org`, `en.wikibooks.org` et `api.wikimedia.org`, et de rien d'autre :
|
|
630
|
+
aucun volume, aucun port, aucune variable d'environnement, aucun identifiant.
|
|
631
|
+
|
|
596
632
|
---
|
|
597
633
|
|
|
598
634
|
## Les quatre outils
|