mcp-recipes 1.3.0 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-recipes",
3
- "version": "1.3.0",
3
+ "version": "2.0.0",
4
4
  "description": "MCP server that asks Marmiton and the Wikibooks Cookbook at once, merges the answers, and scales quantities in French and English. No API key required.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -27,13 +27,19 @@
27
27
  "url": "git+https://github.com/smeet666/mcp-recipes.git"
28
28
  },
29
29
  "license": "MIT",
30
- "author": "Damien Bouissou",
30
+ "author": {
31
+ "name": "Damien Bouissou",
32
+ "url": "https://github.com/smeet666"
33
+ },
31
34
  "type": "module",
32
35
  "bin": {
33
36
  "mcp-recipes": "dist/index.js"
34
37
  },
35
38
  "exports": {
36
- ".": "./dist/index.js",
39
+ ".": {
40
+ "types": "./dist/index.d.ts",
41
+ "import": "./dist/index.js"
42
+ },
37
43
  "./client": {
38
44
  "types": "./dist/sources/client.d.ts",
39
45
  "import": "./dist/sources/client.js"
@@ -47,10 +53,11 @@
47
53
  "dist",
48
54
  "README.md",
49
55
  "LICENSE",
50
- "CHANGELOG.md"
56
+ "CHANGELOG.md",
57
+ "server.json"
51
58
  ],
52
59
  "engines": {
53
- "node": ">=20.0.0"
60
+ "node": ">=24.0.0"
54
61
  },
55
62
  "mcpName": "io.github.smeet666/mcp-recipes",
56
63
  "scripts": {
@@ -58,7 +65,8 @@
58
65
  "typecheck": "tsc --noEmit",
59
66
  "test": "vitest run test/unit",
60
67
  "test:live": "vitest run test/live --testTimeout=120000",
61
- "format": "prettier --write .",
68
+ "format": "biome check --write && prettier --write \"**/*.{md,yml}\"",
69
+ "check": "biome ci && prettier --check \"**/*.{md,yml}\"",
62
70
  "prepublishOnly": "npm run typecheck && npm run test && npm run build",
63
71
  "start": "node dist/index.js",
64
72
  "inspector": "npx @modelcontextprotocol/inspector node dist/index.js"
@@ -70,10 +78,11 @@
70
78
  "zod": "^4.4.3"
71
79
  },
72
80
  "devDependencies": {
73
- "@types/node": "^22.18.0",
74
- "prettier": "^3.9.6",
81
+ "@biomejs/biome": "2.5.10",
82
+ "@types/node": "^24.13.3",
83
+ "prettier": "3.9.6",
75
84
  "tsup": "^8.5.1",
76
85
  "typescript": "^5.9.3",
77
- "vitest": "^4.1.10"
86
+ "vitest": "^4.1.11"
78
87
  }
79
88
  }
package/server.json ADDED
@@ -0,0 +1,78 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.smeet666/mcp-recipes",
4
+ "description": "Search Marmiton and the Wikibooks Cookbook at once, and scale quantities. No API key.",
5
+ "websiteUrl": "https://github.com/smeet666/mcp-recipes#readme",
6
+ "icons": [
7
+ {
8
+ "src": "https://raw.githubusercontent.com/smeet666/mcp-recipes/main/assets/icon-128.png",
9
+ "mimeType": "image/png",
10
+ "sizes": ["128x128"]
11
+ },
12
+ {
13
+ "src": "https://raw.githubusercontent.com/smeet666/mcp-recipes/main/assets/icon-512.png",
14
+ "mimeType": "image/png",
15
+ "sizes": ["512x512"]
16
+ }
17
+ ],
18
+ "repository": {
19
+ "url": "https://github.com/smeet666/mcp-recipes",
20
+ "source": "github"
21
+ },
22
+ "version": "2.0.0",
23
+ "packages": [
24
+ {
25
+ "registryType": "npm",
26
+ "identifier": "mcp-recipes",
27
+ "version": "2.0.0",
28
+ "transport": {
29
+ "type": "stdio"
30
+ },
31
+ "environmentVariables": [
32
+ {
33
+ "name": "RECIPES_USER_AGENT",
34
+ "description": "Identify your own client. The project's own identifier is appended, so a site can always reach a human.",
35
+ "isRequired": false
36
+ },
37
+ {
38
+ "name": "RECIPES_MIN_INTERVAL_MS",
39
+ "description": "Minimum milliseconds between two requests to the same site. Default 1000, floor 500.",
40
+ "isRequired": false
41
+ },
42
+ {
43
+ "name": "RECIPES_TIMEOUT_MS",
44
+ "description": "Deadline for one request to a site, in milliseconds. Default 20000.",
45
+ "isRequired": false
46
+ },
47
+ {
48
+ "name": "RECIPES_MAX_RETRIES",
49
+ "description": "Retries on rate limiting and transient failures. Default 3.",
50
+ "isRequired": false
51
+ },
52
+ {
53
+ "name": "RECIPES_CACHE_TTL_MS",
54
+ "description": "In-memory cache lifetime, in milliseconds. Default 900000. Set 0 to turn it off.",
55
+ "isRequired": false
56
+ },
57
+ {
58
+ "name": "RECIPES_CACHE_MAX_ENTRIES",
59
+ "description": "In-memory cache size. Default 200.",
60
+ "isRequired": false
61
+ },
62
+ {
63
+ "name": "RECIPES_LOG_LEVEL",
64
+ "description": "silent, error, info or debug. Default error. Logs go to stderr.",
65
+ "isRequired": false
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "registryType": "mcpb",
71
+ "identifier": "https://github.com/smeet666/mcp-recipes/releases/download/v2.0.0/mcp-recipes-2.0.0.mcpb",
72
+ "version": "2.0.0",
73
+ "transport": {
74
+ "type": "stdio"
75
+ }
76
+ }
77
+ ]
78
+ }