Skip to content
VS Code

mcp ptitchef for VS Code

io.github.smeet666/mcp-ptitchef

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

client:VS Code transport:stdio runtime:npm

Install mcp ptitchef in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ptc-user-agent",
      "description": "PTC_USER_AGENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ptc-min-interval-ms",
      "description": "PTC_MIN_INTERVAL_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ptc-timeout-ms",
      "description": "PTC_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ptc-max-retries",
      "description": "PTC_MAX_RETRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ptc-cache-ttl-ms",
      "description": "PTC_CACHE_TTL_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ptc-cache-max-entries",
      "description": "PTC_CACHE_MAX_ENTRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ptc-max-body-bytes",
      "description": "PTC_MAX_BODY_BYTES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ptc-budget-ms",
      "description": "PTC_BUDGET_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ptc-log-level",
      "description": "PTC_LOG_LEVEL",
      "password": true
    }
  ],
  "servers": {
    "mcp-ptitchef": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-ptitchef"
      ],
      "env": {
        "PTC_USER_AGENT": "${input:ptc-user-agent}",
        "PTC_MIN_INTERVAL_MS": "${input:ptc-min-interval-ms}",
        "PTC_TIMEOUT_MS": "${input:ptc-timeout-ms}",
        "PTC_MAX_RETRIES": "${input:ptc-max-retries}",
        "PTC_CACHE_TTL_MS": "${input:ptc-cache-ttl-ms}",
        "PTC_CACHE_MAX_ENTRIES": "${input:ptc-cache-max-entries}",
        "PTC_MAX_BODY_BYTES": "${input:ptc-max-body-bytes}",
        "PTC_BUDGET_MS": "${input:ptc-budget-ms}",
        "PTC_LOG_LEVEL": "${input:ptc-log-level}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp ptitchef in other clients