{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.domdomegg/openfoodfacts-mcp",
  "slug": "io.github.domdomegg.openfoodfacts-mcp",
  "title": "Open Food Facts",
  "summary": "Search and contribute to the Open Food Facts database.",
  "version": "2.6.0",
  "serverKey": "openfoodfacts-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.domdomegg.openfoodfacts-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.domdomegg.openfoodfacts-mcp/install.md",
  "trust": {
    "score": 93,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T14:11:00.577348846Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "openfoodfacts-mcp@2.6.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add openfoodfacts-mcp -e 'OFF_USER_AGENT=<OFF_USER_AGENT>' -- npx -y openfoodfacts-mcp@2.6.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"openfoodfacts-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"openfoodfacts-mcp@2.6.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"OFF_USER_AGENT\": \"<OFF_USER_AGENT>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"openfoodfacts-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"openfoodfacts-mcp@2.6.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"OFF_USER_AGENT\": \"<OFF_USER_AGENT>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"OFF_USER_AGENT\",\n      \"id\": \"off-user-agent\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"openfoodfacts-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"openfoodfacts-mcp@2.6.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"OFF_USER_AGENT\": \"${input:off-user-agent}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.openfoodfacts-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"openfoodfacts-mcp@2.6.0\"]\nenv = { \"OFF_USER_AGENT\" = \"<OFF_USER_AGENT>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "OFF_USER_AGENT",
      "required": true,
      "secret": false,
      "description": "User-Agent string in format 'AppName/Version (email)'. Required by the Open Food Facts API.",
      "help": "User-Agent string in format 'AppName/Version (email)'. Required by the Open Food Facts API.",
      "placeholder": "<OFF_USER_AGENT>"
    },
    {
      "name": "OFF_USER_ID",
      "required": false,
      "secret": false,
      "description": "Open Food Facts user ID (optional, needed for write operations).",
      "help": "Open Food Facts user ID (optional, needed for write operations).",
      "placeholder": "<OFF_USER_ID>"
    },
    {
      "name": "OFF_PASSWORD",
      "required": false,
      "secret": true,
      "description": "Open Food Facts password (optional, needed for write operations).",
      "help": "Open Food Facts password (optional, needed for write operations).",
      "placeholder": "<OFF_PASSWORD>"
    },
    {
      "name": "OFF_COUNTRY",
      "required": false,
      "secret": false,
      "description": "Country subdomain (default: 'world').",
      "help": "Country subdomain (default: 'world').",
      "placeholder": "<OFF_COUNTRY>"
    }
  ],
  "expectedTools": [
    "get_product",
    "search_products_standard",
    "search_products_lucene",
    "autocomplete",
    "add_or_edit_product",
    "upload_image",
    "select_image",
    "call_api",
    "get_api_docs",
    "get_skill"
  ],
  "agentSteps": [
    "Ask the user for: OFF_USER_AGENT. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: get_product, search_products_standard, search_products_lucene, autocomplete, add_or_edit_product, upload_image, select_image, call_api, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T14:11:00.577348846Z"
}
