← Back to Plugins
MCP Server MCP

Open Food Facts

github By github 👁 1 views ▲ 0 votes

Search and contribute to the Open Food Facts database.

Homepage Verified source GitHub

Install

npx -y openfoodfacts-mcp@2.6.0

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "openfoodfacts-mcp",
      "version": "2.6.0",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "User-Agent string in format 'AppName/Version (email)'. Required by the Open Food Facts API.",
          "isRequired": true,
          "name": "OFF_USER_AGENT"
        },
        {
          "description": "Open Food Facts user ID (optional, needed for write operations).",
          "name": "OFF_USER_ID"
        },
        {
          "description": "Open Food Facts password (optional, needed for write operations).",
          "isSecret": true,
          "name": "OFF_PASSWORD"
        },
        {
          "description": "Country subdomain (default: 'world').",
          "name": "OFF_COUNTRY"
        }
      ]
    },
    {
      "registryType": "npm",
      "identifier": "openfoodfacts-mcp",
      "version": "2.6.0",
      "runtimeHint": "npx",
      "transport": {
        "type": "streamable-http",
        "url": "http://localhost:3000/mcp"
      },
      "environmentVariables": [
        {
          "description": "Transport type.",
          "isRequired": true,
          "value": "http",
          "name": "MCP_TRANSPORT"
        },
        {
          "description": "User-Agent string in format 'AppName/Version (email)'. Required by the Open Food Facts API.",
          "isRequired": true,
          "name": "OFF_USER_AGENT"
        },
        {
          "description": "Open Food Facts user ID (optional, needed for write operations).",
          "name": "OFF_USER_ID"
        },
        {
          "description": "Open Food Facts password (optional, needed for write operations).",
          "isSecret": true,
          "name": "OFF_PASSWORD"
        },
        {
          "description": "Country subdomain (default: 'world').",
          "name": "OFF_COUNTRY"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...