cookbook-co-mcp 0.2.0 → 0.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.
package/README.md CHANGED
@@ -89,7 +89,7 @@ Its banner defines `require`, because firebase's gRPC dependency is CommonJS and
89
89
 
90
90
  ## Client configuration
91
91
 
92
- Register it with your MCP client over stdio (swap in `node /path/to/cookbook-mcp.js` for a release asset):
92
+ Register it with your MCP client over stdio:
93
93
 
94
94
  ```json
95
95
  {
@@ -237,8 +237,8 @@ from the first read after a long gap, and is there for the next one.
237
237
  The server's instructions ask the agent to build them from the recipe id, so tool output stays lean.
238
238
  The Android app's own `comappcookbook://recipe/<id>` link works in a browser,
239
239
  but some chat clients do not launch custom schemes, so it is not used.
240
- - Shopping: "Shopping List" is the default list, and staples such as water, salt and pepper
241
- are skipped when adding a recipe, and reported.
240
+ - Shopping: the default list is "Shopping List", or the one named by `COOKBOOK_DEFAULT_SHOPPING_LIST`.
241
+ Staples such as water, salt and pepper are skipped when adding a recipe, and reported.
242
242
 
243
243
  ## Development
244
244
 
@@ -272,7 +272,8 @@ and the photo and nutrition table.
272
272
  `src/pdf/fonts/` is embedded into the bundle,
273
273
  so PDF export needs `pnpm bundle` and does not work from `tsc` output.
274
274
 
275
- When dependencies change, run `scripts/update-pnpm-hash.sh` to refresh the Nix package's pnpm hash.
275
+ `nix develop` installs a pre-commit hook that refreshes the Nix package's pnpm hash when the lockfile changes;
276
+ without it, run `scripts/update-pnpm-hash.sh`.
276
277
  See [CONTRIBUTING.md](CONTRIBUTING.md).
277
278
 
278
279
  ## Disclaimer
@@ -132838,7 +132838,7 @@ function createServerFactory(log) {
132838
132838
  };
132839
132839
  const create2 = () => {
132840
132840
  const server = new McpServer(
132841
- { name: "cookbook", version: "0.1.0" },
132841
+ { name: "cookbook", version: "0.2.2" },
132842
132842
  { instructions: serverInstructions(config2) }
132843
132843
  );
132844
132844
  registerTools(server, context);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cookbook-co-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Unofficial MCP server for CookBook Co.: recipes, tags, meal planner and shopping lists",
5
5
  "keywords": [
6
6
  "mcp",
@@ -28,27 +28,25 @@
28
28
  "engines": {
29
29
  "node": ">=22"
30
30
  },
31
- "dependencies": {
31
+ "devDependencies": {
32
32
  "@modelcontextprotocol/node": "^2.1.2",
33
33
  "@modelcontextprotocol/server": "^2.4.0",
34
+ "@types/ms": "^2.1.0",
35
+ "@types/node": "^22.0.0",
36
+ "@types/pdfmake": "^0.2.13",
37
+ "esbuild": "^0.28.2",
34
38
  "firebase": "^13.2.0",
35
39
  "got": "^16.2.0",
36
40
  "ms": "^2.1.3",
37
41
  "pdfmake": "0.2.20",
38
42
  "remeda": "^2.57.0",
39
43
  "title-case": "^4.3.2",
44
+ "typescript": "^5.7.0",
40
45
  "zod": "^4.6.7"
41
46
  },
42
- "devDependencies": {
43
- "@types/ms": "^2.1.0",
44
- "@types/node": "^22.0.0",
45
- "@types/pdfmake": "^0.2.13",
46
- "esbuild": "^0.28.2",
47
- "typescript": "^5.7.0"
48
- },
49
47
  "scripts": {
50
48
  "typecheck": "tsc --noEmit",
51
- "bundle": "esbuild src/index.ts --bundle --platform=node --format=esm --banner:js=\"import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);\" --loader:.ttf=base64 --outfile=dist/cookbook-mcp.js",
49
+ "bundle": "node scripts/bundle.ts",
52
50
  "test": "pnpm bundle && node --test \"test/**/*.test.ts\""
53
51
  }
54
52
  }