mcp-ptitchef

v1.1.0
io.github.smeet666/mcp-ptitchef Checked 4 days ago Published 1 month ago

Search Ptitchef recipes, read one, and rescale it to any servings.

Values you need

VariableWhat it is
PTC_USER_AGENToptional Identify your own client. This project's identifier stays appended, so the site can always reach a human.
PTC_MIN_INTERVAL_MSoptional Minimum milliseconds between requests. Default 1500, floor 1000, ceiling 60000.
PTC_TIMEOUT_MSoptional Deadline for one request, in milliseconds. Default 20000.
PTC_MAX_RETRIESoptional Retries when the site is busy or asks for room. Default 3.
PTC_CACHE_TTL_MSoptional In-memory cache lifetime, in milliseconds. Default 900000. Set 0 to turn it off.
PTC_CACHE_MAX_ENTRIESoptional In-memory cache size. Default 200.
PTC_MAX_BODY_BYTESoptional The most one page may run to before the read is abandoned. Default 8000000.
PTC_BUDGET_MSoptional The whole of the time one read may take, retries included. Default 60000.
PTC_LOG_LEVELoptional silent, error, info or debug. Default error. Logs go to stderr.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-ptitchef -- npx -y mcp-ptitchef@1.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-ptitchef": {
      "args": [
        "-y",
        "mcp-ptitchef@1.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-ptitchef": {
      "args": [
        "-y",
        "mcp-ptitchef@1.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-ptitchef": {
      "args": [
        "-y",
        "mcp-ptitchef@1.1.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-ptitchef]
command = "npx"
args = ["-y", "mcp-ptitchef@1.1.0"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_categories, search_recipes, browse_recipes, search_by_ingredients, get_recipe, scale_ingredients, get_recipe_translations.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json