@cyanheads/openfoodfacts-mcp-server 0.1.4 → 0.1.6

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/AGENTS.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Developer Protocol
2
2
 
3
3
  **Server:** openfoodfacts-mcp-server
4
- **Version:** 0.1.4
5
- **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.10.6`
4
+ **Version:** 0.1.6
5
+ **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.10.9`
6
6
  **Engines:** Bun ≥1.3.0, Node ≥24.0.0
7
7
  **MCP SDK:** `@modelcontextprotocol/sdk` ^1.29.0
8
8
  **Zod:** ^4.4.3
package/CLAUDE.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Developer Protocol
2
2
 
3
3
  **Server:** openfoodfacts-mcp-server
4
- **Version:** 0.1.4
5
- **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.10.6`
4
+ **Version:** 0.1.6
5
+ **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.10.9`
6
6
  **Engines:** Bun ≥1.3.0, Node ≥24.0.0
7
7
  **MCP SDK:** `@modelcontextprotocol/sdk` ^1.29.0
8
8
  **Zod:** ^4.4.3
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  <div align="center">
9
9
 
10
- [![Version](https://img.shields.io/badge/Version-0.1.4-blue.svg?style=flat-square)](./CHANGELOG.md) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Docker](https://img.shields.io/badge/Docker-ghcr.io-2496ED?style=flat-square&logo=docker&logoColor=white)](https://github.com/users/cyanheads/packages/container/package/openfoodfacts-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^1.29.0-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/openfoodfacts-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/openfoodfacts-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^6.0.3-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.3.0-blueviolet.svg?style=flat-square)](https://bun.sh/)
10
+ [![Version](https://img.shields.io/badge/Version-0.1.6-blue.svg?style=flat-square)](./CHANGELOG.md) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Docker](https://img.shields.io/badge/Docker-ghcr.io-2496ED?style=flat-square&logo=docker&logoColor=white)](https://github.com/users/cyanheads/packages/container/package/openfoodfacts-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^1.29.0-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/openfoodfacts-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/openfoodfacts-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^6.0.3-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.3.0-blueviolet.svg?style=flat-square)](https://bun.sh/)
11
11
 
12
12
  </div>
13
13
 
@@ -0,0 +1,14 @@
1
+ ---
2
+ summary: "Run the release:github script under bun instead of tsx, which is not installed."
3
+ breaking: false
4
+ ---
5
+
6
+ # 0.1.5 — 2026-06-15
7
+
8
+ ## Fixed
9
+
10
+ - **`release:github` npm script** — invokes `bun run scripts/release-github.ts` instead of `tsx scripts/release-github.ts`. `tsx` is not a project dependency, so the script failed to run under Bun.
11
+
12
+ ### Dependencies
13
+
14
+ - `vitest` ^4.1.8 → ^4.1.9
@@ -0,0 +1,22 @@
1
+ ---
2
+ summary: "Adopt @cyanheads/mcp-ts-core ^0.10.9: two new static devcheck guards (dependency specifiers, plugin marketplace manifests), re-synced vendored skills, and dependency refresh."
3
+ breaking: false
4
+ ---
5
+
6
+ # 0.1.6 — 2026-06-20
7
+
8
+ ## Changed
9
+
10
+ - **`@cyanheads/mcp-ts-core` `^0.10.6` → `^0.10.9`** — picks up the `ctx.content` collector for image/audio blocks, `SELECT`-shaped SQL prepare failures classified as `invalid_sql` with DuckDB binder detail, the `DuckdbProvider.describe({ tableName })` ambiguous-column fix, fresh-scaffold devcheck guards (changelog sync + git-dependent checks skip cleanly before `git init`), biome `2.4.16` → `2.5.0`, and corrected `OTEL_SERVICE_NAME` seeding docs. No source or tool-behavior changes in this server.
11
+ - **`scripts/check-dependency-specifiers.ts`** — new framework devcheck step (registered in `ALL_CHECKS` as `Dependency Specifiers`), hard-fails on floating specifiers (`latest`, `*`, pre-release dist-tags) in `package.json`'s dependency sections and `bun.lock`'s `workspaces` map. Static and local — runs in the default and `--fast` passes.
12
+ - **`scripts/lint-packaging.ts`** — adds plugin marketplace manifest checks for `.claude-plugin/plugin.json` and `.codex-plugin/plugin.json` (non-empty descriptions, unscoped machine name in display fields, full `package.json` name in the `npx -y` install arg). Gated by the new `devcheck.config.json` `packaging.pluginManifests` flag (default on).
13
+ - **Vendored skills** re-synced to the installed framework version under `skills/`, `.claude/skills/`, and `.agents/skills/`.
14
+
15
+ ## Fixed
16
+
17
+ - **`USER_AGENT`** — bumped `openfoodfacts-mcp-server/0.1.0` → `0.1.6` to track the release version. The constant had been pinned at `0.1.0` since the initial release; it now reports the current version in the `User-Agent` header sent to Open Food Facts.
18
+
19
+ ### Dependencies
20
+
21
+ - `@cyanheads/mcp-ts-core` ^0.10.6 → ^0.10.9
22
+ - `@types/node` ^25.9.3 → ^26.0.0
@@ -10,7 +10,7 @@ import { getServerConfig } from '../../config/server-config.js';
10
10
  * Identifying User-Agent required by OFF terms — identifies the client and provides a contact email.
11
11
  * Format per OFF docs: <client>/<version> (<contact>)
12
12
  */
13
- const USER_AGENT = 'openfoodfacts-mcp-server/0.1.0 (casey@caseyjhand.com)';
13
+ const USER_AGENT = 'openfoodfacts-mcp-server/0.1.6 (casey@caseyjhand.com)';
14
14
  const REQUEST_TIMEOUT_MS = 15_000;
15
15
  /** Fields to request on every product fetch — scopes the ~200-key object to what we handle. */
16
16
  const PRODUCT_FIELDS = 'product_name,brands,quantity,ingredients_text,ingredients,allergens_tags,additives_tags,' +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyanheads/openfoodfacts-mcp-server",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "mcpName": "io.github.cyanheads/openfoodfacts-mcp-server",
5
5
  "description": "Look up food products by barcode, search by ingredient or nutrition filter, compare products side-by-side, and browse the canonical tag vocabulary via MCP. STDIO or Streamable HTTP.",
6
6
  "type": "module",
@@ -38,7 +38,7 @@
38
38
  "start": "bun ./dist/index.js",
39
39
  "start:stdio": "MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js",
40
40
  "start:http": "MCP_TRANSPORT_TYPE=http bun ./dist/index.js",
41
- "release:github": "tsx scripts/release-github.ts",
41
+ "release:github": "bun run scripts/release-github.ts",
42
42
  "publish-mcp": "mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish"
43
43
  },
44
44
  "keywords": [
@@ -87,17 +87,17 @@
87
87
  "access": "public"
88
88
  },
89
89
  "dependencies": {
90
- "@cyanheads/mcp-ts-core": "^0.10.6",
90
+ "@cyanheads/mcp-ts-core": "^0.10.9",
91
91
  "pino-pretty": "^13.1.3",
92
92
  "zod": "^4.4.3"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@biomejs/biome": "^2.5.0",
96
- "@types/node": "^25.9.3",
96
+ "@types/node": "^26.0.0",
97
97
  "depcheck": "^1.4.7",
98
98
  "ignore": "^7.0.5",
99
99
  "tsc-alias": "^1.8.17",
100
100
  "typescript": "^6.0.3",
101
- "vitest": "^4.1.8"
101
+ "vitest": "^4.1.9"
102
102
  }
103
103
  }
package/server.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/cyanheads/openfoodfacts-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.1.4",
9
+ "version": "0.1.6",
10
10
  "remotes": [
11
11
  {
12
12
  "type": "streamable-http",
@@ -19,7 +19,7 @@
19
19
  "registryBaseUrl": "https://registry.npmjs.org",
20
20
  "identifier": "@cyanheads/openfoodfacts-mcp-server",
21
21
  "runtimeHint": "bun",
22
- "version": "0.1.4",
22
+ "version": "0.1.6",
23
23
  "packageArguments": [
24
24
  {
25
25
  "type": "positional",
@@ -69,7 +69,7 @@
69
69
  "registryBaseUrl": "https://registry.npmjs.org",
70
70
  "identifier": "@cyanheads/openfoodfacts-mcp-server",
71
71
  "runtimeHint": "bun",
72
- "version": "0.1.4",
72
+ "version": "0.1.6",
73
73
  "packageArguments": [
74
74
  {
75
75
  "type": "positional",